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?

Link to comment
https://forums.phpfreaks.com/topic/290133-testing-mysql-updates-per-second-limit/
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.