Received: (qmail 14432 invoked from network); 2 Feb 2012 15:15:11 -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:15:06 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7A36DE8CD2A;
 Thu,  2 Feb 2012 16:15:03 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1328217303; bh=l1AdAILIPzLt/alGwM0hOotYA7kZUwtlImg6FSL8
 Kss=; h=References:Message-ID:Date:From:Subject:To:In-Reply-To:
	 MIME-Version:Content-type:Content-Transfer-Encoding:Sender:
	 Reply-To:List-help:List-unsubscribe:List-Id:List-subscribe:
	 List-owner:List-post:List-archive; b=uO6SS2ZXhXlJA5YupHt9ZJ1fUALNi
 33EWchnkRHvhTkZ4FH96Pc6B+9LmzX05pJ42A0swII06gYw85IGQnJjh3DpGA4owynj
 UgGhiks4WBp99p9wzZesZgRZpaIpPWgKhkWpTJvH9aZ2MJel53XznX3P+xRmioxixrU
 NOWeuZsM=
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 l9XLtQPSZWsL; Thu,  2 Feb 2012 16:15:03 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B1E5BE8CCF7;
 Thu,  2 Feb 2012 16:14:19 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 02 Feb 2012 16:13:37 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4362AE8CCEB
 for <oracle-l@freelists.org>; Thu,  2 Feb 2012 16:13:37 -0500 (EST)
Authentication-Results: turing.freelists.org; dkim=pass (1024-bit key) header.i=@yahoo.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 sxfv9EHmxAj6 for <oracle-l@freelists.org>;
 Thu,  2 Feb 2012 16:13:37 -0500 (EST)
Received: from nm9-vm0.bullet.mail.sp2.yahoo.com (nm9-vm0.bullet.mail.sp2.yahoo.com [98.139.91.196])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with SMTP id A20F5E8CCDA
 for <oracle-l@freelists.org>; Thu,  2 Feb 2012 16:13:35 -0500 (EST)
Received: from [98.139.91.66] by nm9.bullet.mail.sp2.yahoo.com with NNFMP; 02 Feb 2012 21:13:34 -0000
Received: from [98.139.91.37] by tm6.bullet.mail.sp2.yahoo.com with NNFMP; 02 Feb 2012 21:13:34 -0000
Received: from [127.0.0.1] by omp1037.mail.sp2.yahoo.com with NNFMP; 02 Feb 2012 21:13:34 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 523808.89824.bm@omp1037.mail.sp2.yahoo.com
Received: (qmail 81876 invoked by uid 60001); 2 Feb 2012 21:13:34 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1328217213; bh=YVILrEEx/U6E/CweOpgsVDH/KfJdLd5AOZQZqDEFM3U=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=AnE3P4AJLNmU6+VHwFYtQXV4/oOg1+657AI7spwSmtTRcb7B0WbgIC20KxCAFsQaN7dLxMLqzkWQr+tbv5MwKGIV6WITbRtcgYOJ87HIbNJ2vaBIdYCh4ImTZBiHOatazBEEQaoIPsroC3KdijgB9OAR94rMnyD+dQNI8/7n7aI=
DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
  b=ruFm5vVno0JITMtqPntyvXEEunVj/2k98LPXTBM0I9H2E5tvYaQyoXMOqWWxcx1yY97TqYLBmHjlEIJNVLiZHdWM5QCjlejimHfaCRwnpElY5C7NdXGPPvaLINxNKojpwx8+/6X9pMdfmY3z/HQozuYLDzEUSS8ztEXkbbc1KOM=;
X-YMail-OSG: Zwvt9UcVM1lBg5tm1oNVne6vNjzygUSDlDdedg1UY68eY98
 uz6S8nDeOJ4OWhjB9tqV2FQT_If2.ZjCj1aLfzeDahyqAhm8Os.liZ5RIlIG
 SGdArQQB1DjDKDEmbWzAuaBL4aq3tuHnezGXMro2RHPZGmNyXE58AOxLST0u
 LcybnxKRx8t_WDnEdZlhokOTRTSTUKqZb2iKiFgmk1UIHS8TtGXRKsKMzBFQ
 OPtAfehIOavIdKsarj7WP6L5Fqmkx4.zRmAisap4n_xNnv5YwsDAcZ8REYGV
 .x5mttvuc21G.3ORN7rT7mnTWg.uiC9AfyefimAgr.vCjAspRX8uSEGiJxgR
 oyzYsJNmKromkglTd_NVA3tIYRardq7g2lvHykPPWqWjCUmLvdJNU5OJ9nam
 IyCZMEi0a3n_0XZ8vKiFWRujiIP8M45m6LUnrmFo_vR1G6ZtoksCCIKqDPny
 0SwmqFKmznk_VML5ukJjAkDHZdWgJV2efqHS8qf5KpA--
Received: from [64.251.40.254] by web36808.mail.mud.yahoo.com via HTTP; Thu, 02 Feb 2012 13:13:33 PST
References: <304F58144267C5439E733532ABC9A3A11403936A@USA0300MS02.na.xerox.net>
Message-ID: <1328217213.81844.YahooMailNeo@web36808.mail.mud.yahoo.com>
Date: Thu, 2 Feb 2012 13:13:33 -0800 (PST)
From: Antony Raj <ca_raj@yahoo.com>
Subject: Re: Enforcing plan via SQL plan baseline
To: "Amir.Hameed@xerox.com" <Amir.Hameed@xerox.com>,
  "oracle-l@freelists.org" <oracle-l@freelists.org>
In-Reply-To: <304F58144267C5439E733532ABC9A3A11403936A@USA0300MS02.na.xerox.net>
MIME-Version: 1.0
Content-type: text/plain
Content-Transfer-Encoding: 8bit
X-archive-position: 41253
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: ca_raj@yahoo.com
Precedence: normal
Reply-To: ca_raj@yahoo.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

Hi Amir,
 
You need to load the plan manually using DBMS_SPM package.Identify the SQLID of the plan that you need.
Manually loaded plans are automatically marked as accepted, so manual loading forces the evolving process.
 
Thanks
 

________________________________
From: "Hameed, Amir" <Amir.Hameed@xerox.com>
To: oracle-l@freelists.org 
Sent: Thursday, February 2, 2012 3:56 PM
Subject: Enforcing plan via SQL plan baseline

Folks,
When using SQL plan baseline, is it possible to instruct the optimizer
to use a baseline that has sub-optimal plan than the one it is currently
using. For example, a SQL statement, which cannot be altered because it
is coming out of a COTS application, is currently using an index scan
and I would like to force it to use FTS. I have tried forcing the
optimizer to use the SQL plan baseline but it keeps using the index path
and hence ignoring the plan baseline. Any feedback will be appreciated.



Thanks

Amir






--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l


