12C-ORA-65086: cannot open/close the pluggable database
ORA-65086: cannot open/close the pluggable database
一旦pdb執行了unplug,然後想在該cdb中重新使用該pdb,不能直接操作,需要先drop,然後重新plug到該cdb中:
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 TESTCS1 READ WRITE NO
4 PDB_PLUG_NOCOPY MOUNTED
5 CRM READ WRITE NO
6 ESSDB READ WRITE NO
8 PDB_PLUG_MOVE READ WRITE NO
QL> alter PLUGGABLE database PDB_PLUG_NOCOPY open;
alter PLUGGABLE database PDB_PLUG_NOCOPY open
*
ERROR at line 1:
ORA-65086: cannot open/close the pluggable database
SQL> drop pluggable database PDB_PLUG_NOCOPY;
Pluggable database dropped.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 TESTCS1 READ WRITE NO
5 CRM READ WRITE NO
6 ESSDB READ WRITE NO
8 PDB_PLUG_MOVE READ WRITE NO
然後重新plug後使用。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13750068/viewspace-1064232/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- open和close函式函式
- Close a Database (303)Database
- [20181011]ORA-65086 cannot openclose the pluggable database.txtDatabase
- 12c-RECOVER PLUGGABLE DATABASEDatabase
- C中的open(), write(), close(), fopen()
- [20181011]ORA-44777 – Pluggable database service cannot be started.txtDatabase
- dbms_session.set_close_cached_open_cursors(true)Session
- 【PDB】Oracle 建立pdb說明(create pluggable database)OracleDatabase
- Oracle 12C pluggable database自啟動OracleDatabase
- cannot mount database in EXCLUSIVE modeDatabase
- alter database open resetlogs;Database
- Tasks of a Database Administrator : Create and Open the Database (10)Database
- Close the Database by Terminating the Instance (304)Database
- 解決“su: cannot open session: Permission denied”Session
- xtrabackup: Error: cannot open /../../base/xtrabackup_checkpointsError
- virt-manager cannot open display問題
- 小丸子學Oracle 12c系列之——Oracle Pluggable DatabaseOracleDatabase
- -bash: ulimit: open files: cannot modify limit: Operation not permittedMIT
- What Happens When You Open a Database (297)APPDatabase
- can close the database Connection before the JTA transaction commit or rollDatabaseMIT
- Connecting To 12CR2 RAC Pluggable Database With ORA-1033Database
- RH5 安裝ORACLE 10G 出錯 1,libXp.so.6: cannot open 2,libXt.so.6: cannot openH5Oracle 10g
- ORA-65122: Pluggable database GUID conflicts with the GUID of an existingDatabaseGUI
- [20181018]12c Pluggable Database save state.txtDatabase
- oracle12c新特點之可插拔資料庫(Pluggable Database,PDB)Oracle資料庫Database
- InfluxDB 2.x Open Source Time Series DatabaseUXDatabase
- Open a Database in Read-Only Mode (301)Database
- Summary For Forcing The Database Open With `_ALLOW_RESETLOGS_CORRUPTION`Database
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- Git (gnome-ssh-askpass:3871): Gtk-WARNING **: cannot open display:Git
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libiconv.so.2: cannot open shared object file: No such filObject
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- 解決org.hibernate.exception.GenericJDBCException: Cannot open connectionExceptionJDBC
- libz.so.1: cannot open shared object file: No such file or directoryObject
- ORA-01679: database must be mounted EXCLUSIVE and not open to activateDatabase
- ORA-01102: cannot mount database in EXCLUSIVE modeDatabase
- Msg 3702:Cannot drop the database 'gcard' because it is currently in use.DatabaseGC