MySQL Forums
Forum List  »  InnoDB

Re: Concurrent INSERT/DELETE
Posted by: Jean-Philippe Signorino
Date: April 29, 2013 09:02AM

Thanks for the response.

There is no other row in the table, the table is empty before the scenario.

I play only 1 request in each transaction.

The insert request takes some milliseconds but I keep the transaction opened (no commit).
(In my application, there are a lot of insert in one transaction and I want to be able to delete other rows in parallel.)

I use manual commit management (begin .... commit)


Note : I test this scenario on PostgreSQL. As expected, the second transaction is not locked. It seems to be a huge limitation of MySQL which is not able to manage concurrent insert / delete in(...) ?



Edited 2 time(s). Last edit at 04/29/2013 09:04AM by Jean-Philippe Signorino.

Options: ReplyQuote


Subject
Views
Written By
Posted
1268
April 25, 2013 09:09AM
Re: Concurrent INSERT/DELETE
1259
April 29, 2013 09:02AM
1205
April 30, 2013 07:57AM
1017
May 03, 2013 01:21PM


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.