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@xxxxxxxxxxxx>
To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
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

Other related posts: