每次打开pdb后,警告日志出现
Violations: Type: 2, Count: 1
***************************************************************
WARNING: Pluggable Database PDB3 with pdb id - 3 is
altered with errors or warnings. Please look into
PDB_PLUG_IN_VIOLATIONS view for more details.
:***************************************************************
查询报警日志中的 PDB_PLUG_IN_VIOLATIONS
sql>select time,cause,message,status ,action from PDB_PLUG_IN_VIOLATIONS where con_id=3 order by 1
TIME CAUSE MESSAGE STATUS ACTION
--------------------------------------- ----------------- -------------------------------------------------- --------- ------------------------------
24-OCT-22 09.31.51.619406 PM OPTION Database option RAC mismatch: PDB installed version NULL. CDB installed version 19.0.0.0.0. PENDING Fix the database option in the PDB or the CDB
去mos上面搜索了下,需要查询dba_registry情况
alter session set container=PDB3;
select COMP_NAME,VERSION,STATUS from dba_registry
COMP_NAME VERSION STATUS
---------------------------------------- ------------------------------ ----------------------
Oracle Database Catalog Views 19.0.0.0.0 VALID
Oracle Database Packages and Types 19.0.0.0.0 VALID
Oracle Real Application Clusters 19.0.0.0.0 OPTION OFF
JServer JAVA Virtual Machine 19.0.0.0.0 VALID
Oracle XDK 19.0.0.0.0 VALID
Oracle Database Java Packages 19.0.0.0.0 VALID
OLAP Analytic Workspace 19.0.0.0.0 VALID
Oracle XML Database 19.0.0.0.0 VALID
Oracle Workspace Manager 19.0.0.0.0 VALID
Oracle Text 19.0.0.0.0 VALID
Oracle Multimedia 19.0.0.0.0 VALID
COMP_NAME VERSION STATUS
---------------------------------------- ------------------------------ ----------------------
Spatial 19.0.0.0.0 VALID
Oracle OLAP API 19.0.0.0.0 VALID
Oracle Label Security 19.0.0.0.0 VALID
Oracle Database Vault 19.0.0.0.0 VALID
15 rows selected.
最终执行:
@?/rdbms/admin/catclust.sql
再次查询后
select COMP_NAME,VERSION,STATUS from dba_registry
Oracle Real Application Clusters 19.0.0.0.0 VALID
启动pdb警告日志没有WARNING
|