Oracle 19c pdb open restricted 处理
在CDB下查询受限的PDB:
set lines 200 pages 50000;
col name for a20;
select con_id, name, open_mode, restricted from v$pdbs;
在PDB中查询相关受限的PDB:
select instance_name, logins, status from gv$instance; (v$containers也可以查询)
cdb下更换 pdb restricted 模式:
alter pluggable database pdb_name close immediate instance=all; (all except pdb1)
alter pluggable database pdb_name open read write instance=all;
alter pluggable database PDB$SEED close immediate;
alter pluggable database PDB$SEED open read write;
pdb下更换 pdb restricted 模式:
alter session set container=pdb_name;
alter pluggable database close immediate;
alter pluggable database open;
在受限模式下,可以授予特定用户 restricted session权限用于临时登录,记得revoke。
alter pluggable database pdb_name open read only;
alter pluggable database pdb_name open upgrade;
alter pluggable database pdb_name open read write;
Oracle 19c pdb open restricted 处理
未经允许不得转载:徐万新之路 » Oracle 19c pdb open restricted 处理
最新评论
这个牛
放下欲望,男人从来不醉,充分且必要
勇气、责任、自信、创新,为天下先!
软件即数据,软件即服务,软件即管理,软件就是对人类各种社会活动的仿真和记录。软件很重要,但软件不可能凌驾于业务之上,尤其不可能高人一等。