Materialized View Fast Refresh Is Slow Due to a Poor Execution Plan During the Insert Phase With Hints Such As CARDINALITY, NO_SEMI_JOIN, and HASH_SJ (Doc ID 420040.1)

Last updated on APRIL 25, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Fast refresh for a materialized view is very slow. Tracing the recursive SQL with SQL Trace or
the 10046 event shows that the insert phase of the refresh is using one of the following hints in a subquery:

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