Migration Of An Oracle Database Across OS Platforms [ID 733205.1]
In this Document
Applies to:
Oracle Server - Enterprise Edition - Version 8.1.7.4 to 11.2.0.3 [Release 8.1.7 to 11.2]Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: 8.1.7.4 to 11.2.0.3
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
Fix
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
- 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'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
http://download.oracle.com/docs/cd/E11882_01/server.112/e17069/ap_strmnt.htm#CIHJBIAA
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 - Reduce Transportable Tablespace Downtime using Cross Platform. Incremental Backups
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 Data Pump and Import DataPump FAQ
|
|
- Oracle Database Products > Oracle Database > Oracle Database > Oracle Database - Enterprise Edition > Transportable Tablespaces
- Oracle Database Products > Oracle Database > Oracle Database > Oracle Database - Enterprise Edition > Export
- Oracle Database Products > Oracle Database > Oracle Database > Oracle Database - Enterprise Edition > Migration issues
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-753212/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- What is the Impact on the Database When Modifying the OS DateDatabase
- ORACLE database vaultOracleDatabase
- Oracle clone databaseOracleDatabase
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Oracle Database Scheduler整理OracleDatabase
- Oracle Physical Database LimitsOracleDatabaseMIT
- rfs (PID:146054): Database mount ID mismatch案例Database
- [Database Migration] 記一次未達預期的資料庫遷移Database資料庫
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- Oracle 12.2 使用Database Link優化Standby Database WorkloadOracleDatabase優化
- DevOps 自動化實踐 — K8s 自動化執行 Database MigrationdevK8SDatabase
- Mac OS即將可以使用Face IDMac
- Oracle 19c Concepts(01):Introduction to Oracle DatabaseOracleDatabase
- Oracle 19c Concepts(13):Oracle Database InstanceOracleDatabase
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- Oracle OCP(35):Database 安裝OracleDatabase
- oracle 10g flashback databaseOracle 10gDatabase
- Oracle DG Standby Database型別OracleDatabase型別
- Oracle DG建立Physical Standby DatabaseOracleDatabase
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Oracle 12C Database File Mapping for Oracle ASM FilesOracleDatabaseAPPASM
- Oracle OCP(38):Database 物理結構OracleDatabase
- 關於Oracle Database Vault介紹OracleDatabase
- Scheduler in Oracle Database 10g(轉)OracleDatabase
- [翻譯]-Detect And Repair Corruption in an Oracle DatabaseAIOracleDatabase
- Oracle 19c Database Management ToolsOracleDatabase
- Oracle 19c Concepts(00):Changes in This Release for Oracle Database ConceptsOracleDatabase
- 【Oracle】Windows安裝oracle11gR1 database 11.1.0.6OracleWindowsDatabase
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- oracle中執行os命令(轉)Oracle
- Oracle OCP(37):Database 體系結構OracleDatabase
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- Sqlcl 連線Oracle DataBase 19cSQLOracleDatabase
- 1 Oracle Database 19c 新特性OracleDatabase
- Oracle OCP(13):GROUPING & GROUPING_ID & GROUP_ID & GROUPING SETSOracle
- 2.3.4 Migration of an Existing ApplicationAPP
- Oracle 19c Concepts(18):Concepts for Database AdministratorsOracleDatabase