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: Temp space vs. table size

Re: Temp space vs. table size

From: Nighr <nighr_at_aol.com>
Date: 1997/12/26
Message-ID: <19971226232901.SAA12574@ladder02.news.aol.com>#1/1

I would seriously look at the query. Doing a join on 72 fields on an 800 meg table could be very slow. I'm guessing that you need such large sort area because you don't have your "order by" or join fields indexed.

Another approach might be to break up the query into sub-queries with range selects. Then use a Union to bring them together.

Also don't be afraid to create temporary tables to store intermediate steps. As you get data to step 3 of your query, you can truncate the tables used in step 2, and so on.

Without know the particulars of your environment, this is the best I can do.

--Bob. Received on Fri Dec 26 1997 - 00:00:00 CST

Original text of this message

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