ELAPSED TIME IN DBA_MVREF_RUN_STATS MUCH LESS THAN ACTUAL MVIEW REFRESH TIME
(Doc ID 2627744.1)
Last updated on MARCH 11, 2020
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
Run the following mview refresh:
EXEC DBMS_MVIEW.REFRESH('<<<mview_name>>>', method => '?');
...it completes after 291 seconds.
But looking at the refresh stats:
SELECT * FROM DBA_MVREF_STATS WHERE mv_name = '<<<mview_name>>>' ORDER BY refresh_id DESC;
it shows only 189 seconds were taken. Why the difference of ~100 seconds?
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