Gene:
which everone is used in production. If the statements are dynamically built
with "variable" hard-coded values then you have a couple options.
1) Tune the query for the worst case
2) Tune the query for bind-variables and set "cursor_sharing = force"
in your init.ora
HTH
Kevin
-----Original Message-----
Sent: Wednesday, July 11, 2001 10:06 AM
To: Multiple recipients of list ORACLE-L
Hi,
I'm trying to tune a query which has several input
parameters. I used the bind variables in their place
to create an explain plan. Then I put some real
data in their place and created another explain plan.
The two plans were different. Which plan should I
be using in my tuning? The one with the bind vars or
the one with the real data?
TIA
Gene
=====
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Gene Gurevich
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Toepke, Kevin M
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).