Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Performance with ORDER BY !!!

Re: Performance with ORDER BY !!!

From: NetComrade <andreyNSPAM_at_bookexchange.net>
Date: Tue, 30 Nov 1999 14:51:31 GMT
Message-ID: <3843e3f0.87371025@news.earthlink.net>


you can query v$sqlarea and see if your order by query does disk sorts, if it does you might want to increase your sort_area_size, or make sure your initial extent in TEMP is bigger then sort_area_size.

On Tue, 30 Nov 1999 13:01:03 GMT, nospam#####franz.mueller_at_orbis.de (Franz Mueller) wrote:

>If I have a query that returns, say 500 rows. I have good indices on
>the WHERE clauses and the answer time is OK. The problem is that in
>practice you always want to show the results sorted (alphabetically).
>If you add ORDER BY <something> the performance descreases
>dramatically. What can be done?


Andrey Dmitriev	 eFax: (978) 383-5892  Daytime: (917) 373-5417
AOL: NetComrade	 ICQ: 11340726 remove NSPAM to email

Received on Tue Nov 30 1999 - 08:51:31 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US