Home >Backend Development >PHP Tutorial >Does multi-user event scheduling affect database performance?

Does multi-user event scheduling affect database performance?

WBOY
WBOYOriginal
2016-07-06 13:52:43936browse

php mining machine The user clicks to start mining. The specified field of the database is incremented by 1 every second. This can be achieved using event scheduling, but in the case of multiple users, multiple event scheduling is used? Does this have any impact on the performance of mysql

Reply content:

php mining machine The user clicks to start mining. The specified field of the database is incremented by 1 every second. This can be achieved using event scheduling, but in the case of multiple users, multiple event scheduling is used? Does this have any impact on the performance of mysql

It should be scheduled using the same event, but the threads are different. I have not tested it in depth, but the additional thread consumption will affect the performance to some extent

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn