物理standby database的日常維護
1. Check if they are in sync
primary:
alter system switch logfile;
select max(SEQUENCE#) from v$archived_log where applied='YES';
select max(SEQUENCE#) from v$archived_log where applied='YES';
2. Check if standby database are applying the log
SQL> select PROCESS,STATUS from v$managed_standby;
PROCESS STATUS
--------------------------- ------------------------------------
ARCH CLOSING
ARCH CONNECTED
ARCH CLOSING
ARCH CLOSING
RFS IDLE
RFS IDLE
RFS IDLE
MRP0 APPLYING_LOG
8 rows selected.
3. Stop applying log
Alter database recovery managed standby database cancel;
4. Resume applying log
startup nomount;
alter database mount standby database;
alter database recover managed standby database disconnect from session;
alter database mount standby database;
alter database recover managed standby database disconnect from session;
alter database recover managed standby database using current logfile disconnect from session;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10973950/viewspace-1061240/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC 日常維護Oracle
- RAC日常維護命令
- PG日常維護(一)
- Oracle OGG日常維護Oracle
- Gerrit日常維護記錄
- 【MHA】mha日常維護命令
- DBA日常維護SQL整理SQL
- DataGuard 日常維護命令整理
- 針對oracle日常維護Oracle
- Logical Standby的維護操作_SKIP
- 伺服器的日常維護方式伺服器
- EBS DBA日常維護使用的sqlSQL
- 收集oracle日常維護的工作命令Oracle
- standby維護命令手冊(轉)
- rac叢集日常維護命令
- ORACLE DG 日常維護常用SQLOracleSQL
- DBA日常維護SQL指令碼SQL指令碼
- OGG goldengate 日常維護Go
- IBM AIX日常維護命令IBMAI
- 【轉】ORACLE CRS日常維護命令Oracle
- Oracle資料庫日常維護Oracle資料庫
- Oracle DBA 日常維護手冊Oracle
- VMware日常維護工作內容
- Oracle RAC日常基本維護命令Oracle
- linux中oracle的日常維護命令LinuxOracle
- 膝上型電腦日常維護的六個常識,筆記本日常維護小竅門筆記
- Oracle Standby系統管理與維護Oracle
- nginx日常維護常用命令Nginx
- Dataguard日常維護及故障解決
- 【轉】Oracle RAC日常基本維護命令Oracle
- standby databaseDatabase
- Oracle11g的Dataguard測試,建立物理備庫(Physical Standby Database)OracleDatabase
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- 物理standby和邏輯standby的區別
- standby database to primary database.Database
- [zt] Logical standby維護命令手冊
- 電腦日常保養維護指南(轉)
- DBA日常維護SQL指令碼_自己編寫的SQL指令碼