5.19. SQL Statistics #

PPEM allows viewing execution statistics of SQL statements. This information is provided by the pg_stat_statements and pgpro_stats extensions. For SQL statistics collection to work correctly, one of these extensions must be installed and configured in the DBMS instance.

To view SQL statistics:

  1. In the navigation panel, go to InfrastructureInstances.

  2. Click the name of the instance.

  3. In the navigation panel, go to SQL statistics.

The table with the following columns will be displayed:

To view information about the specified statement, click Detailed next to it.

The displayed statistics are requested via the agent working with the instance. For this reason, the speed at which statistics are retrieved depends on two factors:

Given the cumulative nature of statistics, the resulting statistics snapshot can differ over time from the actual instance statistics.