How many MySql queries/second can be handled by a server?

前端 未结 3 1878
无人及你
无人及你 2020-12-30 03:59

I\'ve started developing a browser (database) game. My question is how many queries can a regular hosting handle (when I mean regular, I mean a shared hosting you cand find

3条回答
  •  长情又很酷
    2020-12-30 04:13

    This is completely dependant on the server hardware, it's caching ability and configuration, and the type of hardware it uses for non-volatile storage (e.g., a RAID array of hard drives with spindles or SSDs?), not to mention the type of query and database being queried, including:

    • Number of joins
    • Indexes
    • Number of rows in the tables queried
    • Size of the result set
    • Concurrent load
    • etc...

    Without knowing all of these factors, it is impossible to estimate performance. The best estimate comes from actual profiling, performed under normal operating conditions with the type of queries that will actually be presented.

提交回复
热议问题