My Oracle Support Banner

DBMS_STATS GATHER_STATS_JOB Fails With "ORA-04020: deadlock detected while trying to lock object SYS.WRI$_OPTSTAT_HISTGRM_HISTORY" (Doc ID 2046742.1)

Last updated on AUGUST 04, 2018

Applies to:

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



 Upgrade 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!

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