I'm not sure but I think it would depend on the programming language and with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file. I could be wrong though Regards Mark Cubitt > -----Original Message----- > From: Travis Low [mailto:[EMAIL PROTECTED] > Sent: 20 April 2004 14:12 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Whats faster? text files or mysql? > > > Isn't the database kept in a file? Why would that file be faster > than a plain > text file? > > cheers, > > Travis > > Jay Blanchard wrote: > > [snip] > > I have two text files with two rows of data on each line sperated by a > > tab for about 20 lines in each file. Would it be faster accessing this > > data by putting it in a mysql table? > > [/snip] > > > > Sounds like the perfect opportunity to set up a test! File I/O is always > > slower. > > > > -- > Travis Low > <mailto:[EMAIL PROTECTED]> > <http://www.dawnstar.com> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php