MySQL Forums
Forum List  »  MyISAM

Re: large tables, large keycaches
Posted by: Mike Connell
Date: July 26, 2005 10:51AM

Hi,

What you are saying about the disk being the bottleneck is exactly the problem with this
situation. The key buffer is acting like an in-memory cache until it fills up. After that, its
how fast can the disk go.

I'm seeing i/o writes of 4Kbytes, and i/o reads of 4Kbytes. I was hoping to get our Ops guys
to change the stripe size to this value. Other than that, would key_cache_block_size be of
any use? It is currently set at 1024 which doesn't match what the 4K value the OS is actually
writing to disk (using iosnoop output as the monitoring tool).

Your 2nd statement is exactly what I was hoping to simulated by writing a CRON job
to do a 'flush table mybigtable' periodically.

This won't work currently since its all or nothing with flush table on really big tables.
In the future, a special variant of flush table that could do *block* flushing of least recently
used key buffers would be very valuable in this case IMHO. A seperate bg thread would
be even better.

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
9195
July 25, 2005 09:12PM
3194
July 26, 2005 08:43AM
3137
July 26, 2005 10:37AM
3010
July 26, 2005 11:49AM
2743
July 26, 2005 02:27PM
2807
July 26, 2005 04:36PM
2482
July 27, 2005 10:49AM
2513
July 27, 2005 03:52PM
2523
August 02, 2005 08:04PM
Re: large tables, large keycaches
2622
July 26, 2005 10:51AM
2472
July 27, 2005 07:48AM
2565
July 28, 2005 01:08PM


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.