My Oracle Support Banner

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

Last updated on SEPTEMBER 20, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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)


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

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