Received: (qmail 16930 invoked from network); 2 Feb 2012 15:43:53 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.ip-pool.com with SMTP; 2 Feb 2012 15:43:50 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7192FE8CD5B;
 Thu,  2 Feb 2012 16:43:44 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1328219024; bh=TTzcyFQIuC+Kd1ZkM/GLef5NkhDhtcC1fWLPfhWL
 5iI=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:
	 From:To:Cc:Content-type:Content-Transfer-Encoding:Sender:Reply-To:
	 List-help:List-unsubscribe:List-Id:List-subscribe:List-owner:
	 List-post:List-archive; b=ZUfcJs4CjHD7ow0cmlUApagsJHSllAlYBas8tLq6
 0qQEDNHMzUTo4DIbr2O98As0PUJyREA3QMRzQd9SEQ/9URj/JYJy3ejJHN1SZG9NcAw
 WlpLEPYOMuH8MQ13Md9q7CVUq7ejxkIIRSi4/oTaCKe0ScjBYtx/cjFU1Cz1GsXo=
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id D-AQ6DNLeIQ4; Thu,  2 Feb 2012 16:43:44 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 77127E8CD52;
 Thu,  2 Feb 2012 16:43:00 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 02 Feb 2012 16:42:19 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 05F86E8CD37
 for <oracle-l@freelists.org>; Thu,  2 Feb 2012 16:42:19 -0500 (EST)
Authentication-Results: turing.freelists.org; dkim=pass (1024-bit key) header.i=@gmail.com
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Np5apRA-afcj for <oracle-l@freelists.org>;
 Thu,  2 Feb 2012 16:42:18 -0500 (EST)
Received: from mail-tul01m020-f179.google.com (mail-tul01m020-f179.google.com [209.85.214.179])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A0083E8CD30
 for <oracle-l@freelists.org>; Thu,  2 Feb 2012 16:42:18 -0500 (EST)
Received: by obbup6 with SMTP id up6so3491044obb.10
        for <oracle-l@freelists.org>; Thu, 02 Feb 2012 13:42:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:cc:content-type
         :content-transfer-encoding;
        bh=9DwyoGhLhOqjgkiZBhm6mk0QsaNUMG/KAA6ceGXn9ao=;
        b=hFTbwcWTLFaRSwjwWMgZuZnJEQOZ40MTagpeFtOEQp+HLidw2iD5gf4mo5e2oVd32s
         STrCBPaFLdJHbBctSfqAFY/NmhU4dLjOLbCYkzL2OuX0xO4ya9JrrAftE2GFXp0Zi2pV
         JIpS1Y2tWkYbGi4u8VO6yI26vosk/FGC8wXbI=
MIME-Version: 1.0
Received: by 10.182.72.35 with SMTP id a3mr4175174obv.16.1328218937772; Thu,
 02 Feb 2012 13:42:17 -0800 (PST)
Received: by 10.60.49.202 with HTTP; Thu, 2 Feb 2012 13:42:17 -0800 (PST)
In-Reply-To: <304F58144267C5439E733532ABC9A3A1140393D7@USA0300MS02.na.xerox.net>
References: <304F58144267C5439E733532ABC9A3A11403936A@USA0300MS02.na.xerox.net>
 <1328217213.81844.YahooMailNeo@web36808.mail.mud.yahoo.com>
 <304F58144267C5439E733532ABC9A3A1140393A8@USA0300MS02.na.xerox.net>
 <CADo_RaPqy5ovUz3PSz1XMwc7D7QThd6RbM9OZL3aSk6TsY-ZJw@mail.gmail.com>
 <304F58144267C5439E733532ABC9A3A1140393D7@USA0300MS02.na.xerox.net>
Date: Thu, 2 Feb 2012 16:42:17 -0500
X-Google-Sender-Auth: eH4670HIViMDMqLJthKG2fJESco
Message-ID: <CADo_RaNb3uFMkjg_UD0eOeXC4z9_+jNb8_1XiomEFaNag_3Rrw@mail.gmail.com>
Subject: Re: Enforcing plan via SQL plan baseline
From: Andy Klock <andy@oracledepot.com>
To: "Hameed, Amir" <Amir.Hameed@xerox.com>
Cc: oracle-l <oracle-l@freelists.org>
Content-type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-archive-position: 41257
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: andy@oracledepot.com
Precedence: normal
Reply-To: andy@oracledepot.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l

That's strange.  Can you verify that it was actually disabled?

SELECT sql_handle, plan_name, enabled, accepted
FROM   dba_sql_plan_baselines
WHERE  sql_handle = '&1'

On Thu, Feb 2, 2012 at 4:30 PM, Hameed, Amir <Amir.Hameed@xerox.com> wrote:
> Thanks...that did not work either.
>
> -----Original Message-----
> From: andyklock@gmail.com [mailto:andyklock@gmail.com] On Behalf Of Andy
> Klock
> Sent: Thursday, February 02, 2012 4:28 PM
> To: Hameed, Amir
> Subject: Re: Enforcing plan via SQL plan baseline
>
> Disable the plan(s) that you don't want to be used:
>
> DBMS_SPM.alter_sql_plan_baseline
> attribute_name  => 'enabled',
> attribute_value => 'NO');
>
--
http://www.freelists.org/webpage/oracle-l


