Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: WHY SQL-Statement without bind-prameters runs 50 times faster as with ??????

Re: WHY SQL-Statement without bind-prameters runs 50 times faster as with ??????

From: Karl R. <kreitsch_at_zdnetonebox.com>
Date: 2000/05/04
Message-ID: <09a8847e.82959e41@usw-ex0104-031.remarq.com>#1/1

Hello!
I have read this in an OracleTuningBook too, the Problem is that Oracle does not know the datatype of an bind and so strict search with index seems not possible. The Statements i showed are outputs from tkprof.

So in Oracle 8.1.6 Oracle uses automatically bindparam by parsing the statement with constant expressions. Probably the need for bind-params will descrease!

Regards

Karl Reitschuster
Senior Consultant CSC Ploenzke AG
Oracle Databases, Implementation, Performance-Tuning <!Jesus is Lord!>
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free! Received on Thu May 04 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US