The History page allows you to display system metrics and queries executed during a specified time period.
On the Admin> Settings page you can enable saving the real-time metrics collected by the Greenplum Database metrics collector extension to history in the gpmetrics schema of the gpperfmon database. When you enable collecting this history, the Command Center History, Query Monitor, and Query Detail views all use data derived from the same data collection method.If you disable GPCC query history collection on the Admin> Settings page, the history views display data collected and saved in the gpperfmon database by the
gpsmonagents. That data is not derived from the real-time metrics displayed on the Query Monitor and Query Detail view. Variations should be expected due to the different data collection methods.
Set the time period to display by entering dates and times in the From and To date and time fields. You can enter dates by typing them into the date field or by choosing from the pop-up calendar. Enter 24-hour times in HH:MM format.
In the Filter Queries By section you can restrict queries that display in the query table at the bottom of the page.
- Database - Choose only queries that ran in a specified database.
- User - Choose only queried executed by a specified user.
- Status - Choose queries that completed with the specified status:
- Res Queue or Res Group - Choose queries executed by a specified resource queue or resource group.
- Priority - Choose queries that executed with a relative CPU priority:
max. This option is only available when Greenplum Database is using resource queue-based resource management.
- Has CPU Skew - Choose queries that completed with CPU skew greater than zero.
- Has Spill - Choose queries that generated spill files.
Click Search to display results that match your choices.
Hover over a timeline to see the metrics at that point in time for all unhidden charts.
You can click and drag on a chart to zoom in on a time range. Click Search to update the query list and charts to the selected range.
Scroll charts left or right by hovering over the edge of the chart and clicking an arrow. Click ‹ or › to move in half steps. Click « or » to move in full steps.
Charts of the following metrics are available. Show or hide them at any time with the checklist at the upper right of the view.
The Query table displays queries that were active during the specified time period, including queries that started before or finished after the specified time. However, queries that are still active are not included in the table; these queries can be viewed on the Query Monitor page.
The query table has the following columns:
For more information about Resource Queues, Resource Groups, and Query Plans, refer to the Greenplum Database Administrator Guide.