Create Snapshot on Prebuilt Table Fails with ORA-12058 (Doc ID 280246.1)

Last updated on JULY 29, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 to 12.1.0.1 [Release 8.1.7 to 12.1]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

Trying to create the snapshot on prebuilt table fails with ORA-12058

Oracle9i Message
~~~~~~~~~~~~~~~~~
Error: ORA-12058 (ORA-12058)
Text: materialized view cannot use prebuilt table
---------------------------------------------------------------------------
Cause: An attempt was made to use the prebuilt tables.
Action: Reissue the SQL command using BUILD IMMEDIATE or BUILD DEFERRED.

Oracle8i / earlier Error Message
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: ORA-12058
Text: snapshot cannot use prebuilt table
---------------------------------------------------------------------------
Cause: The snapshot cannot use the prebuilt table.
Action: Reissue the SQL command using BUILD IMMEDIATE or BUILD DEFERRED.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms