Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: select counts versus insert/select counts

Re: select counts versus insert/select counts

From: Rumpi Gravenstein <rgravens_at_gmail.com>
Date: Fri, 19 Oct 2007 09:10:01 -0400
Message-ID: <9c9b9dc90710190610y6b2d27aaj22e8711dd03bcb@mail.gmail.com>


That's an excellent idea - I've seen this as well. If the index is corrupted, the indexed search will not return the correct results. In my case rebuilding the index fixed the issue.

On 10/19/07, Rob Dempsey <Rob.Dempsey_at_5one.co.uk> wrote:
>
> I have seen different counts when there is an index on the table and
> oracle has not maintained the index.
>
> Check what the execution plan is. If it is using a index then try the
> same SQL with a /*+ FULL(t)*/ hint
>
> Rob
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 19 2007 - 08:10:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US