Re: performance question

From: joel garry <>
Date: Thu, 13 Nov 2008 10:54:24 -0800 (PST)
Message-ID: <>

On Nov 12, 10:58 pm, DA Morgan <> wrote:
> joel garry wrote:
> > I thought the white-space thingy was relaxed for comparing two sql
> > statements - or is that just for stored outlines?
> SELECT name, value
> FROM v$parameter
> WHERE name LIKE '%sharing%';
> --
> Daniel A. Morgan
> Oracle Ace Director & Instructor
> University of Washington
> (replace x with u to respond)
> Puget Sound Oracle Users

I tried Charles' demo with EXACT, SIMILAR and FORCE, all showed the hard parsing ( I guess that only applies to literal values, as the docs say.

But that does bring up the point, be sure all init.ora are the same on both instances. I know mine aren't, since I was testing _optim_peek_user_binds (made no difference for my purposes), and other things are different just because. My experience has been if there is this big of a difference between dev and prod, and not lots of other effects, there's probably something wrong with an index. That may just reflect the kinds of mistakes I personally make.

Back to the OP, also see particularly the part about "white space". It's possible structural differences may be enough to change the optimizers decisions. Do the proper observations and follow where they lead, after you verify code and objects are as expected.


-- is bogus.
Received on Thu Nov 13 2008 - 12:54:24 CST

Original text of this message