Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sort/Merge problem
Ben wrote:
> Ben wrote:
> > here's the statement : > SELECT * > FROM pd.f42119 > WHERE sdpsn = :key1 > ORDER BY sddoco ASC, sddcto ASC, sdkcoo ASC, sdlnid ASC > > Here's the explain plan: > 0 4 SELECT STATEMENT Cost = 10 > 1 4 SORT ORDER BY > 2 4 TABLE ACCESS BY INDEX ROWID F42119 > 3 4 INDEX RANGE SCAN F42119_D3 > > This returns 4 rows? I know that our sort_area_size is not very large > but it should be large enough to accomodate 4 rows from this table. > Can someone shed a little more light on this?
Shed some light on what?
The above is NOT an explain plan and hasn't been since Oracle 8i.
Go to Morgan's Library at www.psoug.org and look up Explain Plan. Then run a proper plan with DBMS_XPLAN.DISPLAY which will show you temp space usage.
-- Daniel Morgan Puget Sound Oracle Users GroupReceived on Tue Oct 03 2006 - 17:30:36 CDT
![]() |
![]() |