MySQL Forums
Forum List  »  InnoDB

Re: Reduce Index space
Posted by: Rick James
Date: January 19, 2009 11:56PM

InnoDB has one giant pool of blocks, both index and data blocks. It is of size innodb_buffer_pool_size; blocks are 16K (assuming you aren't using the 'plugin'). Blocks are bumped on something like LRU basis. Writing of changed blocks is delayed in an attempt to avoid extra writes.

So, the blocks of an idle table will be purged as active tables take over.

To answer your implied question ("will the partitioning speed things up"), I doubt if it will help much. Remember that indexes are BTrees; even a terabyte table might have only 6 levels of BTree tree.

Ponder your access pattern, how big your indexes are, how big your data is, how BTrees work. Then give up on calculating the answer; instead, run a benchmark.

Options: ReplyQuote


Subject
Views
Written By
Posted
3830
January 19, 2009 11:04PM
Re: Reduce Index space
1854
January 19, 2009 11:56PM
1863
January 20, 2009 12:58AM
1740
January 20, 2009 02:12AM


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.