Materialized View Refresh Takes Long Time & High Cpu Usage To Complete

(Doc ID 727215.1)

Last updated on OCTOBER 30, 2017

Applies to:

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


-- 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.


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