FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Resource Intensive

 


krazycapital
Which would be more resource intensive: Accessing a text file (Large, all data) every few seconds or Accessing a MySQL database every few seconds?
Through PHP that is.
rohan2kool
i think contacting the MySQL database would be more intensive.. but when taking out data, then parsing it and all that.. MySQL will do that much faster for you.(and also more secure).
krazycapital
It would be doing it every about 1-2 seconds and the file is about 3 mbs. It gets it all each time.
Rhysige
This is the reason databases are invented Razz That and ease of use... Databases are definatly the better option in this case it doesnt put a hug load to query every few seconds even if it sounds like it would.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.