Updated on 2024-09-06 GMT+08:00

Database Performance Metrics

General Overview

Figure 1 General Overview
Table 1 Calls field description

Field

Description

Queries per sec

Number of queries executed per second

Runtime per sec

Total duration of queries executed per second

Avg runtime

Average query duration

Table 2 Blocks field description

Field

Description

Total shared buffers hit

Amount of data found in shared buffers

Total shared buffers miss

Amount of data found in OS cache or read from disk

Database Objects

Figure 2 Database Objects
Table 3 Access pattern field description

Field

Description

Index scans ratio

Ratio of index scans to sequential scans

Index scans

Number of index scans per second

Sequential scans

Number of sequential scans per second

Table 4 DML activity field description

Field

Description

Tuples inserted

Number of tuples inserted per second

Tuples updated

Number of tuples updated per second

Tuples HOT updated

Number of heap-only tuples (HOT) updated per second

Tuples deleted

Number of tuples deleted per second

Table 5 Vacuum activity field description

Field

Description

# Vacuum

Number of vacuums per second

# Autovacuum

Number of autovacuums per second

# Analyze

Number of analyses per second

# Autoanalyze

Number of autoanalyses per second

Details for all databases

Figure 3 Details for all databases
Table 6 Details for all databases field description

Field

Description

Query

SQL statement to be executed

(Execution) #

Number of times that the SQL statement is executed

(Execution) Time

Total execution time of the SQL statement

(Execution) Avg time

Average time for executing the SQL statement

(I/O Time) Read

Read I/O wait time

(I/O Time) Write

Write I/O wait time

(Blocks) Read

Number of disk read pages

(Blocks) Hit

Number of hit pages in the shared buffer

(Blocks) Dirtied

Number of dirty pages

(Blocks) Written

Number of disk write pages

(Temp blocks) Read

Number of disk temporary read pages

(Temp blocks) Write

Number of disk temporary write pages