MySQL Forums
Forum List  »  Newbie

Re: Querying Using All Cores
Posted by: Chris Hughes
Date: July 15, 2015 06:53AM

Hi Phill

Thank you for following this up.

I had assumed that the implicit casting of VARCHAR to DATE (or DATETIME) would have meant STR_TO_DATE would not make a difference. However using your BETWEEN example, the query runs in 19 seconds. An improvement!

The IN example runs in 25 seconds but I can see where you are going with that since the this DATE field is indexed.

I'm starting to think shell scripting is going to be my only option although I acknowledge your warning about using more CPU.

Many thanks.

Chrisp

Options: ReplyQuote


Subject
Written By
Posted
July 13, 2015 02:43PM
Re: Querying Using All Cores
July 15, 2015 06:53AM


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.