RE: shrinking space

From: Eugene Pipko <eugene.pipko_at_unionbay.com>
Date: Wed, 1 Jun 2011 10:16:17 -0700
Message-ID: <34DB87F47199374280ADFD2968CDBCFA8888E92976_at_MAIL01KT.seattlepacificindustries.com>



Thanks everyone for your responses.
I have a luxury of having downtime most weekends, so I will CTAS new table. That seem to be the simplest approach.

From: Bobak, Mark [mailto:Mark.Bobak_at_proquest.com] Sent: Tuesday, May 31, 2011 8:31 PM
To: Eugene Pipko; oracle-l_at_freelists.org Subject: Re: shrinking space

Depending on if you can get maintenance window, I would CTAS new table with rows to keep, truncate original table, and then insert rows from temp table into empty table. Do as much as possible with nologging.

HTH,
-Mark

Sent from my Motorola ATRIX™ 4G on AT&T

-----Original message-----

From: Eugene Pipko <eugene.pipko_at_unionbay.com> To: "oracle-l_at_freelists.org" <oracle-l_at_freelists.org> Sent: Wed, Jun 1, 2011 03:21:03 GMT+00:00 Subject: shrinking space
Hi all,
Oracle 9.2.0.8 on Win 2003.
SAP admitted a bug in their app, which resulted in millions of rows inserted in a couple of tables. They came up with a script to delete them, but failing to provide any solutions on how to reclaim unused space. One of the tables has CLOB column and another has BLOB column in them.

Question: how do I shrink tables with CLOB and BLOB columns?

Thanks,
Eugene

--

http://www.freelists.org/webpage/oracle-l Received on Wed Jun 01 2011 - 12:16:17 CDT

Original text of this message