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>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。