MySQL Forums
Forum List  »  Optimizer & Parser

Re: Query execution plan
Posted by: Rick James
Date: May 15, 2012 07:22PM

I do not believe you get any "partition pruning" with the DIV function. I suggest you get rid of DIV and change to strict comparisons to the time values you have.

http://dev.mysql.com/doc/refman/5.6/en/partitioning-pruning.html
http://dev.mysql.com/doc/refman/5.6/en/partitioning-limitations-functions.html

You might get a more detailed answer on the PARTITION forum; one of the developers sometimes trolls there.

Options: ReplyQuote


Subject
Views
Written By
Posted
3183
May 08, 2012 12:38PM
1325
May 09, 2012 11:08AM
1460
May 09, 2012 09:35PM
1528
May 10, 2012 08:29AM
1488
May 11, 2012 07:16PM
1579
May 14, 2012 05:27AM
Re: Query execution plan
1327
May 15, 2012 07:22PM


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.