MySQL Forums
Forum List  »  Optimizer & Parser

Re: BETWEEN a DATE and a hard place
Posted by: Rick James
Date: April 24, 2014 08:20PM

> obviously, wrap around randomly.
> PARTITION BY RANGE ( DAYOFYEAR(dev_tz_date) % 100 ) (

That defeats the optimizer's ability to do partition pruning much of the time.

> I wanted to use a RANGE PARTITION but find the syntax too cumbersome

Too bad, you need it.

> Is there another way to specify RANGE partitions?

Yes. Here it is on a silver platter:

Options: ReplyQuote

Written By
April 16, 2014 02:07PM
April 18, 2014 05:19PM
Re: BETWEEN a DATE and a hard place
April 24, 2014 08:20PM
April 26, 2014 05:46AM

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.