oracle12cPDB随CDB启动以及链接PDB的方式是什么
今天就跟大家聊聊有关oracle 12c PDB随CDB启动以及链接PDB的方式是什么,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。
让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:国际域名空间、网络空间、营销软件、网站建设、环江网站维护、网站推广。
本来不知道有这个特性写了个trigger实现
sql_startup_pdb:='alter pluggable database test open';
EXECUTE IMMEDIATE sql_startup_pdb;
end;
/
12R2可以设置如下自动启动pdb
ALTER PLUGGABLE DATABASE test SAVE STATE;
select con_name, state from dba_pdb_saved_states
CON_NAME
STATE
------------------------------ --------------
TEST
OPEN
详细信息可以参考以下文章:
How to Preserve Open Mode of PDBs When the CDB Restarts (Doc ID 1933511.1)
和连接pdb的方式
jhpd1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.12.29)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jhpd1) ##PDB_NAME ) ) Service "763210eda4a67d57e05322640a0a58cb" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd371c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd471c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd571c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd671c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd771c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd871c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... Service "7685cbd9bdd971c9e05322640a0a3b82" has 1 instance(s). Instance "mldxt", status READY, has 1 handler(s) for this service... alias xxpd1='sqlplus system/oracle@xxpd1' alias xxpd2='sqlplus system/oracle@xxpd2' alias xxpd3='sqlplus system/oracle@xxpd3' alias jhpd1='sqlplus system/oracle@jhpd1' alias jhpd2='sqlplus system/oracle@jhpd2' alias jhpd4='sqlplus system/oracle@jhpd4' alias jhpd6='sqlplus system/oracle@jhpd6' alias dxtdb='sqlplus system/oracle@dxtdb'
看完上述内容,你们对oracle 12c PDB随CDB启动以及链接PDB的方式是什么有进一步的了解吗?如果还想了解更多知识或者相关内容,请关注创新互联行业资讯频道,感谢大家的支持。
网页题目:oracle12cPDB随CDB启动以及链接PDB的方式是什么
标题来源:http://azwzsj.com/article/gdsgpj.html