PG_STAT_BAD_BLOCK视图显示自节点启动后,读取数据时出现Page/CU校验失败的统计信息。
表 1 PG_STAT_BAD_BLOCK字段
名称
|
类型
|
描述
|
nodename
|
text
|
节点名。
|
databaseid
|
integer
|
数据库OID。
|
tablespaceid
|
integer
|
表空间OID。
|
relfilenode
|
integer
|
文件对象ID。
|
bucketid
|
smallint
|
一致性hash bucket ID。
|
forknum
|
integer
|
文件类型。
|
error_count
|
integer
|
出现校验失败的次数。
|
first_time
|
timestamp with time zone
|
第一次出现时间。
|
last_time
|
timestamp with time zone
|
最近一次出现时间。
|
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。