快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

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://6mz.cn/article/ppdcos.html

其他资讯