Received: (qmail 32613 invoked from network); 10 Oct 2011 12:08:08 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.ip-pool.com with SMTP; 10 Oct 2011 12:08:03 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7B1A7E49BFF;
 Mon, 10 Oct 2011 13:08:02 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1318266482; bh=aGDaYGywegPLEDJR9KFzMFVO24s3T7xQewvp/hWK
 Vn8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To:
	 Content-type:Content-Transfer-Encoding:MIME-Version:Sender:
	 Reply-To:List-help:List-unsubscribe:List-Id:List-subscribe:
	 List-owner:List-post:List-archive; b=GHlp+icMGxp7YNGPOJpQJCpIBP4DZ
 m5DaNcNSuSRKP5gRYq3ngEaqOLDngIMai5KtvzhW67ojvNTPfCMYpVulItXYhijg3Z5
 NLM7itS52GRWFkTxbTye5BQUAhZmFZyHr9CBJN3BvL2g9KRpTz+rFQAW9mhJXoTl0Js
 MjzzYSQc=
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9pP7m8VH6afK; Mon, 10 Oct 2011 13:08:02 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 403EBE49A5D;
 Mon, 10 Oct 2011 13:07:18 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 10 Oct 2011 13:06:36 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2BFD5E498A8;
 Mon, 10 Oct 2011 13:06:36 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id kQiStM5VdnoW; Mon, 10 Oct 2011 13:06:36 -0400 (EDT)
Received: from webmail.micros.com (usmail2k10cas2.micros.com [63.163.61.227])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B9024E4941D;
 Mon, 10 Oct 2011 13:06:35 -0400 (EDT)
Received: from USMAIL2K1001.us.Micros.int ([::1]) by
 USMAIL2K10CAS2.us.micros.int ([::1]) with mapi id 14.01.0339.001; Mon, 10 Oct
 2011 13:06:34 -0400
From: "Uzzell, Stephan" <SUzzell@MICROS.COM>
To: "'japplewhite@austinisd.org'" <japplewhite@austinisd.org>,
 "adar666@inter.net.il" <adar666@inter.net.il>
CC: ORACLE-L <oracle-l@freelists.org>, "oracle-l-bounce@freelists.org"
 <oracle-l-bounce@freelists.org>
Subject: RE: Release space used by empty BLOB segments
Thread-Topic: Release space used by empty BLOB segments
Date: Mon, 10 Oct 2011 17:06:33 +0000
Message-ID: <DF78EADE484D37419A53F5C898629DB7F763BD@USMAIL2K1001.us.micros.int>
References: <4E92E1D3.4050806@inter.net.il>
 <OF9E2D3E6E.662EC1E1-ON86257925.005CA248-86257925.005D899E@austinisd.org>
In-Reply-To: <OF9E2D3E6E.662EC1E1-ON86257925.005CA248-86257925.005D899E@austinisd.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [173.67.9.70]
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
X-archive-position: 39174
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: SUzzell@MICROS.COM
Precedence: normal
Reply-To: SUzzell@MICROS.COM
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l

Hi Jack,

You might look into Bug 9532911: LOB SHOWING INCORRECT DATA ON DATA GUARD STANDBY SITE as part of your troubleshooting...

Stephan Uzzell

-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of japplewhite@austinisd.org
Sent: Monday, 10 October, 2011 13:02
To: adar666@inter.net.il
Cc: ORACLE-L; oracle-l-bounce@freelists.org
Subject: Re: Release space used by empty BLOB segments

Yechiel,
Have you considered "Alter Table <Table> Shrink Space Cascade"?  I just 
discovered it recently and it's very useful.  I've used it on several very 
large tables, one with a huge LOB segment.  It compacts the table segment, 
as well as all LOB and index segments, releasing the unused space.  The 
excellent part is that the table can still have DML activity - it remains 
open and available.

The tables on which I've used it were multi tens of millions of rows, 
occupying up to 35 GB.  It takes a LONG time for tables that large - 9 to 
12 hours - but works like a charm.  The only downside I've discovered is 
that it appears to give Logical Standby DBs indigestion and they simply 
will not perform SQL Apply.  I'm working on discovering why, but so far no 
luck.

Anyway, I'm very happy with this and wish I'd discovered it years ago - 
first available in 10gR1.

We're on Enterprise 64 bit 10.2.0.4 on Linux.

Jack C. Applewhite - Database Administrator
Austin I.S.D. - MIS Department
512.414.9250 (wk)  /  512.935.5929 (pager)




From:   Yechiel Adar <adar666@inter.net.il>
To:     ORACLE-L <oracle-l@freelists.org>
Date:   10/10/2011 07:19 AM
Subject:        Release space used by empty BLOB segments
Sent by:        oracle-l-bounce@freelists.org



I have a partitioned (by week) table that holds data and images.
The data is kept for 7 years (banking) while the images are kept only 
for one year.
The images are deleted by updating the fields to empty blobs.
The tables has local indexes and a bunch of global indexes.
The problem is that the empty blob segments are not released after their 
content id deleted.

1) How can I release the unused space without making the global indexes 
unusable?
2) Preferably while the users are working (but this not a must)?

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production

-- 
Yechiel Adar
Israel



--
http://www.freelists.org/webpage/oracle-l





--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l


