How to obtain SQL And Optimizer Traces for a Materialized View (MV) Creation Or Refresh Process?

(Doc ID 1616695.1)

Last updated on JANUARY 18, 2017

Applies to:

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


 In order to diagnose performance issues with the creation or refresh of
a Materialized View, SQL (10046)  and Optimizer (10053) traces are
a good starting point in most cases.

This note will describe the necessary steps and some caveats when collecting the information.
The steps described will be given in both the old (including 11g and before) and new format
(including 11g and later)


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