COMPILATION_ERROR after Import when Materialized View References SYS Tables
(Doc ID 1522287.1)
Last updated on AUGUST 26, 2021
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 184.108.40.206 [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 220.127.116.11 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