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 12.2.0.1 and laterOracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.
Symptoms
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.
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 |