GaussDB-STAT_USER_TABLES

53 阅读1分钟

GaussDB-STAT_USER_TABLES

显示当前节点所有Schema中用户自定义普通表的状态信息,如表1所示。

名称类型描述
relidoid表的OID。
schemanamename该表所在的Schema名。
relnamename表名。
seq_scanbigint该表发起的顺序扫描数。
seq_tup_readbigint顺序扫描抓取的活跃行数。
idx_scanbigint该表发起的索引扫描数。
idx_tup_fetchbigint索引扫描抓取的活跃行数。
n_tup_insbigint插入行数。
n_tup_updbigint更新行数。
n_tup_delbigint删除行数。
n_tup_hot_updbigintHOT更新行数(即没有更新索引列的行数)。
n_live_tupbigint估计活跃行数。
n_dead_tupbigint估计不活跃行数。
last_vacuumtimestamp with time zone最后一次该表是手动清理的(不计算VACUUM FULL)时间。
last_autovacuumtimestamp with time zone上次被autovacuum守护线程清理的时间。
last_analyzetimestamp with time zone上次手动分析该表的时间。
last_autoanalyzetimestamp with time zone上次被autovacuum守护线程分析的时间。
vacuum_countbigint该表被手动清理的次数(不计算VACUUM FULL)。
autovacuum_countbigint该表被autovacuum清理的次数。
analyze_countbigint该表被手动分析的次数。
autoanalyze_countbigint该表被autovacuum守护线程分析的次数。
last_updatedtimestamp with time zone视图中该对象监控数据最后一次更新的时间。

更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…