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: how to delete parts of data of a very large table quickly?

Re: how to delete parts of data of a very large table quickly?

From: Phillip <tienp_at_wholefoods.com>
Date: Wed, 23 Apr 2003 09:48:37 -0500
Message-ID: <3EA6A7C4.1D0F4E81@wholefoods.com>


the best way may be to create a temporary table and insert the rows you want saved from this table into the temporary table. Then truncate the original table, and reinsert the rows from the temporary table. The 'truncate' command will bypass any redo activity and will be much faster than a normal delete. Also keep in mind that there's no rollback from a truncate, so if you execute this command, make sure that this is what you want.

zhangguoping_at_boco.com.cn wrote:

> i have a very large table, i want to delete some data. The data to be
> deleted is also very large. i am afraid rollback segment may suffer from it.

--
Phillip
Received on Wed Apr 23 2003 - 09:48:37 CDT

Original text of this message

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