MySQL Forums
Forum List  »  Performance

Table locked
Posted by: Rafael Pertence Pertence
Date: April 02, 2014 06:28AM

I have this table with 17 millions records. I added some indexes and 90% of time it runs very fast.

But sometimes most queries with this table stop returning any data.

The others queries return normally.

I imagined it was a lock problem, so I added this in all my application:

SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ;

MY QUERY HERE

SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ ;

It didn't solved the problem.


Any ideas?

Options: ReplyQuote


Subject
Views
Written By
Posted
Table locked
1537
April 02, 2014 06:28AM
825
April 02, 2014 09:02AM
781
April 02, 2014 09:08AM
896
April 02, 2014 11:35PM
820
April 04, 2014 11:33PM


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.