Materialized View Refresh Takes Long Time & High Cpu Usage To Complete
(Doc ID 727215.1)
Last updated on SEPTEMBER 27, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.3 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
Problem Statement:
There are many cases where materialized view refresh is very slow without clear reasons. This article describes one of those cases. In this case, the refresh takes a lot of CPU and few hours to complete. However, the same materialized view query takes only a few minutes to complete if run outside the refresh.
Research showed that the INSERT generated by the REFRESH takes a long time while the same INSERT executed outside of the REFRESH runs quickly.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |