12c release has given us the ability to virtualize databases. These procedure outlines three methods to move a stand-alone database to a 12c PDB. Each of these methods have both positive and negatives aspects. Careful thought, analysis and some testing should be performed before deciding which method is best for your situation.
Method 1 – DBMS_PDB package.
DBMS_PDB package is provided with Oracle 12c RDBMS release. It provides multiple procedures for checking, preparing, creating conversions, and cleaning up after movement of standalone database to PDB.
Pros:
- Removes guess work from conversion process.
- No coding on administrators part.
- No need to create PDB before procedure.
Cons:
- No ability to transform data elements.
Method 2 – Data Pump
Use the EXP/IMP to extract metadata and data from standalone database into PDB.
Pros:
- EXP/IMP utility of data pump are well known.
- Able to do inclusive/exclusive data movement.
- Able to start and stop.
Cons:
- Have to build CDB and PDB for destination.
- Can requires disk space for exports.
- Can be very time consuming.
Method 3 – Goldengate / ETL technology
Use Goldengate or other ETL tool to move data from existing standalone into PDB.
Pros:
- Can be done online with minimal down time.
- Is extremely flexible.
- Able to start and stop.
- Able to transform data during process.
Cons:
- Have to build CDB and PDB for destination.
- Expensive licensing cost.
- Can be time consuming.
Larry Catt
OCP