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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: temp tablespace colesce

RE: temp tablespace colesce

From: Whittle Jerome Contr NCI <Jerome.Whittle_at_scott.af.mil>
Date: Fri, 16 May 2003 10:02:54 -0800
Message-ID: <F001.0059AFA1.20030516100254@fatcity.com>


If you meant shrink the amount used within the temp tablespace, you could try this. Our temp tablespaces are set at 10 percent normally. Altering it to 0 percent then immediately back to 10 percent usually cleans it up.

alter tablespace temp default storage(pctincrease 0);

alter tablespace temp default storage(pctincrease 10);

For the most part, I don't do this unless some runaway process or SQL filled the temp tablespace. Had a developer fill up a 2GB temp tablespace in a development DB just yesterday. Left me a nice ORA-1652: unable to extend temp segment by 750 in tablespace TEMP in the alert log!

Jerry Whittle
ASIFICS DBA
NCI Information Systems Inc.
jerome.whittle_at_scott.af.mil
618-622-4145

> -----Original Message-----
> From: AK [SMTP:oramagic_at_hotmail.com]
>
> What is the way to shrink temp tablespace . I tried alter tablespace colesce .. doesn't seems to work and I can't bring down the db .
>
> -ak
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Whittle Jerome Contr NCI
  INET: Jerome.Whittle_at_scott.af.mil

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri May 16 2003 - 13:02:54 CDT

Original text of this message

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