oracle9i(9204)dg(data guard)_adding and dropping online redo logs_物理_physical
Changing the size and number of the online redo logs is sometimes done to tune the database. You can add redo log file groups or members to the primary database without affecting the standby database. Similarly, you can drop log file groups or members from the primary database without affecting your standby database. However, these changes do affect the performance of the standby database after switchover.
For example, if the primary database has 10 redo logs and the standby database has 2, and then you switch over to the standby database so that it functions as the new primary database, the new primary database is forced to archive more frequently than the original primary database.
Consequently, when you add or drop an online redo log at the primary site, it is important that you synchronize the changes in the standby database by following these steps:
- If managed recovery is on, you must cancel it before you can change the logs.
- If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO, change the value to MANUAL.
- Add or drop an online redo log:
- To add an online redo log, use a SQL statement such as this:
SQL> ALTER DATABASE ADD STANDBY LOGFILE 'prmy3.log' SIZE 100K;
- To drop an online redo log, use a SQL statement such as this:
SQL> ALTER DATABASE DROP STANDBY LOGFILE 'prmy3.log';
- To add an online redo log, use a SQL statement such as this:
- Repeat the statement you used in step 3 on each standby database.
- Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the managed recovery options to their original states.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-628163/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【DG】Data Guard搭建(physical standby)
- 【DG】Data Guard主備庫Failove切換AI
- 【DG】Data Guard主備庫Switchover切換
- 【ASK_ORACLE】Oracle Data Guard(一)DG架構Oracle架構
- 使用Data Guard Broker進行Data Guard物理備用庫配置(Oracle 19c)Oracle
- CDM(Conceptual Data Model,概念資料模型)和 PDM(Physical Data Model,物理資料模型)模型
- Oracle DG建立Physical Standby DatabaseOracleDatabase
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- G008-ORACLE-DG ORACLE 19C Active Data Guard DML RedirectionOracle
- Oracle 19C Data Guard基礎運維-02 Switchovers(物理)Oracle運維
- Oracle 19C Data Guard基礎運維-03 Failovers(物理)Oracle運維AI
- 3 建立物理DG
- Oracle 19C Data Guard基礎運維-01安裝物理standbyOracle運維
- 【ASK_ORACLE】Oracle Data Guard(二)物理備庫的概念和優勢Oracle
- Oracle DG管理Redo Transport服務Oracle
- Oracle Data Guard Broker元件Oracle元件
- Oracle Data Guard簡介Oracle
- 單機搭建Data Guard
- ORACLE RAC+DG調整redo大小Oracle
- 物理DG、邏輯DG和快照DG的搭建(視訊講解)
- 1 關於 Oracle Data GuardOracle
- 2 Oracle Data Guard 安裝Oracle
- 1 Oracle Data Guard Broker 概念Oracle
- bd_ticket_guard_client_dataclient
- Oracle Data Guard和Broker概述Oracle
- Oracle 19C Data Guard基礎運維-07 failover後閃回恢復dg架構Oracle運維AI架構
- Oracle 18c&19c physical dg切換總結Oracle
- 【DG】Oracle 19c使用dbca來搭建物理DGOracle
- 8 Oracle Data Guard Broker 屬性Oracle
- 9 Oracle Data Guard 故障診斷Oracle
- Bd-Ticket-Guard-Client-Data逆向client
- 26_Oracle redo物理結構解析Oracle Redo
- Oracle RAC+DG 調整redo/standby log fileOracle
- DG -- READ ONLY模式開啟物理Standby模式
- oracle 11g data guard維護Oracle
- 4.1.6 Oracle Restart 與 Oracle Data Guard 整合OracleREST
- 【DATAGUARD】Oracle19c Data Guard BrokerOracle
- 2 開始實用 Oracle Data GuardOracle
- 19 Oracle Data Guard 相關檢視Oracle