跳转至

sc_pgdatabase

sc_pgdatabase

sc_pgdatabase视图显示SeaboxMPP中Executor实例实例的状态信息,以及它们是作为镜像Executor实例还是主Executor实例。 SeaboxMPP的故障检测和恢复工具在内部使用此视图来确定失效的Executor实例。

类型 参考 描述
dbid smallint sc_node_configuration.dbid 系统分配的ID。Executor(或者Coordinator)实例的唯一标识符。
isprimary boolean sc_node_configuration.role 该实例是否处于活动状态。它目前是否作为主Executor(还是镜像Executor)。
content smallint sc_node_configuration.content 实例上部分数据的ID。
vaild boolean 实例是否成功,模式是s(sync)还是n(not in sync)。
definedprimary boolean sc_node_configuration.preferred_role 在初始化系统时,该实例是否被定义为主Executor(而不是镜像Executor)。