Oracle官方推薦的資料遷移方式評估
APPLIES TO:
Oracle Database - Enterprise Edition - Version 8.1.7.4 and laterInformation in this document applies to any platform.
GOAL
To migrate an existing Oracle database (NOT BINARIES) from one Operating System platform to another (i.e. Windows to Solaris)
This can occur as part of an Oracle version upgrade (Oracle 8i .. Oracle 11G) or within the same Oracle version: (Oracle 10.2 to Oracle 10.2).
Changes within an Operating System (ie: Linux,Windows or Solaris from 32 bit to 64 bit) are not considered cross platform migrations and are performed as normal version upgrades/wordsize conversions.
For details please refer to the appropriate migration manual or
SOLUTION
There is no migration utility (Script or DBUA) to perform a cross platform migration of an Oracle Database.
Changing platforms requires the database be re-built and / or the data moved using one of the following methods:
-
Export / Import to include the use of Datapump facilities. All versions support Export/Import but for Datapump 10.1.0.2 or higher is required
-
Transportable Tablespaces 10G or Later
-
RMAN Convert Database functions. 10G or Later
- RMAN Duplicate
- Streams Replication
- Create Table As Select (CTAS)
- Dataguard Heterogeneous Primary and Physical Standbys
- Oracle Golden Gate (For assistance with Oracle Golden Gate, an SR needs opened with the correct team)
Each available choice will have strengths and limitations to include data types, time required and potential costs.
The choices available will depend on BOTH the Operating System and Oracle versions on both the source and destination.
For example:
There are platform limitations when using Dataguard Heterogeneous Primary and Physical Standbys
For more information please refer to Note: 413484.1 Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration
RMAN Convert Database only works if both source and destination belong to the same ENDIAN format.
RMAN Duplicate Database only works if both source and destination belong to the same ENDIAN format.
For more infomaiton on RMAn Duplicate please refer to Note: 1079563.1 RMAN DUPLICATE/RESTORE/RECOVER Mixed Platform Support 1079563.1
RMAN's convert function for Transportable Tablespaces will convert from one ENDIAN format to another.
These two commands ARE NOT the same. Please refer to the notes at the end of the document for the correct note needed.
PLATFORM_NAME | ENDIAN_FORMAT |
---|---|
Oracle Solaris on SPARC (32-bit & 64-bit) | Big |
AIX-Based Systems (64-bit) | Big |
HP-UX (64-bit) | Big |
HP-UX IA (64-bit) | Big |
IBM zSeries Based Linux | Big |
Apple Mac OS | Big |
IBM Power Based Linux | Big |
HP Tru64 UNIX | Little |
Linux IA (32-bit & 64-bit) | Little |
HP Open VMS | Little |
Microsoft Windows IA (32-bit & 64-bit) | Little |
Oracle Solaris on x86 & x86-64 | Little |
Linux 64-bit for AMD | Little |
Microsoft Windows 64-bit for AMD | Little |
The following is the basic information for using Transportable Tablespaces:
- Create an "empty" database in the new environment
- Plug in all data tablespaces from source to target database
- SYSTEM+SYSAUX tablespaces can't be transported
- Additional steps necessary to move views, synonyms etc.
- Possibly very fast upgrade
- Complexity could be constraining
- Works cross-platform and cross-Endianness since Oracle Database 10g
The following is the basic information for using Oracle Streams in an upgrade:
- Build up a copy of your database and upgrade it
- Synchronize it with the source database
- Minimal downtime: Just reconnecting the clients
- Works Across platforms
- Cross version since Oracle 9iR2
- Some effort necessary to set it up
- Fallback possible since source untouched
- Potential Issues include:
- Datatype Restrictions
- Performance
The following are a list of notes to assist users in deciding which process will work best for them.
Notes:
Note.556636.1 Oracle Server - Export Data Pump and Import DataPump FAQ
Note.351598.1 Export/Import DataPump The Minimum Requirements to Use Export DataPump and Import DataPump (System Privileges)
Note.243304.1 10g : Transportable Tablespaces Across Different Platforms
Note:371556.1 How move tablespaces across platforms using Transportable Tablespaces with RMAN
Note: 413484.1 Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration
Oracle Streams Concepts and Administration: Appendix D
REFERENCES
NOTE:62290.1 - Changing between 32-bit and 64-bit Word SizesNOTE:1401921.1 - Cross-Platform Database Migration (across same endian) using RMAN Transportable Database
NOTE:1389592.1 - 11G - Reduce Transportable Tablespace Downtime using Cross Platform Incremental Backup
NOTE:243304.1 - 10g+: Transportable Tablespaces Across Different Platforms
NOTE:351598.1 - Export/Import DataPump: The Minimum Requirements to Use Export DataPump and Import DataPump (System Privileges)
NOTE:371556.1 - How to Migrate to different Endian Platform Using Transportable Tablespaces With RMAN
NOTE:413484.1 - Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration
NOTE:553337.1 - Export/Import DataPump Parameter VERSION - Compatibility of Data Pump Between Different Oracle Versions [Video]
NOTE:556636.1 - Oracle Server - Export DataPump and Import DataPump FAQ
NOTE:1377213.1 - R11i / R12: Oracle E-Business Suite Upgrades and Platform Migration
NOTE:1133355.1 - Migrating an Oracle E-Business Suite Database to Oracle Exadata Database Machine
NOTE:1079563.1 - RMAN DUPLICATE/RESTORE/RECOVER Mixed Platform Support
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29135257/viewspace-2154558/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 1.0 ORACLE到MYSQL資料遷移方式選型OracleMySql
- 【推薦演算法】推薦系統的評估演算法
- 推薦系統的評估方法
- AWS RDS Oracle資料遷移Oracle
- 用begin backup的方式遷移資料庫資料庫
- Oracle資料庫(資料泵)遷移方案(上)Oracle資料庫
- Oracle資料庫(資料泵)遷移方案(下)Oracle資料庫
- 【推薦系統】評估指標總結指標
- 無外網Oracle資料庫遷移Oracle資料庫
- Oracle資料庫(DataGuard)遷移方案(上)Oracle資料庫
- Oracle資料庫(DataGuard)遷移方案(中)Oracle資料庫
- Oracle資料庫(DataGuard)遷移方案(下)Oracle資料庫
- 利用offline datafile檔案方式遷移資料
- mongodb資料遷移2種方式比較MongoDB
- oracle RAC 更換儲存遷移資料Oracle
- Oracle資料庫升級或資料遷移的方法探討Oracle資料庫
- 百萬級資料遷移方案測評小記
- Oracle 19c adg全庫遷移資料Oracle
- Oracle資料庫中資料行遷移與行連結Oracle資料庫
- New World Wealth:2019年全球財富遷移評估報告
- 異構資料庫資料遷移 oracle to mysql之oracle sqlloader和mysql load data資料庫OracleMySql
- 伺服器資料遷移的方法-硬體不同如何遷移資料伺服器
- 美創科技釋出資料安全綜合評估系統|推進安全評估高效開展
- Kafka資料遷移Kafka
- Harbor資料遷移
- gitlab資料遷移Gitlab
- 資料庫遷移資料庫
- 【Datapump】Oracle資料泵遷移資料命令參考(expdp/impdp說明)Oracle
- 【BUILD_ORACLE】使用Oracle資料泵線上不停機克隆/遷移PDBUIOracle
- 推薦系統實踐 0x05 推薦資料集MovieLens及評測
- Oracle官方參考資料Oracle
- oracle遷移OCR盤Oracle
- Oracle遷移文件大全Oracle
- Oracle遷移文章大全Oracle
- 大神推薦Redis叢集遷移工具:redis-migrate-toolRedis
- 分散式資料庫的健康評估分散式資料庫
- 【STATS】Oracle遷移表統計資訊Oracle
- 推薦一個Oracle資料庫學習網站Oracle資料庫學習網站