Re: Whats faster? text files or mysql?
| From: | Travis Low | Date: | Tue, 20 Apr 2004 13:12:00 +0000 |
| Subject: | Re: Whats faster? text files or mysql? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183973@lists.php.net to get a copy of this message | ||
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:travis@dawnstar.com> <http://www.dawnstar.com>