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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【BAK_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(三)CDB與PDB的備份方式Oracle
- Oracle 12C 中CDB和PDB的引數檔案管理Oracle
- 【RECO_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(四)PDB的幾種恢復方式Oracle
- 【12c cdb pdb】實驗
- 【ASK_ORACLE】Oracle 12c之CDB與PDB的備份與恢復(一)什麼是CDB與PDB?Oracle
- 【CDB】Oracle CDB/PDB常用管理命令Oracle
- oracle 12c中CDB和PDB的備份還原實驗Oracle
- 12C關於CDB、PDB建立AWR的方法和總結
- 12cr2 pdb 跟隨cdb 自動啟動配置
- 12C關於CDB、PDB引數的區別和總結
- Oracle 12c系列(七) | Non-CDB轉換為PDBOracle
- 12C關於CDB、PDB的官方解釋
- oracle 19c CDB vs pdb 建立Oracle
- Oracle 12c系列(二)|PDB的建立Oracle
- oracle 12c rman備份pdbOracle
- Oracle 12c系列(五)|PDB RefreshOracle
- Oracle 12c系列(六)|Relocate a PDBOracle
- 12C關於CDB、PDB 臨時temp表空間的總結
- 12C關於CDB、PDB 回滾undo表空間的總結
- 12C關於CDB、PDB 日誌檔案redo log的總結
- 3.1.2 CDB和PDB的職責分離
- ORACLE 12C pdb受限解決思路Oracle
- 2.6.2 Overview of Flashback PDB in a CDBView
- oracle19c連pdbOracle
- oracle 12c 針對cdb的差異0備與對pdb進行恢復Oracle
- 【PDB】 為Oracle pdb新增服務(pdb add service)Oracle
- 12C多租戶關於CDB、PDB的常用SQL語句SQL
- Oracle 建立PDB-Plugging In an Unplugged PDBOracle
- Oracle 12c 手動建立CDB和非CDBOracle
- 多租戶:在Oracle12.2中 從Non-CDB遷移到PDB,從PDB遷移另一個CDB中Oracle
- 【PDB】pdb閃回,Oracle還原點Oracle
- 【PDB】Oracle跨PDB檢視查詢Oracle
- 【PDB】Oracle PDB資源管理參考Oracle
- 【PDB】Oracle pdb維護常用sql命令OracleSQL
- Oracle 12c RMAN Cross-Platform Transport of a Closed PDBOracleROSPlatform
- 12c pdb基本操作
- 12C把non-CDB的單庫匯入到CDB裡面當成PDB的方法
- 1.3.2.2 Creation of a PDB by Plugging In(通過插入的方式建立PDB)