MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimizing ORDER BY any ideas?
Posted by: Marc Van Olmen
Date: September 12, 2005 02:45PM

Jay,

thx for writing this down.

because SELECT PRY_INDEX
FROM T_PROPERTY
ORDER BY PRY_EXPORT_CITY

is super fast: 0.0074
I was hoping for more progress....

I have a few other ideas on how to optimize this query most of the ideas are based on keeping an extra table with the sorting order seperate etc.. so insert is more expensive... also will try out a few other database on how they behave in this kind of situtation, I tested openbase and that one is slower. Also gonna test postgressql just out of curiosity I don't have time now but in a week or so...


thx again, will defintely buy a copy of your book for all your efforst.

mvo

Options: ReplyQuote


Subject
Views
Written By
Posted
4528
September 06, 2005 05:35PM
2508
September 06, 2005 06:39PM
2682
September 06, 2005 08:30PM
2445
September 06, 2005 09:18PM
2442
September 07, 2005 07:10AM
2407
September 07, 2005 06:28PM
2456
September 07, 2005 08:55PM
2314
September 08, 2005 08:28AM
2358
September 08, 2005 11:12PM
2390
September 09, 2005 10:00AM
2338
September 09, 2005 10:22AM
2336
September 09, 2005 10:03PM
2542
September 10, 2005 07:30AM
2912
September 10, 2005 09:22AM
Re: Optimizing ORDER BY any ideas?
2337
September 12, 2005 02:45PM
2290
September 12, 2005 04:41PM


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.