MySQL Forums
Forum List  »  Partitioning

Re: Strange first partition behavior while pruning on table partitioned by date.
Posted by: Rick James
Date: June 30, 2010 08:51PM

It's a bug/feature. NULL values go in the first partition; it is checking for that (whether it needs to or not).

The semi-workaround is to have an extra partition at the beginning. By doing this (and having it empty), queries will waste less time hitting that partition.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Strange first partition behavior while pruning on table partitioned by date.
1656
June 30, 2010 08:51PM


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.