You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/metrics.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3250,7 +3250,7 @@ Default config:
3250
3250
<table>
3251
3251
<tr>
3252
3252
<th>Name</th>
3253
-
<td>PostgreSQL Locks: ALTER TABLE, DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, LOCK TABLE</td>
3253
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, REFRESH MATERIALIZED VIEW, LOCK TABLE and some forms of ALTER INDEX and ALTER TABLE</td>
3254
3254
</tr>
3255
3255
<tr>
3256
3256
<th>Key</th>
@@ -3283,7 +3283,7 @@ Default config:
3283
3283
<table>
3284
3284
<tr>
3285
3285
<th>Name</th>
3286
-
<td>PostgreSQL Locks: Read Only Queries</td>
3286
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by queries that only reads tables and do not modify</td>
3287
3287
</tr>
3288
3288
<tr>
3289
3289
<th>Key</th>
@@ -3316,7 +3316,7 @@ Default config:
3316
3316
<table>
3317
3317
<tr>
3318
3318
<th>Name</th>
3319
-
<td>PostgreSQL Locks: Locks From Application or Some Operations on System Catalogs</td>
3319
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like REFRESH MATERIALIZED VIEW CONCURRENTLY</td>
3320
3320
</tr>
3321
3321
<tr>
3322
3322
<th>Key</th>
@@ -3349,7 +3349,7 @@ Default config:
3349
3349
<table>
3350
3350
<tr>
3351
3351
<th>Name</th>
3352
-
<td>PostgreSQL Locks: Write Queries</td>
3352
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like UPDATE, DELETE, INSERT and MERGE</td>
3353
3353
</tr>
3354
3354
<tr>
3355
3355
<th>Key</th>
@@ -3382,7 +3382,7 @@ Default config:
3382
3382
<table>
3383
3383
<tr>
3384
3384
<th>Name</th>
3385
-
<td>PostgreSQL Locks: SELECT FOR SHARE and SELECT FOR UPDATE</td>
3385
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like SELECT FOR SHARE and SELECT FOR UPDATE</td>
3386
3386
</tr>
3387
3387
<tr>
3388
3388
<th>Key</th>
@@ -3415,7 +3415,7 @@ Default config:
3415
3415
<table>
3416
3416
<tr>
3417
3417
<th>Name</th>
3418
-
<td>PostgreSQL Locks: Locks From Application</td>
3418
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like CREATE TRIGGER and some forms of ALTER TABLE</td>
3419
3419
</tr>
3420
3420
<tr>
3421
3421
<th>Key</th>
@@ -3448,7 +3448,7 @@ Default config:
3448
3448
<table>
3449
3449
<tr>
3450
3450
<th>Name</th>
3451
-
<td>PostgreSQL Locks: VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY</td>
3451
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY, CREATE STATISTICS, COMMENT ON, REINDEX CONCURRENTLY, and some forms of ALTER INDEX and ALTER TABLE</td>
3452
3452
</tr>
3453
3453
<tr>
3454
3454
<th>Key</th>
@@ -3481,7 +3481,7 @@ Default config:
3481
3481
<table>
3482
3482
<tr>
3483
3483
<th>Name</th>
3484
-
<td>PostgreSQL Locks: CREATE INDEX</td>
3484
+
<td>PostgreSQL Locks: total number of locks acquired (or waiting) by all queries like CREATE INDEX</td>
Copy file name to clipboardExpand all lines: mamonsu/plugins/pgsql/pg_locks.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,28 +22,28 @@ class PgLocks(Plugin):
22
22
Items= [
23
23
# key, desc, color
24
24
("accessshare",
25
-
"Read Only Queries",
25
+
"total number of locks acquired (or waiting) by queries that only reads tables and do not modify",
26
26
"00CC00"),
27
27
("rowshare",
28
-
"SELECT FOR SHARE and SELECT FOR UPDATE",
28
+
"total number of locks acquired (or waiting) by all queries like SELECT FOR SHARE and SELECT FOR UPDATE",
29
29
"3B415A"),
30
30
("rowexclusive",
31
-
"Write Queries",
31
+
"total number of locks acquired (or waiting) by all queries like UPDATE, DELETE, INSERT and MERGE",
32
32
"FF5656"),
33
33
("shareupdateexclusive",
34
-
"VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY",
34
+
"total number of locks acquired (or waiting) by all queries like VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY, CREATE STATISTICS, COMMENT ON, REINDEX CONCURRENTLY, and some forms of ALTER INDEX and ALTER TABLE",
35
35
"F6CB93"),
36
36
("share",
37
-
"CREATE INDEX",
37
+
"total number of locks acquired (or waiting) by all queries like CREATE INDEX",
38
38
"006AAE"),
39
39
("sharerowexclusive",
40
-
"Locks from Application",
40
+
"total number of locks acquired (or waiting) by all queries like CREATE TRIGGER and some forms of ALTER TABLE",
41
41
"00B0B8"),
42
42
("exclusive",
43
-
"Locks from Application or Some Operations on System Catalogs",
43
+
"total number of locks acquired (or waiting) by all queries like REFRESH MATERIALIZED VIEW CONCURRENTLY",
"total number of locks acquired (or waiting) by all queries like DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, REFRESH MATERIALIZED VIEW, LOCK TABLE and some forms of ALTER INDEX and ALTER TABLE",
0 commit comments