MySQL Forums
Forum List  »  Performance

Re: Sort Performance
Posted by: Michael Haggerty
Date: November 09, 2004 06:46PM

I am very interested in knowing the answer to this problem. I have noticed that mysql chokes on SELECT statements where:

1) There is a double wildcard LIKE operator in the WHERE clause; and

2) The field referenced in the LIKE clause is used to sort the results.

As a matter of fact, this problem derailed a project I was working on.

In my case, we were sorting a like of about 50,000 names, there were several joins, and the name columns were indexed in the primary table. Queries were often taking half an hour and mysql was consuming massive system resources.

M

Options: ReplyQuote


Subject
Views
Written By
Posted
6328
November 01, 2004 08:02PM
2931
November 05, 2004 12:46AM
3525
November 09, 2004 03:04PM
Re: Sort Performance
2925
November 09, 2004 06:46PM
2851
November 09, 2004 07:56PM
3167
November 09, 2004 09:05PM
2774
November 05, 2004 01:44AM
2770
November 10, 2004 07:12PM


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.