FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
What is the best antivirus progrem?
Security
Official Age of Empires III Topic
JAva HELP
Did Frihost supports complete CGI?
Hosting, abuse and useless files
Warez/Abuse
is my website very resource-intensive website?
Short term server crashes?
how often does spiders crawl your pages
Favorite CMS.
Who hates PDFs?
Pause?
need help restoring phpbb database from old webhost.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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