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'
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29990276/viewspace-2152687/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 12C RMAN transport tablespace from PDB of RAC CDB to remote PDBOracleREM
- 【BAK_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(三)CDB與PDB的備份方式Oracle
- ORACLE 12C新特性——CDB與PDBOracle
- Oracle CDB和PDB基本管理Oracle
- 12c RAC 和 CDB/PDB 學習
- Oracle 12C RMAN Duplicating the PDB to remote CDBOracleREM
- Oracle 12c CDB&PDB 基本維護Oracle
- Oracle12c多租戶如何啟動關閉CDB或PDB (PDB自動啟動)Oracle
- Oracle 12c 多租戶在 CDB 中 Plug A PDB,Unplugging A PDBOracle
- 12C關於CDB、PDB建立AWR的方法和總結
- Oracle 12C 中CDB和PDB的引數檔案管理Oracle
- 【RECO_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(四)PDB的幾種恢復方式Oracle
- 【CDB】Oracle CDB/PDB常用管理命令Oracle
- Oracle 12c 使用Non-CDB來建立PDBOracle
- 【ASK_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(一)什麼是CDB與PDB?Oracle
- 12C關於CDB、PDB引數的區別和總結
- oracle 12c中CDB和PDB的備份還原實驗Oracle
- oracle12c的CDB和PDB初探Oracle
- Oracle 12c 多租戶配置和修改 CDB 和 PDB 引數Oracle
- Oracle 12c 多租戶 CDB 與 PDB 備份Oracle
- Oracle12c多租戶如何連線到CDB或PDB、CDB與PDB容器切換Oracle
- Oracle 12C -- 使用seed PDB建立新的pdbOracle
- Oracle 12c系列(七) | Non-CDB轉換為PDBOracle
- Oracle 12c Relocate PDBOracle
- 12c 應答方式安裝 (二) 建立cdb+pdb+netca
- oracle 19c CDB vs pdb 建立Oracle
- 12C關於CDB、PDB 臨時temp表空間的總結
- 12C關於CDB、PDB 回滾undo表空間的總結
- 12C關於CDB、PDB 日誌檔案redo log的總結
- 2.6.2 Overview of Flashback PDB in a CDBView
- Oracle 12C 建立使用者連線pdbOracle
- Oracle 12c PDB淺析Oracle
- Oracle 12c系列(二)|PDB的建立Oracle
- Oracle 12c PDB遷移(一)Oracle
- Oracle 12c系列(六)|Relocate a PDBOracle
- Oracle 12c系列(五)|PDB RefreshOracle
- oracle 12c rman備份pdbOracle
- Oracle 12c PDB淺析(二)Oracle