您好,登錄后才能下訂單哦!
今天就跟大家聊聊有關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的方式是什么有進一步的了解嗎?如果還想了解更多知識或者相關內容,請關注億速云行業資訊頻道,感謝大家的支持。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。