PG_STATIO_SYS_TABLES视图显示命名空间中所有系统表的IO状态信息。
表 1 PG_STATIO_SYS_TABLES字段
名称
|
类型
|
描述
|
relid
|
oid
|
表OID。
|
schemaname
|
name
|
该表模式名。
|
relname
|
name
|
表名。
|
heap_blks_read
|
bigint
|
从该表中读取的磁盘块数。
|
heap_blks_hit
|
bigint
|
此表缓存命中数。
|
idx_blks_read
|
bigint
|
从表中所有索引读取的磁盘块数。
|
idx_blks_hit
|
bigint
|
表中所有索引命中缓存数。
|
toast_blks_read
|
bigint
|
此表的TOAST表读取的磁盘块数(如果存在)。
|
toast_blks_hit
|
bigint
|
此表的TOAST表命中缓冲区数(如果存在)。
|
tidx_blks_read
|
bigint
|
此表的TOAST表索引读取的磁盘块数(如果存在)。
|
tidx_blks_hit
|
bigint
|
此表的TOAST表索引命中缓冲区数(如果存在)。
|
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。