I doubt you will notice the difference, unless you are doing some millisecond stuff.
Ilya > -----Original Message----- > From: Mark Korey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 8:38 PM > To: [EMAIL PROTECTED] > Subject: Which technique is faster? > > > Greetings... > > I have some data in Oracle which is virtually static (it > rarely changes). And I have a CGI process which needs it. > This process happens to only need this data from the DB. So > I'm wondering if it will be faster if I cache this data to a > flat file & read the flat file instead of connecting to > Oracle (via DBI), fetching the data, & dropping the DB > connection. (I'm running perl5.005 with Apache on Solaris 2.5 > & Oracle 8). > > Thoughts? > Experiences? > > Thanks! > > ----------------------------------------------------------- > Mark L. Korey > www.fantasycup.com > [EMAIL PROTECTED] > ----------------------------------------------------------- >