12c new feature
Sometimes it is necessary to move a Datafile to another Location (eg. Mountpoint, ASM Diskgroup,…) due to Space issues, Hardware Replacement or for Performance Reasons. There are several Possibilities to perform this Task explained below:
Physical Standby Database is mounted:
We can copy and rename the Datafile while Managed Recovery is stopped. If the Physical Standby Database is opened READ ONLY you have to shutdown/startup mount first (and open again after renaming). You can use either using OS-Tools and SQL*PLUS, eg.
SQL> alter database rename file ‘<Source or File#>’ to ‘<Destination>’;
SQL> alter database datavase open; # If Active Data Guard is used
or using RMAN:
RMAN> connect target /
RMAN> run
{
backup as copy datafile <File#> format ‘<Destination>’;
switch datafile <File#> to datafilecopy '<Destination from previous Command>';
}
New in Oracle Database 12c:
Physical Standby Database is in Active Data Guard Mode (opened READ ONLY and Managed Recovery is running):
It is now possible to online move a Datafile while Managed Recovery is running, ie. the Physical Standby Database is in Active Data Guard Mode. You can use this Command to move the Datafile
-> The 'keep'-Option will also keep the original Datafile, without this Option the File gets automatically deleted once the move completed.
The Destination can also be an ASM Diskgroup, of course if you want to move a Datafile to ASM or from one Diskgroup to another.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29337971/viewspace-1816620/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Database 12C New FeatureOracleDatabase
- Oracle 12c Recover Table New FeatureOracle
- oracle 12c new feature 列不可見Oracle
- java new featureJava
- 版本新特性(new feature)
- oracle 12c R2 new feature 支援執行過的歷史命令Oracle
- oracle 12c new feature crsctl 停止資源時提供預覽確認功能Oracle
- new feature ——>mysql to oracle MigrationMySqlOracle
- [20130817]Oracle 12c new feature In-Database Archiving.txtOracleDatabase
- 11g New Feature: Health monitor
- [20190805]Oracle 12c New Feature – Online Partitioning.txtOracle
- Oracle10g New Feature -- 8. Tablespace ManagementOracle
- Oracle10g New Feature -- 4. Flashback DatabaseOracleDatabase
- Oracle10g New Feature -- 3.Flashback TableOracle
- Oracle10g New Feature -- 2.Flashback RecordsOracle
- j2ee1.4 new feature請教banq
- 11g New Feature: Health monitor (Doc ID 466920.1)
- Oracle10g New Feature -- 11. Wait InterfaceOracleAI
- Oracle10g New Feature -- 7. Rollback MonitoringOracle
- Oracle10g New Feature -- 6. Oracle Data PumpOracle
- Oracle10g New Feature -- 5.Temporary Tablespace GroupOracle
- oracle10g new feature -- 1. SqlplusOracleSQL
- oracle 11g ocp new feature 1z0-050Oracle
- Oracle10g New Feature:CRS(Cluster Ready Services) (zt)Oracle
- Test Negtive Role Set in a stream environmnet- 10g_new_feature
- Oracle10g New Feature -- 9. ASM (Automatic Storage Management)OracleASM
- oracle 12cR2 new feature dbca 命令可以建立standby 庫Oracle
- Does Goldengate Support The New Oracle 10g Flashback Feature? [ID 966212.1]GoOracle 10g
- Oracle10g New Feature -- 14. OEM ( Oracle Enterprise Manager)Oracle
- Oracle10g New Feature -- 13. Automatic Shared Memory ManagementOracle
- Oracle10g New Feature --12. ASSM ( Automatic Segment Space Management )OracleSSM
- Oracle10g New Feature -- 10. AWR (Automatic Workload Repository)Oracle
- oracle10g new feature:對expdp並行方式的幾個測試Oracle並行
- oracle 12c 資料歸檔 即Using In-Database Archiving featureOracleDatabase
- zt_楊老師yangtingkun_11g new feature新特性系列文章
- row-level dependency tracking (10g new feature) SCN_TO_TIMESTAMP ora_rowscn
- Oracel 12c Alert日誌中的Creating new log segment
- New start new hope!