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

Home -> Community -> Usenet -> c.d.o.misc -> Re: resize tablespace temp

Re: resize tablespace temp

From: G Quesnel <dbaguy_ott_at_yahoo.com>
Date: 28 Jul 2005 10:42:51 -0700
Message-ID: <1122572571.153129.258410@g14g2000cwa.googlegroups.com>


As you may have found out, the TEMP tablespace is a little trickier than others tablespaces.
If you have multiple files making up your TEMP tablespace in Oracle 9, you can drop and recreate one file at a time, avoiding having to drop and recreate the whole tablespace, and possibly altering user's default tablespace. (if you don't, you should consider it)

1.ALTER DATABASE TEMPFILE '...temp02.dbf' OFFLINE;
2.ALTER DATABASE TEMPFILE '...temp02.dbf' DROP INCLUDING DATAFILES;
3.alter tablespace temp add tempfile '...temp02.dbf' size 1000M reuse
           autoextend on next 500M maxsize 8000M;
HTH Received on Thu Jul 28 2005 - 12:42:51 CDT

Original text of this message

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