:original_name: ddm_13_0001.html
.. _ddm_13_0001:
Slow Queries
============
Scenarios
---------
DDM provides a Slow Queries function that sorts out the same type of slow SQL statements within a specified period of time by SQL template. You can specify a time range, search for all types of slow SQL statements within the time range, and then optimize them.
Procedure
---------
#. In the instance list, locate the DDM instance whose slow queries you want to view and click its name.
#. In the navigation pane, choose **Slow Queries**.
#. On the **Slow Queries** page, specify a time range and view SQL statements executed within this time range.