Skip to content

gg_wait_sampling

Greengage wait-event sampling with history and query attribution.

greengage · Greengage wait-event sampling with history and query attribution.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101888gg_wait_samplinggreengage1.1STATApache-2.0C

Usage

Sources:

gg_wait_sampling Greengage wait-event sampling with history and query attribution.

Enablement

Merge gg_wait_sampling into the existing preload list, restart PostgreSQL, and then create gg_wait_sampling in each database that needs its SQL objects:

shared_preload_libraries = 'gg_wait_sampling'
CREATE EXTENSION gg_wait_sampling;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

SELECT * FROM gg_wait_sampling.gg_wait_sampling_reset_profile;

Main Objects

The official sources define the extension surface dynamically or through provider tooling; inspect the installed version before granting access.

Operations and Boundaries

  • Preloading gg_wait_sampling changes cluster startup state; stage configuration and restart changes separately from CREATE EXTENSION.

Table reader