Skip to Main Content

Oracle Database Discussions

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!

ORA-04021: timeout occurred while waiting to lock object

sreerajkrFeb 16 2018 — edited Feb 23 2018

We have Oracle 11.2.0.2 database that runs on IBM AIX 7.1.

Trying  to drop and recreate 3 independent materialized views  mv1,mv2,mv3 simultaneously by using  an SSIS package daily manner. Normally it works, but some days we get the following error

Executing the query "DROP MATERIALIZED VIEW MV1" failed with the following error: "ORA-04021: timeout occurred while waiting to lock object ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

MV1 is having  partions  and subpartitions.

Can anybody help.

Regards,

Sreeraj

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2018
Added on Feb 16 2018
8 comments
10,782 views