Newsgroups: comp.databases.oracle.server
Date: Mon, 28 Jan 2008 09:49:08 -0800 (PST)
Local: Mon, Jan 28 2008 12:49 pm
Subject: Re: long running select min(timestamp) query
On Jan 28, 9:40 am, "bobdu...@gmail.com" <bobdu...@gmail.com> wrote:
> Hi, Sorry to say, but '10g' doesn't say much about which release of Oracle > I have a basic event table in my 10g database, primary integer key, > select min(eventdate) from events; > It can occasionally take a VERY long time. There is a standard btree > In my current scenario, the table has less than a million records, and > Operation Object Object Type Order Rows Size (KB) Cost Time (sec) CPU > I've run the ADDM, it updated the stats, but that doesn't seem to help > Thanks, you're using, as that covers releases 10.1.0.2 through 10.2.0.3, and the optimizer changed between those two base versions. My suggestion is you configure the PLUSTRACE role, grant it to the Statistics SQL> The db block gets, consistent gets and physical reads can reveal much Statistics SQL> Such information can be of great help in diagnosing and tuning a Another excellent resource is 'Cost-Based Oracle Fundamentals', by With what you have supplied it's difficult to know where this query is David Fitzjarrell 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.
| ||||||||||||||