CREATE EXTENSION pg_wait_sampling; \d pg_wait_sampling_current View "public.pg_wait_sampling_current" Column | Type | Collation | Nullable | Default ------------+---------+-----------+----------+--------- pid | integer | | | event_type | text | | | event | text | | | queryid | bigint | | | \d pg_wait_sampling_history View "public.pg_wait_sampling_history" Column | Type | Collation | Nullable | Default ------------+--------------------------+-----------+----------+--------- pid | integer | | | ts | timestamp with time zone | | | event_type | text | | | event | text | | | queryid | bigint | | | \d pg_wait_sampling_profile View "public.pg_wait_sampling_profile" Column | Type | Collation | Nullable | Default ------------+---------+-----------+----------+--------- pid | integer | | | event_type | text | | | event | text | | | queryid | bigint | | | count | bigint | | | DROP EXTENSION pg_wait_sampling;