Jump to content

SPEED: mysql vs file


crashmaster

Recommended Posts

Unless you need to use the data right away, I suggest using both. Store them to a file and then at set intervals, add them to the database as a batch. With that you said in the first post, adding each click each and every time it is done is going to kill your database (heck, that is why sites that receive a lot of traffic cache your database output). Always do batch inserts if you can so that you don't kill your database.

Link to comment
https://forums.phpfreaks.com/topic/84034-speed-mysql-vs-file/#findComment-427724
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.