云数据库 GAUSSDB-GLOBAL_STAT_USER_TABLES

时间:2024-04-26 16:14:59

GLOBAL_STAT_USER_TABLES

显示各节点所有Schema中用户自定义普通表的状态信息(在CN节点使用。显示DN节点用户自定义普通表的状态信息,不进行汇总)。

表1 GLOBAL_STAT_USER_TABLES字段

名称

类型

描述

node_name

name

节点名称。

relid

oid

表的OID。

schemaname

name

该表所在的Schema名。

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守护线程分析的次数。

support.huaweicloud.com/distributed-devg-v3-gaussdb/gaussdb-12-1246.html