This may seem like an obvious question, but we have a PHP / MySQL application that runs on a Windows 2008 server. There are only about 10 different sites on the server. Admin settings on the site in question allow the administrator to run reports (via the site), which are huge, and in some cases can take about 10 minutes. These reports are huge mysql queries that display data on the screen. When these reports work, the entire site is slow for all users. So my questions are:
Thank you very much in advance.
There is a flag there LOW_PRIORITY, but I'm not sure if this will have any positive effect, as this is most likely the table / row lock problem you are experiencing. You can get an idea of ββwhat is going on with the query SHOW PROCESSLIST;.
LOW_PRIORITY
SHOW PROCESSLIST;
- , , ( , - ).
, ( ). read replicated slave .
, , , mysql, , , . , mysql, , .
, , . , Newrelic Windows , 30 , .
MySQL, (SELECT ), ! , , , !
100% , ?
-, , .
, , varchar, .
, .
It has many operations and automated services that process it without problems due to proper indexing.