MySQL Forums
Forum List  »  Partitioning

Re: Select cannot use partitioning correctly?
Posted by: Nanda kishore Toomula
Date: August 31, 2009 10:22PM

Hi

try explain partition

example

explain partition select * from t_pgv_v1_map_url_id where ftime between '2009-08-01' and '2009-09-01' and map_id = 1003200;

my advice is do range partition based on month of the date

say for example

PARTITION BY RANGE (month(ftime)) because this is more sensible and only 12 partitions and no redundancy


Cheers
Nanda

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Select cannot use partitioning correctly?
2386
August 31, 2009 10: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.