open physical standby 為read write
SQL> show parameter recover
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +DATA
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
SQL> alter database recover managed standby database cancel;
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +DATA
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
SQL> alter database recover managed standby database cancel;
資料庫已更改。
SQL> create restore point before_app guarantee flashback database;
還原點已建立。
primary:
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=DEFER;
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=DEFER;
SQL> alter database activate standby database;
資料庫已更改。
SQL> startup mount force;
ORACLE 例程已經啟動。
ORACLE 例程已經啟動。
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
資料庫裝載完畢。
SQL> alter database set standby database to maximize performance;
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
資料庫裝載完畢。
SQL> alter database set standby database to maximize performance;
資料庫已更改。
SQL> alter database open;
資料庫已更改。
SQL> select open_mode from v$database;
OPEN_MODE
----------
READ WRITE
----------
READ WRITE
SQL> startup mount force
ORACLE 例程已經啟動。
ORACLE 例程已經啟動。
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
資料庫裝載完畢。
SQL> flashback database to restore point before_app;
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
資料庫裝載完畢。
SQL> flashback database to restore point before_app;
閃回完成。
SQL> alter database convert to physical standby;
資料庫已更改。
SQL> startup mount force;
ORACLE 例程已經啟動。
ORACLE 例程已經啟動。
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
資料庫裝載完畢。
SQL> alter database recover managed standby database disconnect;
Fixed Size 1247900 bytes
Variable Size 67110244 bytes
Database Buffers 96468992 bytes
Redo Buffers 2945024 bytes
資料庫裝載完畢。
SQL> alter database recover managed standby database disconnect;
資料庫已更改。
primary:
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE;
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17997/viewspace-607686/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- write&read&open
- Oracle physical standbyOracle
- DataGuard:Physical Standby Switchover
- HDFS read and write
- DataGuard:Physical Standby FailoverAI
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- 【DG】Data Guard搭建(physical standby)
- Oracle DG建立Physical Standby DatabaseOracleDatabase
- oracle Physical Standby failover stepOracleAI
- Creating a Physical Standby DatabaseDatabase
- nodejs read/write fileNodeJS
- Physical Standby Database 切換到 Snapshot Standby DatabaseDatabase
- Performing a Failover to a Physical Standby DatabaseORMAIDatabase
- data gurad物理備份方式下以READ ONLY/WRITE模式開啟物理STANDBY模式
- 主庫歷經open resetlogs後,如何redo apply 物理備庫_flashback physical standby dbAPP
- 物理Standby資料庫及邏輯Standby資料庫(Physical Standby & Logical Standby)資料庫
- C中的open(), write(), close(), fopen()
- Physical Standby Switchover_status Showing Not Allowed
- 【DataGuard】Oracle 11g physical standby switchoverOracle
- Oracle10G Physical Standby Database setupOracleDatabase
- 最大效能Physical Standby設定記錄
- Performing a Switchover to a Physical Standby Database and failoverORMDatabaseAI
- Creating a physical standby from ASM primaryASM
- Oracle11g 中physical standby也可以read only開啟的同時進行恢復 ?Oracle
- CSS :read-write 選擇器CSS
- pread,pwrite,read,write區別
- direct path read/write等待的分析
- SRAM的Write Assist與Read Assist
- 當從READ ONLY到READ WRITE都做什麼了
- cell single block physical read等待事件BloC事件
- Script to Collect Data Guard Physical and Active Standby Diagnostic InformationORM
- oracle 10g physical standby 切換操作Oracle 10g
- ORACLE10g DataGuard 配置Physical Standby DatabaseOracleDatabase
- 關於建立DataGuard Physical Standby資料庫資料庫
- oracle 10g physical standby database creationOracle 10gDatabase
- Recover physical standby database after loss of archive log(2)DatabaseHive
- 建立Local Physical Standby Oracle9i standby 資料庫筆記Oracle資料庫筆記
- Physical Standby Switchover_status Showing Not Allowed._1392763.1