百科 / 统计与指标 / pg_stat_progress_basebackup
pg_stat_progress_basebackup.backup_streamed
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 …
当前查看 PostgreSQL 18。
中文定义与说明
将被流式传输的数据总量。统计的是服务器端压缩之前的归档数据量。估算值在 |
说明
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 .
- 视图
- pg_stat_progress_basebackup
- 字段
- backup_streamed
- SQL 类型
- bigint
- 字段定义记载的单位
- 未指定
- 重置条件
- 手册未为此视图记载 stats_reset 字段
用法
SELECT backup_streamed FROM pg_catalog.pg_stat_progress_basebackup;手册定义
将被流式传输的数据总量。统计的是服务器端压缩之前的归档数据量。估算值在 |
相关条目
文档与源码
来源构建
- 版本
- 18.6
- 构建
- https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2
- 来源指纹
555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
版本比较
PostgreSQL 17 → 18: 无变化。
比较已记录的接口与属性,排除来源指纹和构建元数据。某个样本中没有记录,不能据此判断实际引入或移除的版本。
相关条目
导出 JSON · 返回统计与指标 · 收录范围为 PostgreSQL 13 至 20;最早采样版本不一定是实际引入版本。