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: Freeing up system table space

Re: Freeing up system table space

From: Jorge Meirim <Transparente_at_mail.telepac.pt>
Date: Thu, 22 Oct 1998 11:47:08 +0100
Message-ID: <70n2ge$rtc$2@pthp35.telecom.pt>


-"ALTER tablespace «tablespace name» coalesce space;" (in svrmgrl if you have split space in your tablespace). -Do create a tablespace for your own data. Indexes on one other tablespace. Do not use system tablespace.
-ReSize properly the extent size of your tables.Keep your pctincrease 0. -"alter table «table name» deallocate unused; " Deallocates space until High-Water-Mark If you are using unix and you definitly have to use exp/imp. Speed up your tasks.
1º " exp user/pwd file=filename statistics=NONE indexes=N" the rest you should use what it adapts best. 2º exp user/pwd file=struct rows=N
to get the structure of the DB
3. truncate your data (This you know)
4º imp user/pwd file=filename .......
5º imp user/pwd file=struct indexfile=index grep -v 'REM' index.sql>index1.sql
6º sqlplus user/pwd @index1.sql
This should be fast enough.
J. Meirim

Alon Gilad wrote in message <362CBBFD.2B69_at_rts.co.il>...
>"Oracle does not free up space in the system table space. "
>" Is there any way to free this space other than doing a complete
>export/import of the DB ? "
>Alon
Received on Thu Oct 22 1998 - 05:47:08 CDT

Original text of this message

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