RE: shrinking space

From: Kamran Agayev (ICT/SNO) <"Kamran>
Date: Thu, 2 Jun 2011 09:20:44 +0500
Message-ID: <>

Done forget about “default values” when using CTAS

From: [] On Behalf Of Eugene Pipko Sent: Wednesday, 1 June 2011 10:16 PM
To: 'Bobak, Mark'; Subject: RE: shrinking space

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 [] Sent: Tuesday, May 31, 2011 8:31 PM
To: Eugene Pipko; 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.


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

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

From: Eugene Pipko <> To: "" <> Sent: Wed, Jun 1, 2011 03:21:03 GMT+00:00 Subject: shrinking space
Hi all,
Oracle 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?


-- Received on Wed Jun 01 2011 - 23:20:44 CDT

Original text of this message