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: Having a fast way to drop a 10G bytes tablespace ?

Re: Having a fast way to drop a 10G bytes tablespace ?

From: Jason Salter <jason_at_seahorseNOSPAM.demon.co.uk>
Date: Wed, 13 Oct 1999 18:10:26 +0100
Message-ID: <arwEOKxS8Z1JruSYUxbVq1433J2m@4ax.com>


On 13 Oct 1999 16:58:23 GMT, dhall0419_at_aol.com (Dhall0419) wrote:

>Use the truncate table command first. It quickly empties the table without
>creating redo. Then delete the table.
>HTH
That is if it's only the one table.

Try :-

spool trunctab.sql

select 'truncate table '||table_name||';' from dba_tables
where tablespace_name = '<TABLESPACENAME>';

spool off;

@trunctab

Then try the drop tablespace command and rm the datafile(s).

Jason. Received on Wed Oct 13 1999 - 12:10:26 CDT

Original text of this message

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