GLOBAL_RECOVERY_STATUS
GLOBAL_RECOVERY_STATUS视图显示关于主机和备机的日志流控信息,如表1所示。多租场景下,non-PDB访问该视图时返回全部信息,PDB访问该视图时返回空列表。
| 
       名称  | 
     
       类型  | 
     
       描述  | 
    
|---|---|---|
| 
       node_name  | 
     
       text  | 
     
       节点名称,包含主机和备机。  | 
    
| 
       standby_node_name  | 
     
       text  | 
     
       备机节点的名称。  | 
    
| 
       source_ip  | 
     
       text  | 
     
       主机的IP地址。  | 
    
| 
       source_port  | 
     
       integer  | 
     
       主机的端口号。  | 
    
| 
       dest_ip  | 
     
       text  | 
     
       备机的IP地址。  | 
    
| 
       dest_port  | 
     
       integer  | 
     
       备机的端口号。  | 
    
| 
       current_rto  | 
     
       bigint  | 
     
       备机当前的日志流控时间,单位秒。  | 
    
| 
       target_rto  | 
     
       bigint  | 
     
       备机通过GUC参数设置的预期流控时间,单位秒。  | 
    
| 
       current_sleep_time  | 
     
       bigint  | 
     
       为了达到此RTO预期,主机所需要执行的睡眠时间,单位微秒。  |