数据仓库服务 GAUSSDB(DWS)-备份控制函数:pgxc_get_senders_catchup_time()

时间:2024-04-18 16:25:13

pgxc_get_senders_catchup_time()

描述:显示所有DN上当前活跃的主备发送线程的追赶信息。

返回值类型:record

函数返回信息如下:

表1 pgxc_get_senders_catchup_time()字段

名称

类型

描述

node_name

text

节点名称。

lwpid

integer

当前sender的lwpid。

local_role

text

本地的角色。

peer_role

text

对端的角色。

state

text

当前sender的复制状态。

sender

text

当前sender的类型。

catchup_start

timestamp with time zone

catchup启动的时间。

catchup_end

timestamp with time zone

catchup结束的时间。

catchup_type

text

catchup方式为全量还是增量。

catchup_bcm_filename

text

catchup当前执行到的bcm文件

catchup_bcm_finished

integer

catchup已经操作完成的bcm文件数量。

catchup_bcm_total

integer

catchup总共需要操作的bcm文件数量。

catchup_percent

text

catchup已经操作完成的百分比。

catchup_remaining_time

text

catchup预估剩余时间。

support.huaweicloud.com/sqlreference-830-dws/dws_06_0300.html