My Oracle Support Banner

USER_MVREF_RUN_STATS contains records with NULL in both START_TIME and END_TIME (Doc ID 2641412.1)

Last updated on APRIL 17, 2023

Applies to:

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


Mview-refresh-statistics gathering is a materialized view feature that is new in 12.2.  Currently the mechanism collects information for the purpose of diagnostics/reporting.  In future versions, these statistics may also be used to improve refresh performance.

If we create a materialized view on remote table via DBLINK then perform a refresh, a record in USER_MVREF_RUN_STATS is created with NULL in both START_TIME and END_TIME. Even worse theses records can not be purged by dbms_mview_stats.purge_refresh_stats. 

Materialized view was created using remote table via DBLINK instead of local table. 


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.