Received: (qmail 19779 invoked from network); 12 Dec 2008 03:40:27 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.intergenia.de with SMTP; 12 Dec 2008 03:40:01 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CDB77B08B4C;
 Fri, 12 Dec 2008 04:40:01 -0500 (EST)
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 10949-02; Fri, 12 Dec 2008 04:40:01 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3AFD0B0892B;
 Fri, 12 Dec 2008 04:40:01 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 12 Dec 2008 04:37:57 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CAEC8B07ED1	for <oracle-l@freelists.org>; Fri, 12 Dec 2008 04:37:56 -0500 (EST)
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 10349-07-2 for <oracle-l@freelists.org>;	Fri, 12 Dec 2008 04:37:56 -0500 (EST)
Received: from web27406.mail.ukl.yahoo.com (web27406.mail.ukl.yahoo.com [217.146.177.182])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with SMTP id 469CFB07EAD	for <oracle-l@freelists.org>; Fri, 12 Dec 2008 04:37:55 -0500 (EST)
Received: (qmail 86192 invoked by uid 60001); 12 Dec 2008 09:37:55 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.co.uk;  h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;  b=UnVaM8h97Ti8yhD9GviSyV/9OFJvWR0rjrjAp+h8iaT9+gYW0iWpj2THBacI6dwY1L0uxGVxuo6oajWRYAjt+VXQDLmnakIwEVHGkpkMsdYr8N1vHrWXxbfIuaCfl2qM0ShcOUqMGaIA8eNxaXhNu6YDDe34jQG899Gh0o8njaY=;
X-YMail-OSG: YJd.7FcVM1lZiPbvlbuKWYZAtfmqaF9bbPcqrlnqOcmvtpWvbcFWwaDEcJelbPecUwCi9LrUf.YAtUjL61ovhTwaY8kaP7VdgIl1JwnGD5DOsHpdIjp2xLlERgGW4yV6EavuNGVNK1uPTTfw_XPX5EBTREhFKpTa4sKTu7SeftQurZ2bLUDcm9kVahY-
Received: from [164.164.45.250] by web27406.mail.ukl.yahoo.com via HTTP; Fri, 12 Dec 2008 09:37:54 GMT
Date: Fri, 12 Dec 2008 09:37:54 +0000 (GMT)
From: hrishy <hrishys@yahoo.co.uk>
Subject: RE: 10g slowdown
To: "William.Blanchard@kohler.com" <William.Blanchard@kohler.com>,  "oracle-l@freelists.org" <oracle-l@freelists.org>, Mark.Bobak@proquest.com
In-Reply-To: <6AFC12B9BFCDEA45B7274C534738067F0913DF10@AAPQMAILBX02V.proque.st>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
Message-ID: <18192.86087.qm@web27406.mail.ukl.yahoo.com>
X-archive-position: 13271
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: hrishys@yahoo.co.uk
Precedence: normal
Reply-to: hrishys@yahoo.co.uk
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
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

Hi Mark

Any ideas on how a index would blow up.

Few i can think of are

1)BitMap indexes
2)Index on monotonically increasing sequences columns and later on the data is purged from the table

any others ?

regards
Hrishy


--- On Thu, 11/12/08, Bobak, Mark <Mark.Bobak@proquest.com> wrote:

> From: Bobak, Mark <Mark.Bobak@proquest.com>
> Subject: RE: 10g slowdown
> To: "William.Blanchard@kohler.com" <William.Blanchard@kohler.com>, "oracle-l@freelists.org" <oracle-l@freelists.org>
> Date: Thursday, 11 December, 2008, 11:49 PM
> Hi William,
> 
> In no particular order:
> 
> I assume you specify the range as inputs in the where
> clause, that limits the range scan?  Has that range of
> values gotten much larger recently?
> 
> How big is the index, relative to the table?  I recently
> ran into a case where an index was blowing up to over 4GB in
> size, even though it only indexed one column, and the entire
> table was only 136MB.  Perhaps some unfortunate DML has
> caused the index to blow up?  If this is the case, you could
> try a coalesce or even a rebuild, to see if it helps. 
> However, if that fixes it, I'd caution you against
> simply using periodic coalesces or rebuilds as a solution. 
> Getting to the root cause of the index blowing up in size
> would probably be beneficial.
> 
> What about the table itself?  If your execution plan
> indicates that the INDEX RANGE SCAN feeds a TABLE ACCESS BY
> ROWID step, you may need to look at data clustering in the
> table.  Has the data in the table been reorganized lately? 
> If so, perhaps you previously had data organization that
> benefitted this particular index order, and now the data
> clustering has been lost?  What is the clustering factor on
> the index?  How many blocks in the table?  How many rows in
> the table?
> 
> Just some stuff to think about, off the top of my head...
> 
> Hope that helps,
> 
> -Mark
> 
> --
> Mark J. Bobak
> Senior Database Administrator, System & Product
> Technologies
> ProQuest
> 789 E. Eisenhower, Parkway, P.O. Box 1346
> Ann Arbor MI 48106-1346
> +1.734.997.4059  or +1.800.521.0600 x 4059
> mark.bobak@proquest.com<mailto:mark.bobak@il.proquest.com>
> www.proquest.com<http://www.proquest.com>
> www.csa.com<http://www.csa.com>
> 
> ProQuest...Start here.
> 
> From: oracle-l-bounce@freelists.org
> [mailto:oracle-l-bounce@freelists.org] On Behalf Of
> Blanchard William
> Sent: Thursday, December 11, 2008 6:18 PM
> To: oracle-l@freelists.org
> Subject: 10g slowdown
> 
> 
> We have a query that began taking a long time about a week
> ago.  The program, in SAP, ran for 10 - 15 minutes but is
> now taking about 6 hours.  The table has 5.1 million rows. 
> The explain plan shows a simple index range scan.  We just
> reran statistics on the table and all indexes but no luck We
> are concentrating on the one query that took about 4.75
> hours.
> 
> Does anyone see something glaring or know of a simple test
> to locate the problem?
> 
> Let me know if you need any other info.
> 
> 
> Thank you,
> 
> William B.


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


