Encountering error QSM-02091: mv references a non-repeatable or session-sensitive expression
(Doc ID 2965528.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.9.0.0.0 and laterInformation in this document applies to any platform.
Goal
Encountering errors when tuning materialized view that aggregates 90 days of data (using expressions like sysdate-90) without a full refresh:
ORA-13600: error encountered in Advisor
QSM-03113: Cannot tune the MATERIALIZED VIEW statement
QSM-02091: mv references a non-repeatable or session-sensitive expression
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.PRVT_ACCESS_ADVISOR", line 210
ORA-06512: at "SYS.PRVT_TUNE_MVIEW", line 1402
ORA-06512: at "SYS.DBMS_ADVISOR", line 850
ORA-06512: at line 1
Solution
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
Goal |
Solution |
References |