您好,登錄后才能下訂單哦!
改變PDB大小
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
2 PDB$SEED READ ONLY NO
3 PDBTEST MOUNTED
4 CLONEPDB_PLUG MOUNTED
SQL> ALTER PLUGGABLE DATABASE STORAGE(MAXSIZE UNLIMITED);
ALTER PLUGGABLE DATABASE STORAGE(MAXSIZE UNLIMITED)
*
第 1 行出現錯誤:
ORA-65046: 不允許從可插入數據庫外部執行該操作
SQL> alter session set container=PDBTEST;
會話已更改。
SQL> ALTER PLUGGABLE DATABASE STORAGE(MAXSIZE UNLIMITED);
ALTER PLUGGABLE DATABASE STORAGE(MAXSIZE UNLIMITED) *
第 1 行出現錯誤:
ORA-01219: 數據庫或可插入數據庫未打開: 僅允許在固定表或視圖中查詢
SQL> startup 插接式數據庫已打開。
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ----------
3 PDBTEST READ WRITE NO
SQL> ALTER PLUGGABLE DATABASE STORAGE(MAXSIZE UNLIMITED);
插接式數據庫已變更。
SQL> alter session set container=CDB$ROOT;
會話已更改。
SQL> SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') FROM DUAL;
CDB$ROOT
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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。