COMPILATION_ERROR after Import when Materialized View References SYS Tables
Last updated on JANUARY 23, 2013
Applies to:OracleDatabase - Enterprise Edition - Version 10.2.0.1 to 18.104.22.168 [Release 10.2 to 11.2]
Information in this document applies to any platform.
- 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 22.214.171.124 did not resolve the problem.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms