11g 新特性 real time apply +real time query
主庫
由不同步ASYNC改為SYNC
SQL> alter system set log_archive_dest_2='service=standby SYNC VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=standby' scope=spfile;
System altered.
備庫由日誌恢復模式變成 real time query
A physical standby database can be open for read-only access while Redo Apply is
active if a license for the Oracle Active Data Guard option has been purchased. This
capability is known as Real-time Query.
A physical standby database instance cannot be opened if Redo Apply is active on that
instance or on any other mounted instance. Use the following SQL statements to stop
Redo Apply, open a standby instance read-only, and restart Redo Apply:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
SQL> ALTER DATABASE OPEN;
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE
2> DISCONNECT;
SQL> recover managed standby database cancel;
Media recovery complete.
SQL> recover managed standby database using current logfile disconnect from session;
Media recovery complete.
主庫進行插入:
SQL> insert into paul select * from paul;
1024 rows created.
SQL> commit;
Commit complete.
SQL> select count(*) from paul;
COUNT(*)
----------
2048
備庫進行查詢
檢查recovery_managed
SQL> select recovery_mode from v$archive_dest_status where dest_id=2
2 ;
RECOVERY_MODE
-----------------------
MANAGED REAL TIME APPLY
SQL> select count(*) from paul;
COUNT(*)
----------
2048
由MANAGED REAL TIME APPLY 變為managed 模式
SQL> recover managed standby database cancel;
Media recovery complete.
SQL> recover managed standby database disconnect from session;
Media recovery complete.
SQL> select recovery_mode from v$archive_dest_status where dest_id=2
2 ;
RECOVERY_MODE
-----------------------
MANAGED
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-413643/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 查詢real-time apply、real-time query的檢視APP
- 【DataGuard】Oracle 11g DataGuard 新特性之 Active Standby:Real-Time Apply+QueryOracleAPP
- for the datagard and real time applyAPP
- Oracle 11g dataguard check real time applyOracleAPP
- oracle active data guard real-time apply特性OracleAPP
- steps to do real time apply in oracle 11gAPPOracle
- 【DataGuard】Oracle 11g物理Active Data Guard實時查詢(Real-time query)特性Oracle
- ????Oracle dataguard enabling real time applyOracleAPP
- 【DG】Real-time query實時查詢操作
- Oracle Real Time SQL MonitorOracleSQL
- Oracle Real Time SQL MonitoringOracleSQL
- Lecture 12 Real-time Ray Tracing
- ORACLE裡的慢查跟蹤 Real Time SQL Monitoring 11GR1 新特性OracleSQL
- phpmysqlimysqli_query()mysqli_real_query()PHPMySql
- Laravel 5.4 real-time facade 探究Laravel
- Lecture 05 Real-time Environment MappingAPP
- Creating a 10gr2 Data Guard Physical Standby database with Real-Time applyDatabaseAPP
- Linux核心支援實時(Real-Time)(轉)Linux
- 建立Oracle 10gR2的local stream和downstream real-time apply 流複製Oracle 10gAPP
- Real-Time C++電子書pdf下載C++
- Clock in a Linux Guest Runs More Slowly or Quickly Than Real TimeLinuxUI
- Oracle 10g R2 實現dataguard實時日誌應用(real-time apply)Oracle 10gAPP
- 利用 Real Time Facade 讓程式碼富有表達力
- 應用zabbix的實時匯出(real-time export)功能Export
- 2.3 - Laravel - 5.6 - Facade - Facades Real-Time 機制Laravel
- Oracle 12c RAC CSSD程式無法啟動real time模式OracleCSS模式
- 論文翻譯:Real-Time High-Resolution Background Matting
- 【11g新特性】DDL_LOCK_TIMEOUT的作用
- 【原創】Ubuntu Pro 中的RealTime linux(Real-time Ubuntu/PREEMPT-RT/ubuntu官方PREEMPT-RT)UbuntuLinux
- AeroSpike踩坑手記1:Architecture of a Real Time Operational DBMS論文導讀ROS
- 論文閱讀 Real-Time Streaming Graph Embedding Through Local Actions 11
- BundleFusion: Real-time GloballyConsistent 3D Reconstruction... 論文解析3DStruct
- 【PR】3D Gaussian Splatting for Real-Time Radiance Field Rendering3D
- 使用oracle 11g rman新特性 duplicate target database for standby from active database 建立物理dataguard並開啟RealOracleDatabase
- 《Real-Time Rendering 3rd》 提煉總結(二): 圖形渲染管線
- 實時&離線皮膚渲染技術(Real-time&Offline Skin Rendering)
- China Real Time:圖解2012年二季度中國經濟圖解
- 論文翻譯:2020_Densely connected neural network with dilated convolutions for real-time speech enhancement in the time domainAI