MySQL Forums
Forum List  »  Partitioning

Re: Partition on day of year
Posted by: Rick James
Date: March 02, 2011 11:16AM

PARTITION or not, the performance will be about the same -- a range scan on some index starting with job_date_time. If you don't have it partitioned the same as the range, or you don't have an index starting with job_date_time, then the query will do a lot more than it has to.

Note: LIKE '%...%' cannot use any index. This is because of the leading wild card.

Consider FULLTEXT. Caveat: 'HP' is shorter than ft_min_word_len, so cannot be recognized via FULLTEXT.

Options: ReplyQuote


Subject
Views
Written By
Posted
8460
February 28, 2011 07:18PM
2869
February 28, 2011 08:43PM
4075
March 01, 2011 12:53AM
2549
March 01, 2011 10:33PM
2428
March 02, 2011 10:00AM
Re: Partition on day of year
2031
March 02, 2011 11:16AM
2206
March 03, 2011 09:47PM
2641
March 04, 2011 08:58AM
2089
March 04, 2011 10:45AM
2622
March 04, 2011 08:23PM
1809
March 02, 2011 02:58AM


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.