From oracle-l-bounce@freelists.org Sat Mar 6 01:28:47 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i267SlJ17155 for ; Sat, 6 Mar 2004 01:28:47 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i267SXo17111 for ; Sat, 6 Mar 2004 01:28:34 -0600 Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 555C4395110; Fri, 5 Mar 2004 16:27:24 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 05 Mar 2004 16:25:37 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 438E3394B6D for ; Fri, 5 Mar 2004 16:25:31 -0500 (EST) Received: from smtp.east.cox.net ([172.18.52.57]) by lakemtao03.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040305212944.LECH29592.lakemtao03.cox.net@smtp.east.cox.net> for ; Fri, 5 Mar 2004 16:29:44 -0500 From: To: oracle-l@freelists.org Subject: Re: concerning hard parses Date: Fri, 5 Mar 2004 16:29:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <20040305212944.LECH29592.lakemtao03.cox.net@smtp.east.cox.net> X-archive-position: 658 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: ryan.gaffuri@cox.net Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l ignore. wrong test. I didnt get a hard parse with this one. I have to find the test i did... sorry about this. > > From: > Date: 2004/03/05 Fri PM 04:26:42 EST > To: oracle-l@freelists.org > Subject: concerning hard parses > > I ran a test with bind variables from sqlplus. I am not sure why Im getting a hard parse. > > 1. create table myTable as select * from dba_objects; > 2. I then ran a script to tell me how many parses my current session has. > 3. I then initialized a bind variable with 'test_bind.sql' > and ran the following query from test_select.sql > > select object_name > from mytable > where object_name like :object_name > and rownum < 2 > > 4. I then re-initialized the bind variable to a different value and ran it again. I got a hard parse. Shouldn't I get a soft parse since I'm using bind variables? > > so that its readable. I attached the results and I attached the 3 scripts I used. I hope this is ok... > > > ---------------------------------------------------------------- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > ---------------------------------------------------------------- > To unsubscribe send email to: oracle-l-request@freelists.org > put 'unsubscribe' in the subject line. > -- > Archives are at http://www.freelists.org/archives/oracle-l/ > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html > ----------------------------------------------------------------- > ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------