{"Entry":{"collection":"metric","key":"pg_stat_progress_basebackup-backup_streamed","name":"pg_stat_progress_basebackup.backup_streamed","aliases":["backup_streamed","pg_stat_progress_basebackup"],"metadata":{"aliases":["backup_streamed","pg_stat_progress_basebackup"],"category":"pg_stat_progress_basebackup","content_hash":"0c232d4a90955984359b9b1cfc34da952a97cf85518fdfdc7f0f25f821d5891f","derived_content_hash":"a979daef6cdb5c492dc7adc7e360f11fb86c9875ea2e01cd353aad1689e63210","imported_at":"2026-09-30T00:40:45.787776+08:00","name":"pg_stat_progress_basebackup.backup_streamed","name_zh":"","slug":"pg_stat_progress_basebackup-backup_streamed","summary":"Amount of data streamed. This counter only advances when the phase is streaming database files or transferring wal files."}},"Definition":{"Collection":"metric","Key":"pg_stat_progress_basebackup-backup_streamed","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_progress_basebackup-backup_streamed","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"backup_streamed","sql_type":"bigint","units_mentioned":[],"view":"pg_stat_progress_basebackup"},"comparison_hash":"5ec0f465ccbfd6a5bcb88b4cceb7a4cbef18560e657a67fd45eef75238c23394","description":["backup_total bigint Total amount of data that will be streamed. This counts archive data before any server-side compression. The estimate is reported as of the beginning of the streaming database files phase. Note that this is only an approximation since the database may change during streaming database files phase and WAL log may be included in the backup later. This is always the same value as backup_streamed once the amount of data streamed exceeds the estimated total size. If the estimation is disabled in pg_basebackup (i.e., --no-estimate-size option is specified), this is NULL ."],"description_zh":"backup_total bigint 将被流式传输的数据总量。统计的是服务器端压缩之前的归档数据量。估算值在 streaming database files 阶段开始时报告。注意，这只是一个近似值，因为数据库可能会在 streaming database files 阶段期间发生变化，而 WAL 日志也可能在稍后的备份阶段被包含进来。一旦流式传输的数据量超过了估计的总大小，该值始终与 backup_streamed 相同。如果在 pg_basebackup 中禁用估算（也就是说，指定了 --no-estimate-size 选项），这为 NULL 。","description_zh_html":"\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd class=\"catalog_table_entry\"\u003e\u003cp class=\"column_definition\"\u003e\n\u003ccode class=\"structfield\"\u003ebackup_total\u003c/code\u003e \u003ccode class=\"type\"\u003ebigint\u003c/code\u003e\n\u003c/p\u003e\n\u003cp\u003e\n       将被流式传输的数据总量。统计的是服务器端压缩之前的归档数据量。估算值在 \u003ccode class=\"literal\"\u003estreaming database files\u003c/code\u003e 阶段开始时报告。注意，这只是一个近似值，因为数据库可能会在 \u003ccode class=\"literal\"\u003estreaming database files\u003c/code\u003e 阶段期间发生变化，而 WAL 日志也可能在稍后的备份阶段被包含进来。一旦流式传输的数据量超过了估计的总大小，该值始终与 \u003ccode class=\"structfield\"\u003ebackup_streamed\u003c/code\u003e 相同。如果在 \u003cspan class=\"application\"\u003epg_basebackup\u003c/span\u003e 中禁用估算（也就是说，指定了 \u003ccode class=\"literal\"\u003e--no-estimate-size\u003c/code\u003e 选项），这为 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。\n      \u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e","documentation_revision":{"inputs":[{"file":"progress-reporting.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"4a6cdd8228f2d858318f2056687ac4e2467e2c58e5fed10bdb583ba8eb66fec5","version":"18.7"},{"file":"progress-reporting.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"0ab33caa1959f857312f1a866b2b0f0afde18c3fd85db5d957eefa1b7a2e441f","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"documented":true,"facts":[{"label":"View","value":"pg_stat_progress_basebackup"},{"label":"Field","value":"backup_streamed"},{"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"}],"facts_zh":[{"label":"视图","value":"pg_stat_progress_basebackup"},{"label":"字段","value":"backup_streamed"},{"label":"SQL 类型","value":"bigint"},{"label":"字段定义记载的单位","value":"未指定"},{"label":"重置条件","value":"手册未为此视图记载 stats_reset 字段"}],"field":"backup_streamed","manual_html":"\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd class=\"catalog_table_entry\"\u003e\u003cp class=\"column_definition\"\u003e\n\u003ccode class=\"structfield\"\u003ebackup_total\u003c/code\u003e \u003ccode class=\"type\"\u003ebigint\u003c/code\u003e\n\u003c/p\u003e\n\u003cp\u003e\n       Total amount of data that will be streamed. This counts archive data\n       before any server-side compression. The estimate is reported as of\n       the beginning of the\n       \u003ccode class=\"literal\"\u003estreaming database files\u003c/code\u003e phase. Note that\n       this is only an approximation since the database\n       may change during \u003ccode class=\"literal\"\u003estreaming database files\u003c/code\u003e phase\n       and WAL log may be included in the backup later. This is always\n       the same value as \u003ccode class=\"structfield\"\u003ebackup_streamed\u003c/code\u003e\n       once the amount of data streamed exceeds the estimated\n       total size. If the estimation is disabled in\n       \u003cspan class=\"application\"\u003epg_basebackup\u003c/span\u003e\n       (i.e., \u003ccode class=\"literal\"\u003e--no-estimate-size\u003c/code\u003e option is specified),\n       this is \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e.\n      \u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e","manual_path":"/docs/18/progress-reporting.html","related":[{"label":"pg_stat_progress_basebackup columns","url":"/wiki/catalog/pg_stat_progress_basebackup/?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":[],"sections_zh":[],"signature":"SELECT backup_streamed FROM pg_catalog.pg_stat_progress_basebackup;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"progress-reporting.html","sha256":"a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6","url":"/docs/18/progress-reporting.html#PG-STAT-PROGRESS-BASEBACKUP-VIEW"}],"sql_type":"bigint","tables":[],"tables_zh":[],"units_mentioned":[],"view":"pg_stat_progress_basebackup","zh_from":"same-version-manual"},"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-BASEBACKUP-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_progress_basebackup-backup_streamed","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_progress_basebackup.backup_streamed","Summary":"backup_total bigint Total amount of data that will be streamed. This counts archive data before any server-side compression. The estimate is reported as of the beginning of the streaming database files phase. Note that this is only an approximation since the database may change during streaming database files phase and WAL log may be included in the backup later. This is always the same value as backup_streamed once the amount of data streamed exceeds the estimated total size. If the estimation is disabled in pg_basebackup (i.e., --no-estimate-size option is specified), this is NULL .","BodyHTML":"\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd\u003e\u003cp\u003e\n\u003ccode\u003ebackup_total\u003c/code\u003e \u003ccode\u003ebigint\u003c/code\u003e\n\u003c/p\u003e\n\u003cp\u003e\n       Total amount of data that will be streamed. This counts archive data\n       before any server-side compression. The estimate is reported as of\n       the beginning of the\n       \u003ccode\u003estreaming database files\u003c/code\u003e phase. Note that\n       this is only an approximation since the database\n       may change during \u003ccode\u003estreaming database files\u003c/code\u003e phase\n       and WAL log may be included in the backup later. This is always\n       the same value as \u003ccode\u003ebackup_streamed\u003c/code\u003e\n       once the amount of data streamed exceeds the estimated\n       total size. If the estimation is disabled in\n       \u003cspan\u003epg_basebackup\u003c/span\u003e\n       (i.e., \u003ccode\u003e--no-estimate-size\u003c/code\u003e option is specified),\n       this is \u003ccode\u003eNULL\u003c/code\u003e.\n      \u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"2e7f7a9bd527bcb13ba61a40f8f972cb32387fc5cef12a00fae848bd78dae111","Payload":{"description":["backup_total bigint Total amount of data that will be streamed. This counts archive data before any server-side compression. The estimate is reported as of the beginning of the streaming database files phase. Note that this is only an approximation since the database may change during streaming database files phase and WAL log may be included in the backup later. This is always the same value as backup_streamed once the amount of data streamed exceeds the estimated total size. If the estimation is disabled in pg_basebackup (i.e., --no-estimate-size option is specified), this is NULL ."],"manual_html":"\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd class=\"catalog_table_entry\"\u003e\u003cp class=\"column_definition\"\u003e\n\u003ccode class=\"structfield\"\u003ebackup_total\u003c/code\u003e \u003ccode class=\"type\"\u003ebigint\u003c/code\u003e\n\u003c/p\u003e\n\u003cp\u003e\n       Total amount of data that will be streamed. This counts archive data\n       before any server-side compression. The estimate is reported as of\n       the beginning of the\n       \u003ccode class=\"literal\"\u003estreaming database files\u003c/code\u003e phase. Note that\n       this is only an approximation since the database\n       may change during \u003ccode class=\"literal\"\u003estreaming database files\u003c/code\u003e phase\n       and WAL log may be included in the backup later. This is always\n       the same value as \u003ccode class=\"structfield\"\u003ebackup_streamed\u003c/code\u003e\n       once the amount of data streamed exceeds the estimated\n       total size. If the estimation is disabled in\n       \u003cspan class=\"application\"\u003epg_basebackup\u003c/span\u003e\n       (i.e., \u003ccode class=\"literal\"\u003e--no-estimate-size\u003c/code\u003e option is specified),\n       this is \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e.\n      \u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e","related":[{"label":"pg_stat_progress_basebackup columns","url":"/wiki/catalog/pg_stat_progress_basebackup/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[],"tables":[]}},"RequestedLocale":"en","Fallback":false,"Versions":["13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
