I’m talking about oracle. I have a few materialized views, and they’re updated from time to time (it is done with a scheduled task). It is easy to know last refresh date – just query USER_MVIEW_REFRESH_TIMES.
And is there any way to know if some views are being updated in the current moment?
I’m talking about oracle. I have a few materialized views, and they’re updated from
Share
you could see indirectly if a materialized view is being refreshed by looking if a process has aquired locks on it : a materialized view should be modified only when refreshed (except FOR UPDATE materialized views used for two-way replication).
This query should return rows only when your materialized view is being refreshed: