12c多租户管理七(在cdb中插入 pdb)

pdb的插入


目录结构


一、说明

二、插入图示

三、语法关键字说明

四、插入的几种方式


一、说明

    1、Automatic downgrade of a PDB is not supported. Therefore, you cannot plug in a PDB if the source CDB is a higher Oracle Database           release  than the target CDB

    2、Either the XML file that describes the PDB or the .pdb archive file must exist in a location that is accessible to the CDB.

    3、The USING clause must specify the XML file or the .pdb archive file.

    4、The source and target CDB platforms must meet the following requirements:

       Creating a PDB by Plugging an Unplugged PDB into a CDB

           They must have the same endianness.

           The database options installed on the source platform must be the same as, or a subset of, the database options installed on             the  target platform


二、插入图示

image.png

三、语法关键字说明


1、using 子句:该子句指定拔出 pdb 的 xml 文件或者 pdb 文件位置。

2、file_name_convert 子句设置源可插拔 pdb 数据文件位置和在目标 cdb 中可插拔数据文

件的位置

3、copy 从一个位置拷贝到另一个位置

4、move 从一个位置移动到另一个位置


四、插入的几种方式

4.1、在同一个 cdb 中 nocopy 方式image.png

4.2、在同一个 cdb 中拷贝方式

image.png

4.3、在同一主机不同 cdb 中克隆移动方式

image.png




猜你喜欢

转载自blog.51cto.com/jiujian/2498010