164 Star 224 Fork 1.2K

openGauss / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
STAT_ALL_TABLES.md 18.82 KB
一键复制 编辑 原始数据 按行查看 历史

STAT_ALL_TABLES

本节点内数据库中每个表(包括TOAST表)的一行的统计信息。

表 1 STAT_ALL_TABLES字段

名称

类型

描述

relid

oid

表的OID。

schemaname

name

该表的模式名。

relname

name

表名。

seq_scan

bigint

该表发起的顺序扫描数。

seq_tup_read

bigint

顺序扫描抓取的活跃行数。

idx_scan

bigint

该表发起的索引扫描数。

idx_tup_fetch

bigint

索引扫描抓取的活跃行数。

n_tup_ins

bigint

插入行数。

n_tup_upd

bigint

更新行数。

n_tup_del

bigint

删除行数。

n_tup_hot_upd

bigint

HOT更新行数(比如没有更新所需的单独索引)。

n_live_tup

bigint

估计活跃行数。

n_dead_tup

bigint

估计死行数。

last_vacuum

timestamp with time zone

最后一次该表是手动清理的(不计算VACUUM FULL)的时间。

last_autovacuum

timestamp with time zone

上次被autovacuum守护进程清理的时间。

last_analyze

timestamp with time zone

上次手动分析该表的时间。

last_autoanalyze

timestamp with time zone

上次被autovacuum守护进程分析时间。

vacuum_count

bigint

该表被手动清理的次数(不计算VACUUM FULL)。

autovacuum_count

bigint

该表被autovacuum清理的次数。

analyze_count

bigint

该表被手动分析的次数。

autoanalyze_count

bigint

该表被autovacuum守护进程分析的次数。

1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
1.1.0

搜索帮助