91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

PDB拔插

發布時間:2020-07-17 23:15:32 來源:網絡 閱讀:639 作者:whshurk 欄目:關系型數據庫

1.使用SQL DEVELOPER
PDB拔插
PDB拔插
PDB拔插
PDB拔插
PDB拔插
2.使用語句
SQL> col pdb_name format A20
SQL> col status format A20
SQL> select pdb_name, status from cdb_pdbs;

PDB_NAME STATUS


PDBTEST NORMAL
PDB$SEED NORMAL
CLONEPDB NORMAL
SQL> alter pluggable database clonepdb close immediate;
SQL> alter pluggable database clonepdb unplug into 'C:\app\Administrator\virtual\product\12.2.0\dbhome_2\database\clonepdb.xml';
SQL> select pdb_name, status from cdb_pdbs;
PDB_NAME STATUS
-------------------- -------------------- PDBTEST NORMAL
PDB$SEED NORMAL
CLONEPDB UNPLUGGED

SQL> select pdb_name, status from cdb_pdbs;

PDB_NAME STATUS -------------------- --------------------
PDBTEST NORMAL
PDB$SEED NORMAL CLONEPDB UNPLUGGED

SQL> drop pluggable database clonepdb keep datafiles;

插接式數據庫已刪除。

SQL> select pdb_name, status from cdb_pdbs;

PDB_NAME STATUS


PDBTEST NORMAL
PDB$SEED NORMAL
C:\Users\Administrator>mkdir C:\app\Administrator\virtual\oradata\newtest\clonepdb_plug
C:\Users\Administrator>sqlplus / as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on 星期四 12月 14 15:47:00 2017

Copyright (c) 1982, 2016, Oracle. All rights reserved.

連接到:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> create pluggable database clonepdb_plug using 'C:\app\Administrator\virtual\product\12.2.0\dbhome_2\database\clonepdb.xml' MOVE 2 FILE_NAME_CONVERT=('C:\app\Administrator\virtual\oradata\newtest\CLONEPDB','C:\app\Administrator\virtual\oradata\newtest\clonepdb_plug');
插接式數據庫已創建。
SQL> col status format A20
SQL> col pdb_name format A20
SQL> select pdb_name, status from cdb_pdbs;

PDB_NAME STATUS


PDBTEST NORMAL
PDB$SEED NORMAL
CLONEPDB_PLUG NEW
SQL> show pdbs

CON_ID CON_NAME                       OPEN MODE  RESTRICTED

     2 PDB$SEED                       READ ONLY  NO
     3 PDBTEST                        READ WRITE NO
     4 CLONEPDB_PLUG                  MOUNTED
        SQL> alter pluggable database CLONEPDB_PLUG open read write;

插接式數據庫已變更。

SQL> show pdbs

CON_ID CON_NAME                       OPEN MODE  RESTRICTED

     2 PDB$SEED                       READ ONLY  NO
     3 PDBTEST                        READ WRITE NO
     4 CLONEPDB_PLUG                  READ WRITE NO                                                                 SQL> select pdb_name, status from cdb_pdbs;

PDB_NAME STATUS


PDBTEST NORMAL
PDB$SEED NORMAL
CLONEPDB_PLUG NORMAL

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

铜陵市| 新宾| 梁山县| 塔城市| 涞水县| 肥乡县| 无极县| 麻栗坡县| 蒲江县| 沾化县| 繁峙县| 贵州省| 永康市| 电白县| 泊头市| 禹州市| 积石山| 尚义县| 南阳市| 佛坪县| 巨鹿县| 兴城市| 英德市| 汉源县| 红河县| 普定县| 开江县| 桐梓县| 蓝田县| 沐川县| 茌平县| 安图县| 九龙城区| 高邑县| 塘沽区| 库尔勒市| 普兰县| 博爱县| 五寨县| 金川县| 阜城县|