Re: "Lock wait timeout exceeded" time out on insert.
Posted by:
Nic Whale
Date: December 26, 2011 05:40AM
Thanks Rick for a quick holiday season reply.
I do not understand sure what is wrong with this?
1. 09:10:23: Transaction start
2. 09:10:23: Try to do insert.
3. 09:11:14: Insert lock wait time outs and is recorded.
4. 09:11:14: Try to do insert a 2nd time.
5. 09:12:05: Insert lock wait time outs a 2nd time and is recorded.
6. 09:12:05: Try to do insert a 3rd time.
7. 09:12:56: Insert lock wait time outs a 3rd time and is recorded.
8. 09:12:56: Try to do insert a 4th time.
9. 09:13:47: Insert lock wait time outs 4th and final time and is recorded.
10.09:13:48: Rollback cause failed 4 times.
The first insert that fails is a part of a group of actions that needs to be in a transaction, it just never gets to the next actions cause of the Lock Wait.
Do you mean that if a lock wait occurs that the whole transaction should be rolled back and tried again at that level? That is, do not worry about trying again within the transaction? Note, that at the moment most cases only need to retry once or twice and it does succeed.
Thanks again,
Nick
Subject
Views
Written By
Posted
8902
December 09, 2011 07:31AM
4297
December 10, 2011 04:11PM
2675
December 11, 2011 09:44AM
2714
December 13, 2011 05:38AM
2089
December 14, 2011 12:07PM
2370
December 15, 2011 08:13AM
2218
December 16, 2011 05:09PM
2317
December 25, 2011 01:35AM
1881
December 25, 2011 11:17PM
Re: "Lock wait timeout exceeded" time out on insert.
2093
December 26, 2011 05:40AM
1987
December 27, 2011 09:56AM
2107
January 05, 2012 12:57PM
1939
January 08, 2012 12:52PM
1818
January 26, 2012 05:27AM
1782
January 27, 2012 08:57PM
2342
March 11, 2012 01:17AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.