'enq: TS - contention' / Hang While Gathering Statistics in Parallel
(Doc ID 1463791.1)
Last updated on MARCH 03, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- DBMS_STATS with parallel degree set to > 1 hangs with waits for 'enq: TS contention' event.
- The statistics gathering job is blocked by one of the parallel execution server processes and waits on 'enq: TS - contention'.
- Errorstack for the statistics gathering job shows sql like following:
Cause
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
Symptoms |
Cause |
Solution |
References |