Page 1 of 1

Content-type : plain/text

Posted: Thu Oct 09, 2003 5:17 pm
by Gen-ik
Would everyone agree that it's probably better to use plain/text files to store data (less than 128 characters) rather than MySQL if the files only need to be accessed now and again?

I know the TXT vs MYSQL thing has been done to death and I don't want to start another one rolling... this is just a simple "small ocassional files = plain/text" question :)

db

Posted: Thu Oct 09, 2003 6:04 pm
by phpScott
My general philosphy is that if I have access to a db I will use a db because you never know when seldom accessed or changed becomes alot.

But occasionaly I have broken that rule and used files like and you said for simple, not accessed very much bit of info, like user info or the like.

As for speed which would be faster I have a strange hunch that it would be the db. :D

phpScott

Posted: Thu Oct 09, 2003 7:08 pm
by McGruff
mysql v txt?

mysql === txt :wink:

Posted: Fri Oct 10, 2003 12:43 am
by evilMind
use a db if you can. I mean, when you look at it, either way you go your info is going to be stored in a file ;)

Posted: Fri Oct 10, 2003 3:21 pm
by Cruzado_Mainfrm
u can even save space, if u have many files, in a db they'll take less space if u set the compression to on