CREATE EXTENSION pg_wait_sampling; \d pg_wait_sampling_current View "public.pg_wait_sampling_current" Column | Type | Modifiers ------------+---------+----------- pid | integer | event_type | text | event | text | queryid | bigint | \d pg_wait_sampling_history View "public.pg_wait_sampling_history" Column | Type | Modifiers ------------+--------------------------+----------- 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 | Modifiers ------------+---------+----------- pid | integer | event_type | text | event | text | queryid | bigint | count | bigint | DROP EXTENSION pg_wait_sampling;