From oracle-l-bounce@freelists.org Sat Mar 6 01:28:16 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i267SFr17081 for ; Sat, 6 Mar 2004 01:28:15 -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 i267SDo17076 for ; Sat, 6 Mar 2004 01:28:14 -0600 Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D8B9A395895; Fri, 5 Mar 2004 16:29:18 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 05 Mar 2004 16:28:12 -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 A14C6395427 for ; Fri, 5 Mar 2004 16:28:08 -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 <20040305213219.LFHX29592.lakemtao03.cox.net@smtp.east.cox.net> for ; Fri, 5 Mar 2004 16:32:19 -0500 From: To: oracle-l@freelists.org Subject: Re: Re: concerning hard parses Date: Fri, 5 Mar 2004 16:32:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <20040305213219.LFHX29592.lakemtao03.cox.net@smtp.east.cox.net> X-archive-position: 660 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 ahh i feel like an idiot. That was the right test. Sorry about this. I have a ton of these sitting on my desktop. Atleast its an interesting case. So again, the attached files from my first email does incure a hard parse. > > From: > Date: 2004/03/05 Fri PM 04:29:43 EST > To: oracle-l@freelists.org > Subject: Re: concerning hard parses > > 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 > ----------------------------------------------------------------- > ---------------------------------------------------------------- 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 -----------------------------------------------------------------