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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Checking for uncommited transactions

Re: Checking for uncommited transactions

From: Immo Landwerth <mail_ignored_at_web.de>
Date: 11 Mar 2003 13:51:55 GMT
Message-ID: <b4kplr$210h0s$1@ID-169341.news.dfncis.de>


Galen Boyer wrote:

> Lets create a table with your scenario:

No, your scenario is different. You just deleted rows, this is not a problem.

> Where is this full table locking?

The table locking occurs only between uncommited inserts.

ID NAME


1      ONE
2      TWO
3      THREE
4      FOUR

USER_SETTINGS: ID USER_ID NAME


1     1         FROM ONE
2     1         FROM ONE
3     2         FROM TWO
4     4         FROM FOUR

Session 1:

Insert a row to user settings (5, 2, 'FROM TWO').

Do not commit.

Session 2:

Try to delete user (3, 'THREE'). This user doesn't have any settings therefore this row should deleted immediately - it doesn't.

Session 2 will wait until session 2 performs a commit/rollback.

-- 
Immo Landwerth - XP Pro - D5 Pro SP1 - XanaNews 1.14.1.1
Received on Tue Mar 11 2003 - 07:51:55 CST

Original text of this message

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