My Oracle Support Banner

ORA-4021 Raised During COMMIT And Message "qsmqChkOCMV : Timeout while locking object" Appears In Alert.log (Doc ID 2615963.1)

Last updated on FEBRUARY 28, 2024

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database - Standard Edition - Version and later
Information in this document applies to any platform.


ORA-4021 "timeout occurred while waiting to lock object" error was raised during COMMIT of a transaction which modified a table which is a primary of a materialized view.

At that time, message "qsmqChkOCMV : Timeout while locking object:XXXXX" was printed in the alert.log.



Issue may occur on release and onwards. User may experience this issue after upgrading to



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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.