云数据库 GAUSSDB-统计信息函数:gs_paxos_stat_replication()

时间:2025-10-17 14:34:22

gs_paxos_stat_replication()

描述:在主机端查询备机信息。

返回值类型:setof record

返回字段说明如下:

字段名称

字段类型

字段说明

local_role

text

发送日志节点的角色。

peer_role

text

接收日志节点的角色。

local_dcf_role

text

发送日志节点的DCF角色。

peer_dcf_role

text

接收日志节点的DCF角色。

peer_state

text

接收日志节点的状态。

sender_write_location

text

发送日志节点写到xlog buffer的位置。

sender_commit_location

text

发送日志节点DCF日志达成一致性点。

sender_flush_location

text

发送日志节点写到xlog disk的位置。

sender_replay_location

text

发送日志节点replay的位置。

receiver_write_location

text

接收日志节点写到xlog buffer的位置。

receiver_commit_location

text

接收日志节点DCF日志达成一致性点。

receiver_flush_location

text

接收日志节点写到xlog disk的位置。

receiver_replay_location

text

接收日志节点重演xlog的位置。

sync_percent

text

同步百分比。

dcf_run_mode

int4

DCF同步模式。

channel

text

信道信息。

support.huaweicloud.com/centralized-devg-v8-gaussdb/gaussdb-42-2062.html