Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: truncate a table with many extents
I knew there were good reasons, I just thought I would throw that out so I
could hear them. Rachel reminded me that there is also the redo log issue.
Thanks,
Ruth
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Adams, Matthew (GE
Consumer & Industrial)
Sent: Thursday, May 06, 2004 10:10 AM
To: oracle-l_at_freelists.org
Subject: RE: truncate a table with many extents
I was preferring to truncate so I wouldn't loose the=20 indexes and grants on the table.=20
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Ruth Gramolini
Sent: Thursday, May 06, 2004 9:56 AM
To: oracle-l_at_freelists.org
Subject: RE: truncate a table with many extents
Why can't you just drop and recreate the table? Since I know you are an exceptional DBA this is probably a stupid question but...
Ruth
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Adams, Matthew (GE
Consumer & Industrial)
Sent: Wednesday, May 05, 2004 5:28 PM
To: oracle-l_at_freelists.org
Subject: truncate a table with many extents
I'm truncating a table with around 14,000 extents on a 7.3.4 database on a slow machine. (Please don't ask how this happened, it's too=3D20 painful to re-live.)
Is there anyway to determine how far the truncate has gotten at any given point? I thought I might see changes in sys.fet$ or sys.uet$ as extents are de-allocated, but I'm not seeing that.
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ----------------------------------------------------------------Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu May 06 2004 - 11:22:25 CDT