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!

Drop materialized view hung

913578Apr 21 2018 — edited May 8 2018

Hi,

I am doing complete refresh on a materialized view using below command.

EXECUTE DBMS_SNAPSHOT.REFRESH( '"RAAV_SIT"."RAAV_SIT_MV"','C');

but it is hanging, not completing the task.

I checked the MV query when i run outside it is having only 350 records, so it should take couple of min/secs to complete. but why it is hanging.

So i thought of dropping an recreating the Mv, so when i run drop command in another session

drop materialized view raav_orders_mv;

but it is also not getting executed, getting hanging.

where do i check, whether it is waiting for something or went into locked status etc.

THANKS.

This post has been answered by AndrewSayer on Apr 22 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2018
Added on Apr 21 2018
5 comments
631 views