1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
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;
|