PDB重命名
时间:2021-07-01 10:21:17
帮助过:5人阅读
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>
PDB重命名
标签: