Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: group by and sorting
I suspect the thing you saw was an execution plan where Oracle used an index to acquire data in the correct order for an aggregate, and therefore reported
sort (group by nosort).
You cannot 'tell' Oracle not to sort for a group by - but Oracle can discover that there is an efficient access path that allows it to avoid sorting.
-- Regards Jonathan Lewis http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/seminar.html Public Appearances - schedule updated April 5th 2005 "Eugene" <epipko_at_hotmail.com> wrote in message news:1117573455.967730.316920_at_f14g2000cwb.googlegroups.com...Received on Thu Jun 02 2005 - 15:43:49 CDT
> Hi all,
> Is there a way to "tell" Oracle not to sort when it's doing GROUP BY? I
> think I saw something like ... group by nosort somewhere.
>
> Eugene
>
![]() |
![]() |