# Monitoring Analysis (A)

+ Grafana Monitoring TiDB —>`Query Summary --> Duration`
  + 999 There is a glitch in the delay


![left](./student-guide/diagram/03-05-1.png)

------------------------------------------------------------

Grafana monitors TiDB —> Query Summary —> Duration to show the average time for the database to execute SQL statement. If the database application is stable, the execution time should be a smooth line.

In the figure, 999,99,95,80 indicates how many percent of the query are in duration monitoring.Note that 99.9% of the monitoring in the figure, glitches occur at 17:12, indicating that there is a problem with the database. You can use the mouse hover position in the video to determine the time at which it should be.
