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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.