select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / PROGRESS REPORTING

pg_stat_progress_data_checksums

Read PG 20 devel manual ↗

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.

Development snapshot. These definitions may change before release.

Kind
Progress reporting
Columns in this snapshot
10
Definition source
English manual

Columns 10

ColumnTypeDescription / reference
pidintegerProcess ID of the data checksum process, launcher or worker.
datidoidOID of this database, or 0 for the launcher process.
datnamenameName of this database, or NULL for the launcher process.
phasetextCurrent processing phase, see Table 27.56 for description of the phases.
databases_totalbigintThe total number of databases which will be processed. Only the launcher process has this value set when enabling data checksums; otherwise this is set to NULL.
databases_donebigintThe number of databases which have been processed. Only the launcher process has this value set when enabling data checksums; otherwise this is set to NULL.
relations_totalbigintThe total number of relations which will be processed, or NULL if the worker process hasn't calculated the number of relations yet. The launcher process has this set to NULL since it isn't responsible for processing relations, only launching worker processes.
relations_donebigintThe number of relations which have been processed. The launcher process has this set to NULL.
blocks_totalbigintThe number of blocks in the current relation which will be processed, or NULL if the worker process hasn't calculated the number of blocks yet. The launcher process has this set to NULL.
blocks_donebigintThe number of blocks in the current relation which have been processed. The launcher process has this set to NULL.
Column history across versions
Version history 2
  1. PG 19 → 20changed
  2. PG 18 → 19added

Definition snapshot: english-manuals:c1bdff7320a7792cfcc4d31ee88… · English manual source