成都创新互联网站制作重庆分公司

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只读与读写转换
URL网址:http://cxhlcq.com/article/ppdcos.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部