Postgres

Use the following procedure for monitoring the Postgres database.

  1. Navigate to Database monitoring on the left pane.
  2. Select Postgres from the Select database drop-down list.
  3. Select a service from the Select service drop-down list.
  4. Select a database from the Select database drop-down list.

The following screen appears along with the various available tabs.

Postgres Hardware

Hardware

The Hardware tab is selected by default. The following widgets are displayed.

Widget NameDescription
CPU usageCPU utilization of host
Memory usageMemory utilization of host
Netowork I/ONetwork input/output data in MB
Connections & sessionsdatabase number of connections & sessions count

Query Performance

Clicking the Query Performance tab and selecting the threshold from the Query threshold drop-down list displays the following screen.

Postgres query threshold
note
  • Click the Download icon  to download the report in csv or pdf format.

  • Once clicked on download icon, below columns selection will be dispalyed to select which columns to download in the report.

  • Once selected hit Download as CSV or Download as PDF to download the report.

  • Only the top 100 entries are downloaded if there are more than 100 entries for downloading.

Query Execution Plan

  1. Clicking on ID/Query it will Query details tab will be opened with following screen.
Postgres query details page1Postgres query details page2
  1. The Query Details tab is selected by default. The following widgets are displayed.
Widget NameDescription
QueryQuery executed in Database
Wait StatesQuery wait conditions (IO/CPU/Lock etc.)
Resource consumption over TimeCPU, memory, and I/O usage trends during execution
Disk and Buffer usagePhysical disk reads/writes and shared buffer utilization
Session IDUnique identifier for database session
Elapsed TimeTotal time since query started execution
Execution Time %Percentage of time spent actively executing
UsersDatabase role/user executing the query
Query Active in SchemaSchema where query is executing
Query ID/SQL HandleUnique identifier for normalized SQL statement
ProceduresStored procedures/functions involved in execution
  1. Clicking on Query Execution Plan tab following screens will be displayed.
Postgres qep page1Postgres qep page2Postgres qep page3Postgres qep page4
  1. The Query Execution Plan tab is selected by default. The following widgets are displayed.
Widget NameDescription
QueryQuery executed in Database
Cached Execution PlanIndicates whether the query execution plan is reused from PostgreSQL plan cache instead of being recompiled
Last UsedTimestamp of the last execution using this cached plan
ExecutionsTotal number of times the query plan has been executed
Average Elapsed Time (ms)Average time taken per execution in milliseconds
Plan Hash ValueUnique hash identifying the execution plan structure
Plan DetailsFull breakdown of the execution plan generated by EXPLAIN/EXPLAIN ANALYZE
RowsNumber of rows processed or returned at each plan step
Data ProcessedTotal volume of data scanned/processed during execution
Estimated Cost (CPU%)Optimizer-estimated cost of executing the query (CPU + I/O cost model)
Number of StepsTotal number of nodes/operations in the execution plan tree
Explained for schemaSchema context for which the query plan was generated
Referenced ObjectsTables, indexes, views, or functions used in the execution plan
Tree NodeIndividual node in the execution plan hierarchy (scan, join, sort, etc.)
OperationType of operation performed (Seq Scan, Index Scan, Hash Join, Sort, etc.)
Object TypeType of database object involved (table, index, view, etc.)
Object NameName of the referenced database object used in execution

Connections

Clicking the Connections tab displays the following widgets as in the following screen.

Postgres connections
Widget NameDescription
No. of connectionsDatabase number of connections count
No. of sessionsDatabase number of sessions count
Session detailsSession details having users and queries count with time

Metrics

Clicking the Metrics tab displays the following widgets.

Postgres metrics
Widget NameDescription
Bulk operationsBuffer and block hits count
Confis operationsQueries cancelled due to deadlock, pinned buffer, timeout, old snapshot, and dropped tablespaces
Tup operationsnumber of operations count like fetch, delete, insert, returned, and update
Xact operationsCommit and rolled back transactions count

Multi-column Filter

Query performance

  1. Multi-column filter can be applied on numeric columns within the Query performance Table to refine the displayed data based on specific conditions.
  2. When the user clicks on the “Filter by” option, user can apply filter below numeric columns
Column NameDescription
Total executionTotal number of query executions recorded.
Maximum execution time (s)The longest query execution time recorded in seconds.
Maximum execution timestampDate and time when the longest-running query was recorded.
  1. Each filter condition is applied using the below operators and value ( user input based on the unit)
Operator
Greater than
Less than
Equals
Greater than or equals
Less than or equals
postgreSQL query performance table multi-column filter
  1. Once filters & conditions are applied save button is enabled & click "Save" to apply the filter.
  2. Once filters & conditions are applied it displays no. of filters are applied. number of Filters
note
  • Filters are applied using AND logic — all specified conditions must be met for a record to be displayed.
  • Only numeric columns support filtering; non-numeric fields (e.g., text or categorical values) are excluded from the filter options.
  • When the Maximum Execution Timestamp (s) filter is applied, the system reviews each query in the table. If a query was executed within the time frame selected in the top-right corner, it displays that query’s maximum execution timestamp and maximum execution time.
  • If no records match the selected filters, the table will display a message such as “No data".
  • The multi-column filter state persists until the user clears filters by clicking on "Clear" button when Filter by button is clicked.
  • A "Reset" button is available to clear all applied filters and restore the table to its original, unfiltered state. This button is enabled only when one or more filters are currently applied. Reset Button

Connections --> Session details

  1. Multi-column filter can be applied on numeric columns within the Connections --> Session details Table to refine the displayed data based on specific conditions.
  2. When the user clicks on the “Filter by” option, user can apply filter below numeric columns
Column NameDescription
Session countTotal number of active sessions recorded in the PostgreSQL database.
TimestampDate and time when the session count was captured.
  1. Each filter condition is applied using the below operators and value ( user input based on the unit)
Operator
Greater than
Less than
Equals
Greater than or equals
Less than or equals
postgresql sessions table multi-column filter
  1. Once filters & conditions are applied save button is enabled & click "Save" to apply the filter.
  2. Once filters & conditions are applied it displays no. of filters are applied. number of Filters
note
  • Filters are applied using AND logic — all specified conditions must be met for a record to be displayed.
  • Only numeric columns support filtering; non-numeric fields (e.g., text or categorical values) are excluded from the filter options.
  • If no records match the selected filters, the table will display a message such as “No data".
  • The multi-column filter state persists until the user clears filters by clicking on "Clear" button when Filter by button is clicked.
  • A "Reset" button is available to clear all applied filters and restore the table to its original, unfiltered state. This button is enabled only when one or more filters are currently applied. Reset Button