Create Primary Key Materialized View Does Not Create the Corresponding Index (Doc ID 1447329.1)

Last updated on APRIL 05, 2012

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.3 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Symptoms

Create distributed primary key materialized view (mview) is supposed to create index on the mview container table that belongs to the primary key index of master table.

However it does not create such index in this scenario.

CREATE MATERIALIZED VIEW ...
WITH PRIMARY KEY
AS
SELECT ....
FROM <master_table>@<database_link> ...

The domain name contains '-' of the machine that the database link references.

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