COMPILATION_ERROR after Import when Materialized View References SYS Tables
(Doc ID 1522287.1)
Last updated on FEBRUARY 28, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 188.8.131.52 [Release 10.2 to 12.1]
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
- When a materialized view (mview) is imported into a database, the compile_state in DBA_MVIEWS shows as COMPILATION_ERROR.
- Compiling the mview shows no errors, yet the compile_state cannot be changed back to VALID.
- The mview references a SYS-owned table. Query rewrite is not allowed when SYS tables are referenced in the mview query; however, this particular mview did not have query rewrite enabled.
- Applying a patch for <Bug 14722181>: MV NO LONGER REWRITES AFTER UPGRADE TO 184.108.40.206 did not resolve the problem.
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