Re: Slow query - help me optimize ?
Posted by: D H
Date: March 24, 2009 12:21PM

Thanks a lot, in the meantime, I had figured out the first solution you give, and went from about 2000ms to about 200ms execution time.

I'll look into the second solution and UNION ALL.

LIMIT 0,5 is indeed pagination, so I probably need a lecture - but I'll try to look for it myself, its probably a known problem if you call it a lecture.

Havent used SQL in a heavy load environment for about 10 years (and back then it was on MS-SQL...), so I'm a bit rusted.

Options: ReplyQuote


Subject
Written By
Posted
D H
March 22, 2009 07:44AM
Re: Slow query - help me optimize ?
D H
March 24, 2009 12:21PM
D H
March 25, 2009 06:14AM


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.