新特性:CDB/PDB的维护命令:CDB开启后,自动开启所有PDB

CDB开启后,自动开启所有PDB,可以创建以下的触发器,达到效果。

create trigger open_all_pdbs
 after startup on database 
begin
    execute immediate 'alter pluggable database all open';
end open_all_pdbs;
/

Related Posts