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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Bind variables v. cursor_sharing = FORCE

RE: Bind variables v. cursor_sharing = FORCE

From: Steve Adams <steve.adams_at_ixora.com.au>
Date: Fri, 19 Oct 2001 23:51:00 -0700
Message-ID: <F001.003B0AB4.20011019235017@fatcity.com>

Hi Greg and list,

I'm not convinced of John's conclusion that 'cursor_sharing' = FORCE outperforms bind variables. Some months ago I tried
to reproduce John's results and was not able to, despite trying several different variations on the tests. Tom Kyte
claims that 'cursor_sharing' is about 10% more expensive. My results were between 10% and 30%.

@   Regards,
@   Steve Adams
@   http://www.ixora.com.au/              -  For DBAs
@   http://www.secularislam.org/call.htm  -  For Muslims
@   http://www.christianity.net.au/       -  For all


-----Original Message-----
Sent: Saturday, 20 October 2001 7:21
To: Multiple recipients of list ORACLE-L

An excerpt from....

PIRANHAS IN THE POOL,
SQL PERFORMANCE KILLERS
Investigating the effects of literal SQL on Oracle performance

John Beresniewicz
Precise Software Solutio



Effect of CURSOR_SHARING
A primary purpose of the 8.1.6 testing was to assess the impact the new CURSOR_SHARING system parameter and its
potential for helping DBAs manage ill-behaved applications with high parse rates of literal SQL. Comparing Test 1 to
Test 3 and also Test 0 to Test 4 serves this goal. Comparing these Test results, CURSOR_SHARING exhibits advantages similar to those obtained using bind variables in Test
2:
-- Reduced library cache impact.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Steve Adams
  INET: steve.adams_at_ixora.com.au

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: ListGuru_at_fatcity.com (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). Received on Sat Oct 20 2001 - 01:51:00 CDT

Original text of this message

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