mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Track block level checksum failures in pg_stat_database
This adds a column that counts how many checksum failures have occurred on files belonging to a specific database. Both checksum failures during normal backend processing and those created when a base backup detects a checksum failure are counted. Author: Magnus Hagander Reviewed by: Julien Rouhaud
This commit is contained in:
@ -2508,6 +2508,11 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
|
||||
<entry><type>bigint</type></entry>
|
||||
<entry>Number of deadlocks detected in this database</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>checksum_failures</structfield></entry>
|
||||
<entry><type>bigint</type></entry>
|
||||
<entry>Number of data page checksum failures detected in this database</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>blk_read_time</structfield></entry>
|
||||
<entry><type>double precision</type></entry>
|
||||
|
Reference in New Issue
Block a user