Re: An ancient mystery

From: Andrew Kerber <andrew.kerber_at_gmail.com>
Date: Thu, 20 Nov 2008 21:51:36 -0600
Message-ID: <ad3aa4c90811201951q491f8793j2d73aac58650277a@mail.gmail.com>


Is it possible someone gathered stats on the table, so the query went into CBO mode, and came up with a bad plan? Other than that, as I recall about the only thing that can go wrong with RBO is a bad index. But I would have expected that to throw an error message.

On Thu, Nov 20, 2008 at 9:05 PM, Dennis Williams < oracledba.williams_at_gmail.com> wrote:

> List,
>
> The situation:
>
> Oracle 8.1.7.4 database on Solaris 8 (soon to be upgraded to 10g)
> Rule-based Optimizer
>
> A query which has run for years using an indexed access to a very large
> table (maybe 100 million rows)
> suddenly decides to use a full-table scan, shutting down a critical
> business process.
>
> Then after several hours, it switches back to using the index.
> All concerned claim that nothing changed before or after.
>
> Needless to say the business users are nervous. They think maybe the
> database grew beyond some limit.
>
> Can anyone think of an explanation?
>
> Thanks,
> Dennis Williams
>

-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Nov 20 2008 - 21:51:36 CST

Original text of this message