Re: Problems with system locking
Brian O'Donnell wrote:
...
> If system locks are indicated in SHOW
> PROCESSLIST when the system is flushing its key
> cache, and there are multiple threads trying to
> write to the same table (as is the case in our
> setup) then are they explained as contentions
> between the various INSERT statements?
Yes. This is my opinion.
> ie: one
> INSERT ends and starts flushing the key cache but
> while that happens, the next INSERT is trying to
> execute but can't because the key cache is being
> flushed???
Exactly.
> However if this is the case, I still
> don't see why the locks should cause a significant
> degradation in performance, which appears to be
> the case.
I agree. This looks odd.
> Anyway, here are the output traces from
> myisamchk...
I agree that the maximum table size is big enough for you. There should be no size problems for you. Also I don't see other possible problems with it.
Did I mention the option to use MERGE tables to you? Regularily adding a new table "at the end" and dropping the front table?
Regards
Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com
Subject
Views
Written By
Posted
9964
April 26, 2006 05:37AM
10089
April 27, 2006 04:36AM
4043
April 27, 2006 07:41AM
3449
May 02, 2006 06:13AM
3464
May 02, 2006 07:49AM
Re: Problems with system locking
3084
May 02, 2006 10:46AM
2878
May 12, 2006 04:10AM
2995
May 15, 2006 02:57AM
3074
April 28, 2006 03:23AM
2749
May 02, 2006 06:27AM
4228
June 13, 2006 09:59PM
2803
June 14, 2006 08:04AM
3084
June 14, 2006 10:22AM
2845
June 15, 2006 09:26AM
3309
June 15, 2006 11:18AM
3100
June 16, 2006 03:18AM
3210
July 14, 2006 03:52PM
3094
July 31, 2006 04:16AM
3054
August 22, 2006 11:34AM
3054
July 19, 2006 04:07AM
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.