Page 1 of 1
Which is faster.... wheeeee!
Posted: Sat Sep 14, 2002 5:32 pm
by Gen-ik
I'm currently creating a 'real-time' chatroom and wondered which of these you think is faster..
a) Reading and writting to multiple mySQL databases
b) Reading and writting to multiple .txt files
..think fast

Posted: Sat Sep 14, 2002 6:14 pm
by hob_goblin
mysql
Posted: Sun Sep 15, 2002 2:57 am
by Takuma
MySQL, if you try mysql in command line to read a text or something it takes 0.00 seconds. Where as if you use file system it'll be slower than 0.00 since you have to open file, read file, close file the process for this file system is slower than mysql.
Posted: Wed Sep 18, 2002 8:30 am
by Gen-ik
Ok.. so MySQL is faster.
Thanks. That has helped me out a lot. I didn't want to create 2 version of the code to try out each way. I can now stay in bed longer than ever
