Home » RDBMS Server » Performance Tuning » Stopping optimizer choosing concatenation (Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production)
Stopping optimizer choosing concatenation [message #522198] Wed, 07 September 2011 04:36 Go to next message
Roachcoach
Messages: 1576
Registered: May 2010
Location: UK
Senior Member
Hi,

I have a feeling the answer is 'not easily' but google thus far is failing me (or I need better google-fu).

I've got an operation where the optimizer is taking a concatenation path and I want to test it's performance by forcing it to not take this path and deal with it as a standard 'or'.

Is there a (presumably undocumented since I can't find reference to it) hint to force it not to? I'm aware of the USE_CONCAT() hint, but there seems to be no way to force-prevent concatenation.


Does anyone have any ideas on how I can prevent it using concat (other than maybe re-writing the query in a different fashion)?
Re: Stopping optimizer choosing concatenation [message #522228 is a reply to message #522198] Wed, 07 September 2011 07:39 Go to previous messageGo to next message
LNossov
Messages: 318
Registered: July 2011
Location: Germany
Senior Member
I think, you need NO_EXPAND hint.
Re: Stopping optimizer choosing concatenation [message #522230 is a reply to message #522228] Wed, 07 September 2011 07:42 Go to previous message
Roachcoach
Messages: 1576
Registered: May 2010
Location: UK
Senior Member
*Much* appreciated.
Previous Topic: Statspack unit information
Next Topic: how we can match variable sga using v$sga and v$sgastat views
Goto Forum:
  


Current Time: Fri Apr 19 19:59:54 CDT 2024