Re: Sort Performance
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
Subject
Views
Written By
Posted
6448
November 01, 2004 08:02PM
2989
November 05, 2004 12:46AM
3575
November 09, 2004 03:04PM
Re: Sort Performance
2980
November 09, 2004 06:46PM
2905
November 09, 2004 07:56PM
3238
November 09, 2004 09:05PM
2830
November 05, 2004 01:44AM
2847
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.