User Tools

Site Tools


resolution_area:watchdog_resolutions:res-w9804

This is an old revision of the document!


mysqlLongQueryRunning

Level: Critical FIXME

Purpose: To notify about long running queries which can negatively affect database performance. Some of these queries might not finish executing for days.

Scenario: A query can be executed, usually by the user, which requires too many resources to process in a feasible amount of time. This also happens often for reports that use too wide of a date range, or in heavy reports that are usually scheduled.

Resolution: This watchdog will resolve itself most of the time and it is important to let it resolve if it happens within a few hours. A resolution will occur when the process that exists for the extended period of time disappears.

Manual Action Steps: Allow a few hours for the query to finish executing. If this does not happen:

show processlist;

- Look for the longest running query and investigate if the origin of the query, if it can be killed and if it needs changing.

Auto Clear: Yes

resolution_area/watchdog_resolutions/res-w9804.1640283537.txt.gz · Last modified: 2021/12/23 18:18 by 10.91.120.28