Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to create log to store start time and Finish time of materialized view

User_9XA6OFeb 28 2019 — edited Feb 28 2019

Hello Team,

I have a job contains next block to refresh materialized view on a daily basis but we are not sure how much time it's required to get the refresh.

BEGIN

DBMS_SNAPSHOT.REFRESH ('V_TAB_STILLDESC_MV', 'C');

END;

So my requirement is, I have to create 1 table that contains(stores) a log of start time and finish time to get this materialized view refresh. So how I can achieve this, please help me.

Thanks

Comments
Post Details
Added on Feb 28 2019
7 comments
668 views