Views Invalid After Running "noncdb_to_pdb.sql"
(Doc ID 2030039.1)
Last updated on MAY 19, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
After executing the script "noncdb_to_pdb.sql" in a PDB that was just created from a cold copy and a manifest file, the following views are invalid:
CDB_XDS_OBJECTS
CDB_TYPE_XMLSCHEMA_DEP
CDB_TS_SPACE
If selecting from the views, it fails:
SYS@t70092bb> select * from cdb_ts_space;
select * from cdb_ts_space
*
ERROR at line 1:
ORA-04045: errors during recompilation/revalidation of SYS.CDB_TS_SPACE
ORA-00933: SQL command not properly ended
There are also 3 synonyms that are invalid, but it is probably because the views are invalid. No other objects are invalid.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |