SQL> select name,open_mode from v$pdbs; NAME OPEN_MODE ------------------------------ ---------- PDB$SEED READ ONLY YB MOUNTED YB1 MOUNTED CLONEDB READ WRITE SQL> alter session set container=clonedb; Session altered. SQL> shutdown immediate; Pluggable Database closed. #以restrict模式打开 SQL> startup open restrict Pluggable Database opened. SQL> alter pluggable database clonedb rename global_name to rdb; Pluggable database altered. SQL> show con_name; CON_NAME ------------------------------ RDB SQL>
转载于:https://www.cnblogs.com/wangchaoyuana/p/7531993.html