Hi Jay,

El mar, 20-04-2004 a las 07:52, Jay Blanchard escribió:
> [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.

I/O is always slow, but it is even slower when it is done through a
network.  It is always faster accessing a file on the hard disk than
accessing it through the network.

If you don't need to index the information and make complex queries, a
text file on the web server hard disk is just fine.


-William

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to