Jump to content

Testing MySQL Updates Per Second Limit


itsliamoco

Recommended Posts

Let's say I have 1 table and 100 rows in this table. The table is simple and only contains an Auto Increment ID field and a load_count field.

 

Every time a web page is loaded this query is executed and load_count is increased by 1 ...

 



UPDATE table_name SET load_count = load_count + 1 WHERE ID = $number


 

How can I test the limit my server can handle this query per second. Will I run into errors at 10 page loads per second or at 1000?

 

How can I emulate 'x' number of page loads per second and record results for how MySQL performs?

Edited by itsliamoco
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.