數據文件必須拷貝到DB_FILE_NAME_CONVERT初始化指定的目錄,如果DB_FILE_NAME_CONVERT沒有定義,那么在失敗后,包含傳輸表空間被
8.3.3 Using Transportable Tablespaces with a Physical Standby Database
8.3.3 物理備庫使用傳輸表空間
You can use the Oracle transportable tablespaces feature to move a subset of an Oracle database and plug it in to another Oracle database, essentially moving tablespaces between the databases.
你可以使用oracle傳輸表空間特征,從oracle數據庫的一個子集傳輸到另一個oracle數據庫,實質上是在數據庫將移動表空間。
To move or copy a set of tablespaces into a primary database when a physical standby is being used, perform the following steps:
當備庫在使用時,移動或者拷貝一組表空間到主庫,執行以下步驟:
1.
Generate a transportable tablespace set that consists of datafiles for the set of tablespaces being transported and an export file containing structural information for the set of tablespaces.
1.得到包含要被傳輸的一組表空間集,導出包括這一組表空集的框架信息的文件。
2.Transport the tablespace set:
2.傳輸表空間集
Copy the datafiles and the export file to the primary database.
1.拷貝數據文件,并導出文件到主庫。
2.Copy the datafiles to the standby database.
2.拷貝數據文件到備庫。
The datafiles must be copied in a directory defined by the DB_FILE_NAME_CONVERT initialization parameter. If DB_FILE_NAME_CONVERT is not defined, then issue the ALTER DATABASE RENAME FILE statement to modify the standby control file after the redo data containing the transportable tablespace has been applied and has failed. The STANDBY_FILE_MANAGEMENT initialization parameter must be set to AUTO.
數據文件必須拷貝到DB_FILE_NAME_CONVERT初始化指定的目錄,,如果DB_FILE_NAME_CONVERT沒有定義,那么在失敗后,包含傳輸表空間被應用的重做數據,可以發出 ALTER DATABASE RENAME FILE語句來改變備用控制文件。STANDBY_FILE_MANAGEMENT參數必須要設置為AUTO。
3.Plug in the tablespace.
3.插入表空間
Invoke the Data Pump utility to plug the set of tablespaces into the primary database. Redo data will be generated and applied at the standby site to plug the tablespace into the standby database.
調用數據泵來把這一組表空間插入到主數據庫,則備庫就會得到重做數據并應用,將表空間插入到備庫中。
相關參考:
Oracle Data Guard 重要配置參數
基于同一主機配置 Oracle 11g Data Guard
探索Oracle之11g DataGuard
Oracle Data Guard (RAC+DG) 歸檔刪除策略及腳本
Oracle Data Guard 的角色轉換
Oracle Data Guard的日志FAL gap問題
Oracle 11g Data Guard Error 16143 Heartbeat failed to connect to standby 處理方法
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com