Oracle 12c no-CDB轉換為CDB
如果把資料庫從11g 升級到12c,或者在12c中建立的,就是NON CDB,那麼這樣的資料庫就是普通的單例項,
和12c 之前的資料庫沒有區別,但12c 的特點就是CDB 管理,所以既然上12c,還是要切換成CDB 進行管理。
https://blog.csdn.net/shiyu1157758655/article/details/78592265
ORCLE 12.1 Creation of a PDB from a Non-CDB
You can move a non-CDB into a PDB.
You can accomplish this task in the following ways:
-
Executing
DBMS_PDB.DESCRIBE
on a non-CDB in Oracle Database 12 cYou place a non-CDB in a transactionally consistent state, and then run the
DBMS_PDB.DESCRIBE
function to generate XML metadata about this database. While connected to the root in the CDB, you execute theCREATE PLUGGABLE DATABASE
statement to create a PDB from the existing non-CDB. Finally, to convert the definitions in the PDB data dictionary to references to objects inCDB$ROOT
, log in to the PDB and run thenoncdb_to_pdb.sql
script.See Oracle Database Administrator’s Guide to learn how to perform this technique.
-
Using Oracle Data Pump with or without transportable tablespaces
You can define a data set on a non-CDB using Oracle Data Pump. This non-CDB can be in the current or a previous Oracle Database release, for example, Oracle Database 10 g . You create an empty PDB in an existing CDB, and then use Oracle Data Pump to import the data set into the PDB.
A Full Transportable Export using Oracle Data Pump exports all objects and data necessary to create a complete copy of the database. Oracle Data Pump exports objects using direct path unload and external tables, and then imports objects using direct path INSERT and external tables. The Full Transportable dump file contains all objects in the database, not only table-related objects. Full Transportable Export is available starting in Oracle Database 11 g Release 2 (11.2.0.3) for import into Oracle Database 12 c .
See Oracle Database Administrator’s Guide to learn how to perform this technique.
-
Using Oracle GoldenGate replication
You replicate the data from the non-CDB to a PDB. When the PDB becomes current with the non-CDB, you switch over to the PDB.
See Oracle Database Administrator’s Guide to learn how to perform this technique.
ORACLE 12.2 Creation of a PDB by Cloning a PDB or a Non-CDB
To clone a PDB or non-CDB, use the
CREATE PLUGGABLE DATABASE
statement with the
FROM
clause.
In this technique, the source is either a non-CDB, or a PDB in a local or remote CDB. The target is the PDB copied from the source. The cloning operation copies the files associated with the source to a new location, and then assigns a new GUID to create the PDB.
This technique is useful for quickly creating PDBs for testing and development. For example, you might test a new or modified application on a cloned PDB before deploying the application in a production PDB. If a PDB is in , then the source PDB can be open in read/write mode during the operation, referred to as .
Note:
If you clone a PDB from a remote CDB, then you must use a database link .
多租戶架構文件的路線圖
Category | Topic | Documentation |
---|---|---|
Concepts |
Overview of CDBs and PDBs |
Chapters in Oracle Database Concepts , and Oracle Database Administrator’s Guide |
Administration |
Creating and configuring a CDB |
|
Administration |
Managing a CDB |
|
Administration |
Creating and configuring PDBs |
|
Administration |
Managing PDBs |
|
Administration |
Creating and removing application containers |
|
Administration |
Administering application containers |
|
Performance |
Troubleshooting PDBs |
|
Monitoring |
Viewing information about CDBs and PDBs |
|
Backup and Recovery |
Performing backup and recovery in a CDB |
|
Security |
Managing common users, roles, and privileges in a CDB |
|
Miscellaneous |
All other tasks relating to managing a CDB or PDB, including Oracle RAC, resource management, data transfer, and so on |
Oracle Database Administrator’s Guide is the primary task-oriented intermediate and advanced documentation for managing CDBs. This guide also contains See Also links to books that cover different CDB topics. For example, Oracle Database Utilities explains concepts and tasks specific to PDBs when using Oracle Data Pump. |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31397003/viewspace-2638879/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 12c nocdb轉換成cdbOracle
- Oracle 12c系列(七) | Non-CDB轉換為PDBOracle
- Oracle 12c 手動建立CDB和非CDBOracle
- 【CDB】怎樣轉換non-CDB to CDB
- oracle 12c non-cdb升級成cdb模式Oracle模式
- Oracle 12c CDB&PDBs管理Oracle
- Oracle 12c 手動建立CDBOracle
- Oracle 12C RMAN Duplicating the Whole RAC CDB to local RAC CDBOracle
- Oracle 12c RMAN Duplicating the Whole CDBOracle
- ORACLE 12C新特性——CDB與PDBOracle
- Oracle 12c 建立與刪除CDB、PDBsOracle
- Oracle 12C RAC CDB資料庫部署Oracle資料庫
- Oracle 12C RMAN Duplicating the PDB to remote CDBOracleREM
- Oracle 12c CDB&PDB 基本維護Oracle
- Oracle 12c 使用Non-CDB來建立PDBOracle
- Oracle 12c 多租戶 CDB 與 PDB之 shared undo 與 Local undo 切換Oracle
- 【資料庫升級】Oracle指令碼升級12c CDB to 19c CDB資料庫Oracle指令碼
- Oracle 12c 檢視CDB&PDBs資訊(SQL*PLUS)OracleSQL
- Oracle 12c 多租戶 CDB 與 PDB 備份Oracle
- Oracle 12c中的轉換功能增強Oracle
- Oracle Blob 轉換為ClobOracle
- Oracle 12C RMAN transport tablespace from PDB of RAC CDB to remote PDBOracleREM
- 【ASK_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(一)什麼是CDB與PDB?Oracle
- Oracle 12C 中CDB和PDB的引數檔案管理Oracle
- oracle 12c Release 2 版本廢棄 Non-CDB ArchitectureOracle
- 【BAK_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(三)CDB與PDB的備份方式Oracle
- oracle 12c中CDB和PDB的備份還原實驗Oracle
- oracle 12c PDB隨CDB啟動和連結PDB的方式Oracle
- Oracle 12c 多租戶配置和修改 CDB 和 PDB 引數Oracle
- oracle 12c CDB企業管理器(EM Express)的配置方法OracleExpress
- 12c RAC 和 CDB/PDB 學習
- 【CDB】Oracle CDB/PDB常用管理命令Oracle
- oracle 12c flex cluster專題 之 節點角色轉換OracleFlex
- Oracle 普通table 轉換為partition tableOracle
- Oracle 12c 多租戶專題|CDB後設資料內幕Oracle
- Oracle 12c 多租戶在 CDB 中 Plug A PDB,Unplugging A PDBOracle
- 12c 使用SQL命令手工建立CDB數SQL
- oracle 外部表 漢字轉換為拼音Oracle