{"Entry":{"collection":"metric","key":"pg_stat_progress_create_index-partitions_done","name":"pg_stat_progress_create_index.partitions_done","aliases":["partitions_done","pg_stat_progress_create_index"],"metadata":{"aliases":["partitions_done","pg_stat_progress_create_index"],"category":"pg_stat_progress_create_index","content_hash":"541990d1943c5b3f5b92c9c1115367f5f82ed094d82551b36147e8a90c26debe","imported_at":"2026-09-30T00:40:45.892138+08:00","name":"pg_stat_progress_create_index.partitions_done","name_zh":"","slug":"pg_stat_progress_create_index-partitions_done","summary":"Number of partitions on which the index has already been created or attached, including both direct and indirect partitions. 0 during a REINDEX, or when the index is not partitioned."}},"Definition":{"Collection":"metric","Key":"pg_stat_progress_create_index-partitions_done","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_progress_create_index-partitions_done","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"partitions_done","sql_type":"bigint","units_mentioned":[],"view":"pg_stat_progress_create_index"},"comparison_hash":"2d9995648979412b6f87e8d4ba11be2b692e790e85b2e94994aca63e207776d2","description":["Number of partitions on which the index has already been created or attached, including both direct and indirect partitions. 0 during a REINDEX, or when the index is not partitioned."],"documented":true,"facts":[{"label":"View","value":"pg_stat_progress_create_index"},{"label":"Field","value":"partitions_done"},{"label":"SQL type","value":"bigint"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"partitions_done","manual_html":"","manual_path":"/docs/18/progress-reporting.html","related":[{"label":"pg_stat_progress_create_index columns","url":"/wiki/catalog/pg_stat_progress_create_index/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["Whenever CREATE INDEX or REINDEX is running, the pg_stat_progress_create_index view will contain one row for each backend that is currently creating indexes. The tables below describe the information that will be reported and provide information about how to interpret it."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT partitions_done FROM pg_catalog.pg_stat_progress_create_index;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT partitions_done FROM pg_catalog.pg_stat_progress_create_index;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"progress-reporting.html","sha256":"a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6","url":"/docs/18/progress-reporting.html#PG-STAT-PROGRESS-CREATE-INDEX-VIEW"}],"sql_type":"bigint","tables":[],"units_mentioned":[],"view":"pg_stat_progress_create_index"},"ManualEvidence":{"manual_path":"/docs/18/progress-reporting.html","release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"PostgreSQL 18 English manual","path":"progress-reporting.html","sha256":"a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6","url":"/docs/18/progress-reporting.html#PG-STAT-PROGRESS-CREATE-INDEX-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_progress_create_index-partitions_done","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_progress_create_index.partitions_done","Summary":"Number of partitions on which the index has already been created or attached, including both direct and indirect partitions. 0 during a REINDEX, or when the index is not partitioned.","BodyHTML":"\u003cp\u003eNumber of partitions on which the index has already been created or attached, including both direct and indirect partitions. 0 during a REINDEX, or when the index is not partitioned.\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"5727739fbee273333841a1792bfe0ba34fff85684b118f470440dcc49f37cc7e","Payload":{"description":["Number of partitions on which the index has already been created or attached, including both direct and indirect partitions. 0 during a REINDEX, or when the index is not partitioned."],"manual_html":"","related":[{"label":"pg_stat_progress_create_index columns","url":"/wiki/catalog/pg_stat_progress_create_index/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["Whenever CREATE INDEX or REINDEX is running, the pg_stat_progress_create_index view will contain one row for each backend that is currently creating indexes. The tables below describe the information that will be reported and provide information about how to interpret it."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT partitions_done FROM pg_catalog.pg_stat_progress_create_index;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
