MySQL Forums
Forum List  »  Partitioning

Re: Hash and Linear Hash partition table not performing well
Posted by: Mattias Jonsson
Date: December 22, 2009 03:29AM

Hi, when you do select that will hit all partitions, it will probably not give you any gain, since the most gain is from partition pruning.

And for small queries, the overhead of locking can be notable (see bug#37252).


Not that I think it affects this that much, but the index levels are LOGx(n) and doing index lookup of P * LOGx(n/P) is not better than LOGx(n) (i.e. if you are looking up in all indexes in a partitioned table, you will not gain anything from looking up in an non partitioned index.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Hash and Linear Hash partition table not performing well
3481
December 22, 2009 03:29AM


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.