Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: what's "enq:TX - contention

Re: what's "enq:TX - contention

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Thu, 29 Nov 2007 21:43:40 -0000
Message-ID: <001501c832d0$e86aaa30$0200a8c0@Primary>

Several options, for example:

session 1 - execute some dml without commit

session 2 - alter tablespace X read only;

The tablespace cannot go read only until all current transactions commit - so session 2 picks the oldest current transaction and waits on it using a TX mode 4.

The wait in 10g will show as "TX - contention"

Regards

Jonathan Lewis
http://jonathanlewis.wordpress.com

Author: Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Nov 29 2007 - 15:43:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US