Updated on 2024-05-07 GMT+08:00

SUMMARY_STAT_BAD_BLOCK

Obtains the summary of information about table and index read failures on each node in the cluster. It is used on CNs. The statistics of different DNs is summed up. The value of first_time is the statistics collection start time, and the value of last_time is the statistics collection end time.

Table 1 SUMMARY_STAT_BAD_BLOCK columns

Name

Type

Description

databaseid

integer

Database OID.

tablespaceid

integer

Tablespace OID.

relfilenode

integer

Relationship file node.

forknum

bigint

Fork number.

error_count

bigint

Number of errors.

first_time

timestamp with time zone

Time when the page damage occurs for the first time.

last_time

timestamp with time zone

Time when the page damage occurs for the last time.