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: help!! how to suspends index work

Re: help!! how to suspends index work

From: Pete Sharman <psharman_at_us.oracle.com>
Date: Thu, 30 Sep 1999 09:29:27 -0700
Message-ID: <37F38FE7.F6A03740@us.oracle.com>


Jorge

If you want to delete them all, use the TRUNCATE command. If you want to save only a few, do a CREATE TABLE AS SELECT of the few rows you want to keep, TRUNCATE the old table, then INSERT using a SELECT from the table you created with CTAS.

For real performance, both the CTAS and the INSERT can be parallelized.

HTH. Pete

Jorge wrote:

> Hello
> I need to delete many rows of a table but It have aboute 10 indexes and
> I need to do it quickly, How do I?


Received on Thu Sep 30 1999 - 11:29:27 CDT

Original text of this message

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