我们创建了Container Database,但是当我们尝试创建PDB时,它会在Restricted Mode中创建。
SQL> SELECT v.name, v.open_mode, v.restricted, d.status
FROM v$pdbs v, dba_pdbs d WHERE v.guid = d.guid ORDER BY v.create_scn;
NAME OPEN_MODE RES STATUS
=======================================================================
PDB$SEED READ ONLY NO NORMAL
NMPDBTST READ WRITE YES NORMAL
以下是dba_registry的摘录;
SQL> select comp_id||'|'||comp_name||'|'||version||'|'||status||'|'||procedure from dba_registry;
COMP_ID||'|'||COMP_NAME||'|'||VERSION||'|'||STATUS||'|'||PROCEDURE
---------------------------------------------------------------------------- -------------------------------------------------------------------------------- --------------------------------------------
DV|Oracle Database Vault|12.1.0.2.0|VALID|VALIDATE_DV
APEX|Oracle Application Express|4.2.5.00.08|VALID|VALIDATE_APEX
OLS|Oracle Label Security|12.1.0.2.0|VALID|VALIDATE_OLS
SDO|Spatial|12.1.0.2.0|VALID|VALIDATE_SDO
ORDIM|Oracle Multimedia|12.1.0.2.0|VALID|VALIDATE_ORDIM
CONTEXT|Oracle Text|12.1.0.2.0|VALID|VALIDATE_CONTEXT
OWM|Oracle Workspace Manager|12.1.0.2.0|VALID|VALIDATE_OWM
XDB|Oracle XML Database|12.1.0.2.0|VALID|DBMS_REGXDB.VALIDATEXDB
CATALOG|Oracle Database Catalog Views|12.1.0.2.0|VALID|DBMS_REGISTRY_SYS.VALIDATE_CATALOG
CATPROC|Oracle Database Packages and Types|12.1.0.2.0|VALID|DBMS_REGISTRY_SYS.VALIDATE_CATPROC
JAVAVM|JServer JAVA Virtual Machine|12.1.0.2.0|VALID|INITJVMAUX.VALIDATE_JAVAVM
XML|Oracle XDK|12.1.0.2.0|VALID|XMLVALIDATE
CATJAVA|Oracle Database Java Packages|12.1.0.2.0|VALID|DBMS_REGISTRY_SYS.VALIDATE_CATJAVA
APS|OLAP Analytic Workspace|12.1.0.2.0|VALID|APS_VALIDATE
XOQ|Oracle OLAP API|12.1.0.2.0|VALID|XOQ_VALIDATE
RAC|Oracle Real Application Clusters|12.1.0.2.0|OPTION OFF|DBMS_CLUSTDB.VALIDATE
以下是pdb_plug_in_violations
的输出SQL> select name||'|'||message||'|'||action||'|'||type||'|'||status from pdb_plug_in_violations where type ='ERROR';
**NAME||'|'||MESSAGE||'|'||ACTION||'|'||TYPE||'|'||STATUS**
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PDB$SEED|Database option CATJAVA mismatch: PDB installed version . CDB installed version 12.1.0.2.0.|Fix the database option in the PDB or the CDB|ERROR|PENDING
PDB$SEED|Database option ORDIM mismatch: PDB installed version . CDB installed version 12.1.0.2.0.|Fix the database option in the PDB or the CDB|ERROR|PENDING
NMPDBTST|Database option CATJAVA mismatch: PDB installed version . CDB installed version 12.1.0.2.0.|Fix the database option in the PDB or the CDB|ERROR|PENDING
NMPDBTST|Database option ORDIM mismatch: PDB installed version . CDB installed version 12.1.0.2.0.|Fix the database option in the PDB or the CDB|ERROR|PENDING
有人可以告诉我在创建CDB / PDB时我们正在做的错误。
感谢您的期待。
此致 罗希特古拉蒂
答案 0 :(得分:0)
好的,这已经解决了。
在分析所有日志时,我们发现java_pool_size不够,因为这个JVM没有正确安装。 一旦我们将java_pool_size增加到150 MB,我们就能够创建可插拔数据库。
此致 罗希特夏尔