diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 12b9ee20d4a..858788b227c 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -435,6 +435,16 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser See . + + + pg_stat_progress_data_checksumspg_stat_progress_data_checksums + One row for the data checksum launcher process while data + checksums are being enabled or disabled. When enabling data + checksums, the view also has one row for each worker process, + showing current progress. + See . + + @@ -6271,9 +6281,9 @@ FROM pg_stat_get_backend_idset() AS backendid; COPY, CREATE INDEX, REPACK (and its obsolete spelling CLUSTER), VACUUM, - and (i.e., replication + (i.e., replication command that issues to take - a base backup). + a base backup), and online data checksum operations. This may be expanded in the future. @@ -8005,13 +8015,14 @@ FROM pg_stat_get_backend_idset() AS backendid; - When data checksums are being enabled on a running cluster, the + When data checksums are being enabled or disabled on a running cluster, the pg_stat_progress_data_checksums view will contain - a row for the launcher process, and one row for each worker process which - is currently calculating and writing checksums for the data pages in a database. - The launcher provides overview of the overall progress (how many databases - have been processed, how many remain), while the workers track progress for - currently processed databases. + a row for the launcher process. When enabling data checksums, the view + will also contain one row for each worker process which is currently + calculating and writing checksums for the data pages in a database. The + launcher provides an overview of the overall progress, such as how many + databases have been processed and how many remain, while the workers track + progress for currently processed databases. @@ -8080,7 +8091,7 @@ FROM pg_stat_get_backend_idset() AS backendid; - databases_total integer + databases_total bigint The total number of databases which will be processed. Only the @@ -8093,7 +8104,7 @@ FROM pg_stat_get_backend_idset() AS backendid; - databases_done integer + databases_done bigint The number of databases which have been processed. Only the launcher @@ -8106,7 +8117,7 @@ FROM pg_stat_get_backend_idset() AS backendid; - relations_total integer + relations_total bigint The total number of relations which will be processed, or @@ -8121,7 +8132,7 @@ FROM pg_stat_get_backend_idset() AS backendid; - relations_done integer + relations_done bigint The number of relations which have been processed. The launcher @@ -8133,7 +8144,7 @@ FROM pg_stat_get_backend_idset() AS backendid; - blocks_total integer + blocks_total bigint The number of blocks in the current relation which will be processed, @@ -8147,7 +8158,7 @@ FROM pg_stat_get_backend_idset() AS backendid; - blocks_done integer + blocks_done bigint The number of blocks in the current relation which have been processed.