After running datapatch, PDB plugin or cloned db returns violations shown in PDB_PLUG_IN_VIOLATION (Doc ID 1635482.1)

Last updated on MAY 31, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

show pdbs will show the PDB mounted RESTRICTED

SQL> show pdbs

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         5 BOD1211P1                      READ WRITE YES

PDB_PLUG_IN_VIOLATIONS returns the following error:

SQL> select time,name,cause,status,message from PDB_PLUG_IN_VIOLATIONS order by name;

TIME                           NAME       CAUSE                  STATUS    MESSAGE
------------------------------ ---------- ---------------------- --------- ---------------------------------------------
25-MAR-14 03.55.00.765818 PM   BOD1211P1  SQL Patch              PENDING   SQL patch 18031528 mismatch: Installed in the
                                                                            PDB but not in the CDB.

Changes

 A database was plugged into or cloned to an installation that does not contain the same patches as the Source installation

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms