Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-04-30 9f2ef60949ced4fab4d077a7e1c6d913f3620c9b
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   | 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;