Oracle 11g dataguard check real time apply
Oracle 11g dataguard check real time apply (on standby)
環境:oracle 11.2.0.1 rac on redhat 5.8
總結方法:
1、select open_mode from v$database;
READ ONLY WITH APPLY --證明開啟 RTA
2、select DEST_ID,DEST_NAME,RECOVERY_MODE from v$archive_dest_status ;
RECOVERY_MODE為MANAGED REAL TIME APPLY –證明開啟了 RTA
未開啟real time apply
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ ONLY
開啟real time apply
物理DG開啟RTA命令如下:
alter database recover managed standby database using current logfile disconnect;
SQL> select process,client_process,status,thread#,sequence#,block#,blocks from v$managed_standby;
PROCESS CLIENT_P STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
--------- -------- ------------ ---------- ---------- ---------- ----------
ARCH ARCH CLOSING 2 33 57344 1023
ARCH ARCH CLOSING 1 35 1 1
ARCH ARCH CONNECTED 0 0 0 0
ARCH ARCH CLOSING 1 34 1 1
RFS N/A IDLE 0 0 0 0
RFS LGWR IDLE 2 34 4987 1
MRP0 N/A APPLYING_LOG 1 37 26 102400
RFS UNKNOWN IDLE 0 0 0 0
RFS UNKNOWN IDLE 0 0 0 0
RFS N/A IDLE 0 0 0 0
RFS LGWR IDLE 1 37 27 1
PROCESS CLIENT_P STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
--------- -------- ------------ ---------- ---------- ---------- ----------
RFS UNKNOWN IDLE 0 0 0 0
--redo apply情況
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ ONLY WITH APPLY
SQL> select DEST_ID,DEST_NAME,RECOVERY_MODE from v$archive_dest_status ;
DEST_ID DEST_NAME RECOVERY_MODE
---------- -------------------- -----------------------
1 LOG_ARCHIVE_DEST_1 MANAGED REAL TIME APPLY
2 LOG_ARCHIVE_DEST_2 IDLE
3 LOG_ARCHIVE_DEST_3 IDLE
4 LOG_ARCHIVE_DEST_4 IDLE
5 LOG_ARCHIVE_DEST_5 IDLE
6 LOG_ARCHIVE_DEST_6 IDLE
7 LOG_ARCHIVE_DEST_7 IDLE
8 LOG_ARCHIVE_DEST_8 IDLE
9 LOG_ARCHIVE_DEST_9 IDLE
10 LOG_ARCHIVE_DEST_10 IDLE
11 LOG_ARCHIVE_DEST_11 IDLE
DEST_ID DEST_NAME RECOVERY_MODE
---------- -------------------- -----------------------
12 LOG_ARCHIVE_DEST_12 IDLE
13 LOG_ARCHIVE_DEST_13 IDLE
14 LOG_ARCHIVE_DEST_14 IDLE
15 LOG_ARCHIVE_DEST_15 IDLE
16 LOG_ARCHIVE_DEST_16 IDLE
17 LOG_ARCHIVE_DEST_17 IDLE
18 LOG_ARCHIVE_DEST_18 IDLE
19 LOG_ARCHIVE_DEST_19 IDLE
20 LOG_ARCHIVE_DEST_20 IDLE
21 LOG_ARCHIVE_DEST_21 IDLE
22 LOG_ARCHIVE_DEST_22 IDLE
DEST_ID DEST_NAME RECOVERY_MODE
---------- -------------------- -----------------------
23 LOG_ARCHIVE_DEST_23 IDLE
24 LOG_ARCHIVE_DEST_24 IDLE
25 LOG_ARCHIVE_DEST_25 IDLE
26 LOG_ARCHIVE_DEST_26 IDLE
27 LOG_ARCHIVE_DEST_27 IDLE
28 LOG_ARCHIVE_DEST_28 IDLE
29 LOG_ARCHIVE_DEST_29 IDLE
30 LOG_ARCHIVE_DEST_30 IDLE
31 LOG_ARCHIVE_DEST_31 IDLE
32 STANDBY_ARCHIVE_DEST IDLE
紅色部分證明standby database 開啟了real time apply
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26442936/viewspace-768474/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ????Oracle dataguard enabling real time applyOracleAPP
- 【DataGuard】Oracle 11g DataGuard 新特性之 Active Standby:Real-Time Apply+QueryOracleAPP
- 11g 新特性 real time apply +real time queryAPP
- steps to do real time apply in oracle 11gAPPOracle
- for the datagard and real time applyAPP
- oracle active data guard real-time apply特性OracleAPP
- 查詢real-time apply、real-time query的檢視APP
- 【DataGuard】Oracle 11g物理Active Data Guard實時查詢(Real-time query)特性Oracle
- Oracle 10g R2 實現dataguard實時日誌應用(real-time apply)Oracle 10gAPP
- Oracle Real Time SQL MonitorOracleSQL
- Oracle Real Time SQL MonitoringOracleSQL
- 建立Oracle 10gR2的local stream和downstream real-time apply 流複製Oracle 10gAPP
- oracle 11g dataguardOracle
- Oracle 11g RAC DG備庫gv$dataguard_stats apply lag值較大OracleAPP
- Oracle之11g DataGuardOracle
- oracle 11G dataguard配置Oracle
- oracle 11g dataguard 建立Oracle
- Oracle 11g Active DataguardOracle
- Creating a 10gr2 Data Guard Physical Standby database with Real-Time applyDatabaseAPP
- [zt] Oracle 11g DataGuard 配置Oracle
- [Oracle] oracle 11g dataguard (one instance)Oracle
- V$DATAGUARD_STATS中 transport lag 或 apply finish time 是空值APP
- 使用oracle 11g rman新特性 duplicate target database for standby from active database 建立物理dataguard並開啟RealOracleDatabase
- oracle 11g dataguard 完全手冊Oracle
- ORACLE 11g dataguard配置練習Oracle
- 【DataGuard】Oracle 11g physical standby switchoverOracle
- 【DataGuard】Oracle 11g DataGuard 新特性之 Snapshot Standby DatabaseOracleDatabase
- 【DataGuard】手工冷備搭建 Oracle 11g DataGuard 物理備庫Oracle
- Oracle DataGuard 11g 雙機實驗Oracle
- Oracle 11g Active Dataguard Switchover實驗Oracle
- DataGuard on Oracle 11g初步介紹(1)Oracle
- DataGuard on Oracle 11g初步介紹(2)Oracle
- DataGuard on Oracle 11g初步介紹(3)Oracle
- 【DataGuard】Oracle 11g DataGuard 角色轉換(一)物理備庫SwitchoverOracle
- Oracle 11g dataguard 配置簡約步驟Oracle
- 探索ORACLE之11g DataGuard_01概念Oracle
- Oracle 11g RAC 配置單例項 DataGuardOracle單例
- 11G執行oracle自帶的檢查 checkOracle