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
2970
May 08, 2012 12:38PM
1217
May 09, 2012 11:08AM
1281
May 09, 2012 09:35PM
1429
May 10, 2012 08:29AM
1373
May 11, 2012 07:16PM
1440
May 14, 2012 05:27AM
Re: Query execution plan
1195
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.