Re: File system or MySQL ?
| From: | Chris Lee | Date: | Thu, 15 Mar 2001 15:19:45 +0000 |
| Subject: | Re: File system or MySQL ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44069@lists.php.net to get a copy of this message | ||
I would guess that file access is faster, try it out. write a simple app that will write data to a
file, close it, open it write it etc. compare this to same on a db. every computer every server is
differnet, test to see what is fast on your system. thats ultimitly the most importnat no? that it
runs fast on *your* system not someones in nowheres land.
A db I think would be easier to access, search, etc. I think personally I would use a db. just for
convienince sake. lets say on your chat program a user want to ignore 'updatelee' with a
db your looking at a simple select statment, in a file, oi, headache.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
lee@mediawaveonline.com
""Marian Vasile"" <marian@investments.ro> wrote in message news:NEBBIPDOFNDEMCBEPEHEAEPMGOAA.marian@investments.ro...
What is faster for a chat php software ?
To use a file for write or to use a MySQL database ?
Marian Vasile
IT Manager
Schnecker van Wyk & Pearson
www.investments.ro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net