12cR1PDB只读与读写转换

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> 

文章题目:12cR1PDB只读与读写转换
本文地址:http://csdahua.cn/article/ppdcos.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流