oracle data guard 主从切换 状态
2012-02-24 15:42
471 查看
v$database
NOT ALLOWED - On a primary database, this status indicates that there are no valid and enabled standby databases. On a standby database, this status indicates that a switchover request has not been received from the primary database. SESSIONS ACTIVE - The database has active sessions. On a physical standby database, the WITH SESSION SHUTDOWN SQL clause must be specified to perform a role transition while in this state. On a logical standby database, a role transition can be performed while in this state, but the role transition will not complete until all current transactions have committed. SWITCHOVER PENDING - On a physical standby database, this status indicates that a switchover request has been received from the primary database and is being processed. A physical standby database cannot switch to the primary role while in this transient state. SWITCHOVER LATENT - On a physical standby database, this status indicates that a switchover request was pending, but the original primary database has been switched back to the primary role. TO PRIMARY - The database is ready to switch to the primary role. TO STANDBY - The database is ready to switch to either the physical or logical standby role. TO LOGICAL STANDBY - The database has received a data dictionary from a logical standby database and is ready to switch to the logical standby role. RECOVERY NEEDED - On a physical standby database, this status indicates that additional redo must be applied before the database can switch to the primary role. PREPARING SWITCHOVER - On a primary database, this status indicates that a data dictionary is being received from a logical standby database in preparation for switching to the logical standby role. On a logical standby database, this status indicates that the data dictionary has been sent to the primary database and other standby databases. PREPARING DICTIONARY - On a logical standby database, this status indicates that the data dictionary is being sent to the primary database and other standby databases in preparation for switching to the primary role. FAILED DESTINATION - On a primary database, this status indicates that one or more standby destinations are in an error state. RESOLVABLE GAP - On a primary database, this status indicates that one or more standby databases have a redo gap that can be automatically resolved by fetching the missing redo from the primary database or from another standby database. UNRESOLVABLE GAP - On a primary database, this status indicates that one or more standby databases have a redo gap that cannot be automatically resolved by fetching the missing redo from the primary database or from another standby database. LOG SWITCH GAP - On a primary database, this status indicates that one or more standby databases are missing redo due to a recent log switch.本文出自 “飞熊记事本” 博客,谢绝转载!
相关文章推荐
- Oracle 11g Data Guard主备库角色切换
- 【转载】Oracle 数据库主从切换整理
- Oracle 11g Data Guard之主备库切换(switchover不使用DG Broker)
- oracle 搭建实时同步data guard的最高可用-切换主备
- Oracle重做日志组状态及切换解析
- Oracle Data Guard 快速启动故障切换指南
- Oracle Data Guard 快速启动故障切换
- Oracle Data Guard 快速启动故障切换指南
- Oracle data guard 切换
- 关于Oracle Data Guard的角色切换
- Oracle 白皮书-Oracle Data Guard 快速启动故障切换指南(1)
- 在Oracle各启动模式间切换及受限状态、只读状态详解
- Oracle 白皮书-Oracle Data Guard 快速启动故障切换指南(1)
- Oracle 白皮书-Oracle Data Guard 快速启动故障切换指南(2)
- Oracle 11G 数据库 DATA GUARD主从同步配置详解
- Oracle 白皮书-Oracle Data Guard 快速启动故障切换指南(2)
- Oracle 白皮书-Oracle Data Guard 快速启动故障切换指南(3)
- Oracle 白皮书-Oracle Data Guard 快速启动故障切换指南(3)
- Linux下Oracle 10g DataGuard配置(主从同步及切换)
- nginx+keepalive主从双机热备+自动切换解决方案