Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

enq: TX - allocate ITL entry tips

Oracle Database Tips by Donald BurlesonUpdated July 22,  2013

Question:  I am seeing a batch update job waiting excessively for the enq: TX - allocate ITL entry wait event.  This is a parallel batch stream with multiple concurrent update processes being spawned.

Answer:  The event "enq: TX - allocate ITL entry" indicates "enqueues" (locks) that are waiting for serial access to Oracle resources, in this case the transaction is waiting for a lock that is held by a competing session.

This "enq: TX - allocate ITL entry" indicates error is seem when too many concurrent DML transactions are competing for the same data block.

The ITL in the "enq: TX - allocate ITL entry" indicates error is for "Interested Transaction List", and there are several approaches to fixing this error:

1 - Increasing the value of INITRANS and/or MAXTRANS for the table and indexes.

2 - Move the table to a smaller blocksize.

3 - In some cases, you can remove the enq: TX - allocate ITL entry error for UPDATE/DELETE DML issues by reorganizing the table to increase PCTFREE for the table, thereby leaving less rows per data block.

4 - Reduce the degree of parallel DML on this table

The P1, P2 and P3 values for enq: TX - allocate ITL entry also give details about the origin of the wait event.

Wait Class P1 P2 P3
enq: TX - allocate ITL entry Configuration name|mode usn<<16 | slot sequence

Finding the object causing the wait 

Here is a query to display the object from the 'enq: TX - allocate ITL entry' wait event (you must have an ASH license to run this SQL script):

select
   sql_id,

   event,
   count(*),
   lpad(round(ratio_to_report(count(*)) over () * 100)||'%',10,' ') percent
from
   dba_hist_active_sess_history

where
   sample_time between timestamp '2013-07-20 11:00:00'
and
   timestamp '2013-07-20 12:00:00'

and
   event = 'enq: TX - allocate ITL entry'

group by
   sql_id, event

order by
   percent desc;


Once you know the SQL_ID (from the above query, you can plug it into this query to find the exact object that is experiencing the wait:

select *
from (
   select
      ash.sql_id,

      ash.current_obj#,
      obj.object_name,
      count(*) as wait_count
   from
      dba_hist_active_sess_history ash

   left join
      dba_objects obj
   on
      obj.object_id = ash.current_obj#

   where
      ash.sample_time between timestamp '2013-07-20 11:00:00'
   and
      timestamp '2013-07-20 12:00:00'

   group by
      ash.sql_id,

      ash.top_level_sql_id,
      ash.current_obj#,
      obj.object_name
   order by
      4 desc

)
where
   sql_id = 'xxxxxx'

and
   rownum <= 10;



 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.