Skip to main content

Generate an AWR Report

How PMP4PG Snapshots Differ from Oracle AWR

In Oracle AWR, a snapshot is a point in time. In PMP4PG, a snapshot is an interval — it has a start time and an end time, covering approximately 30 minutes of activity.

This means:

  • A single snapshot already covers a full 30-minute period of database activity
  • A report covering multiple snapshots spans from the start of the first snapshot to the end of the last snapshot
  • All selected snapshots must be consecutive — no gaps are allowed

Accessing the AWR Viewer

From the Server Detail page, click AWR Viewer for the server you want to analyze.


Step 1 — Select the Report Mode

The snapshot selector offers two modes, toggled with the Simple / Advanced Mode switch:

Simple Mode (default)

Select a single snapshot to analyze. The report covers the 30-minute interval of that snapshot.

Snapshot Selector Mode

Use Simple Mode when:

  • You want to analyze a specific 30-minute window
  • You are investigating a known incident period
  • You want a quick overview of a recent period

Advanced Mode

Select a Begin Snapshot and an End Snapshot to analyze multiple consecutive snapshots. The report covers from the start of the begin snapshot to the end of the end snapshot.

Snapshot Selector Mode

Use Advanced Mode when:

  • You want to analyze a longer period (e.g. peak hours, a full workday)
  • You need to compare a workload across several snapshot intervals
Consecutive snapshots required

In Advanced Mode, all snapshots between the selected begin and end must be consecutive — no gaps allowed. If a gap is detected, the selector displays a warning and the report cannot be generated.


Step 2 — Select the Snapshot(s)

Each snapshot in the dropdown displays:

InformationDescription
Snapshot #IDSequential snapshot number
DurationDuration of the snapshot interval (e.g. 30min)
Start → EndExact start and end timestamps of the snapshot
ASH SamplesNumber of ASH samples captured during this interval

Snapshots List

In Advanced Mode, select the Begin Snapshot first. The End Snapshot dropdown is then populated with only the consecutive snapshots available after the selected begin.


Step 3 — Review the Analysis Summary

Once a valid selection is made, an Analysis Period Summary is displayed:

FieldDescription
Analysis PeriodStart timestamp → End timestamp of the full report period
Total DurationTotal time covered by the selected snapshot(s)
Snapshots IncludedNumber of snapshots included in the report
Total ASH SamplesTotal number of ASH samples available for the period

AWR Analysis Summary

A green "Ready to generate AWR report" badge confirms the selection is valid.


Step 4 — Generate the Report

Click Generate Report. The backend computes all deltas between the selected snapshots and renders the full report.


Report Structure

Once generated, the report is displayed on the page with a Table of Contents providing direct navigation links to each section:

#SectionDescription
1Report InformationSnapshot range and database instance details
2Load ProfileDatabase workload characteristics
3Time Model StatisticsDatabase time breakdown by category
4Instance Efficiency RatiosKey performance indicators for database health
5Top SQL StatementsMost resource-intensive queries
6Lock Contention AnalysisDatabase locks, blocking queries and contentions
7Bloat AnalysisTables and indexes with excessive dead tuples
8VACUUM & Autovacuum StatsTable maintenance activity and autovacuum efficiency
9Segment Statistics (I/O)Disk and cache I/O activity on tables and indexes
10Checkpoint & WAL StatisticsCheckpoint activity, WAL generation and bgwriter performance
11Wait Events StatisticsDatabase wait events during the report period
12Database StatisticsPer-database activity and performance metrics
13Top DimensionsMost active users, applications and client IPs

AWR Table Of Content


Report Header — Database Instance

The first section of the report displays detailed information about the monitored server:

PostgreSQL Server

FieldExample
VersionPostgreSQL 16.10
Port5432
Uptime15 days 4h 23min
Data Directory/var/lib/pgsql/16/data
Config File/var/lib/pgsql/16/data/postgresql.conf

Host Information

FieldExample
Hostnamepg-lab
OSLinux Rocky 9.4
Kernel5.14.0-427.xx.el9.x86_64
Architecturex86_64
CPU Cores8
CPU ModelIntel Xeon E5-2670
RAM32 GB

AWR Report Header


Exporting the Report

Once the report is generated, an Export HTML button appears at the top of the page. Click it to download the full report as a standalone HTML file.

See Export AWR Report → for details.


Actions

ButtonDescription
Refresh SnapshotsReload the list of available snapshots from the backend
ResetClear the current snapshot selection
Generate ReportGenerate the AWR report for the selected snapshot(s)
Export HTMLDownload the report as a standalone HTML file (visible after generation)

Next Steps