My Oracle Support Banner

ORA-32349 When Creating Materialized View on Prebuilt table in 11GR2 (Doc ID 1068662.1)

Last updated on MARCH 19, 2012

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 11.2 and later ]
Information in this document applies to any platform.
Reviewed 19-Mar-2012.


A prebuilt table, a remote base table, and the materialized view to be created all have the same owner (REPTEST) and the same object name (TEST).   When the mview is created it generates an "ORA-32349: cannot reference prebuilt table in definition query for materialized view" error.   This does not happen in versions before 11gR2.

create materialized view REPTEST.TEST 
on prebuilt table refresh FAST 
as select * from REPTEST.TEST@src_link;


Database was upgraded to 11gR2.


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
     Solution for local materialized view:
     Solution for distributed materialized view:

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.