您好,登錄后才能下訂單哦!
PDB只讀與讀寫轉換
1、pdb 到mount狀態
SQL> alter pluggable database pdb11 close immediate;
Pluggable database altered.
2、查看pdb
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB11 MOUNTED
SQL>
3、pdb只讀
SQL>
SQL> alter pluggable database pdb11 open read only;
Pluggable database altered.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB11 READ ONLY NO
SQL> alter pluggable database pdb11 close immediate;
Pluggable database altered.
4、pdb讀寫
SQL> alter pluggable database pdb11 open read write;
Pluggable database altered.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB11 READ WRITE NO
SQL>
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。