I thought that went out the window with 9i because it can snoop at the bind
variables??

Rich

Rich Jesse                        System/Database Administrator
[EMAIL PROTECTED]           Quad/Tech International, Sussex, WI USA


-----Original Message-----
Sent: Monday, March 10, 2003 12:09 PM
To: Multiple recipients of list ORACLE-L


Well, I wouldn't say you should *always* use bind variables.

Many situations in a database warehouse preclude that.

Potentially long running queries may need to have literals
to help the CBO make the right choice.

Star transforms don't work with bind variables, and histograms
can't be used with bind variables.

Jared






"Nicoll, Iain" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
 03/08/2003 06:23 AM
 Please respond to ORACLE-L

 
        To:     Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: Oracle position on hints


Given the attitude of most dba's that you should always use bind variables
where possible I can't see how you'd cope with skewed data without them.
Most developers should know a databases's data better than the optimiser 
and
certainly when building queries it's always worthwhile seeing where data 
is
being most effectively filtered.
 
There are lots of mature systems out there where the data characteristics
are unlikely to change much and for most in-house developers you're never
going to have to think about portability but always about performance.
 
Iain Nicoll
-----Original Message-----
Sent: 07 March 2003 16:04
To: Multiple recipients of list ORACLE-L


Hi,
 
Does Oracle have an official position on hints ?
Will they go away as the optimiser is becoming bettre or they are there to
stay ?
 
TIA
 
 

Stephane Paquette


Administrateur de bases de donnees

Database Administrator

Standard Life

www.standardlife.ca

T�l. (514) 925-7187

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jesse, Rich
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to