Newsgroups: comp.databases.oracle.server
From: Charles Hooper <hooperc2...@yahoo.com>
Date: Wed, 30 Jan 2008 11:01:12 -0800 (PST)
Local: Wed, Jan 30 2008 2:01 pm
Subject: Re: long running select min(timestamp) query
On Jan 30, 1:41 pm, "bobdu...@gmail.com" <bobdu...@gmail.com> wrote:
> On Jan 30, 1:16 pm, Charles Hooper <hooperc2...@yahoo.com> wrote: No problem with masking the table and index names if needed. > > A lot of consistent gets, and likely also a lot of physical reads, and > > 0 undo blocks. That certainly is not what I expected. The wait > > events that you posted looked similar to the following: > > WAIT #14: nam='db file sequential read' ela= 12382 file#=4 > > block#=1918069 blocks=1 obj#=92627 tim=3655578822 > > The above indicates that Oracle is performing a single block read in > > The DBMS Xplan is showing that Oracle is performing roughly 118,000 > > To determine if system statistics have been gathered: > > If system statistics have not been gathered, there might be entries in > > Charles Hooper > OK!!! Note - i've given up on masking the table/index/schema name, > SQL> SELECT > OWNER > So that is the spot in the index in question, as expected i guess. > I did as you said, ran: > Reran with only the gather statistics hint, and same result - its > I selected system stats, its pretty sparse, those SREADTIM and > Looking in the console, this is what it says about the index: > Last Analyzed 2008-01-30 10:02:07 A minor correction to a previous statement to avoid confusion with System statistics will help Oracle determine the correct (optimal) To prevent the use of the one index currently being used: Do not use any index: You can forward the 12MB trace file to my Yahoo email address, and I Charles Hooper You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||