MySQL Forums
Forum List  »  Partitioning

Re: about SUBPARTITIONING BEHAVIOR ...
Posted by: Mattias Jonsson
Date: August 19, 2010 05:59AM

The problem is using QUARTER() since that is not used to prune for ranges.
I would recommend you to do skip subpartitioning and use RANGE(TO_DAYS(date)) instead (or in 5.5 RANGE COLUMNS(date) directly).
Or to change the date to timestamp and use RANGE(UNIX_TIMESTAMP(date)).

Options: ReplyQuote


Subject
Views
Written By
Posted
2607
August 18, 2010 07:46AM
Re: about SUBPARTITIONING BEHAVIOR ...
1357
August 19, 2010 05:59AM


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.