Received: (qmail 16354 invoked from network); 2 Feb 2012 15:29:02 -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:29:01 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 047CBE8CC05;
 Thu,  2 Feb 2012 16:28:43 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1328218123; bh=zV+Q3weEm0ShPjV+U4I1Agsvl+DQnGAgLVl3kvjU
 qi0=; h=MIME-Version:Content-type:Subject:Date:Message-ID:
	 In-Reply-To:References:From:To:Cc:Content-Transfer-Encoding:Sender:
	 Reply-To:List-help:List-unsubscribe:List-Id:List-subscribe:
	 List-owner:List-post:List-archive; b=sUBq7FJHfnNx7z+oVkZJd4j0v5ndT
 YPT7h9iQ8pI8ao5Wnlx+uE7SoIdBUB2OUXweeV54GY+Bp9p3IbVcmKUHVNMWbav0daQ
 ikvGrpqcTi/YjNETZ8hoTbLWocXV6f06ZEw4jzH7Nau1qTHcSyj4SU6UZVdm7E7nExq
 pZ+y5paA=
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 HhCn0aI3IbGc; Thu,  2 Feb 2012 16:28:42 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 156A7E8CA08;
 Thu,  2 Feb 2012 16:27:59 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 02 Feb 2012 16:27:16 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 518A7E8C75E
 for <oracle-l@freelists.org>; Thu,  2 Feb 2012 16:27:16 -0500 (EST)
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 QRiXsC6UtF0z for <oracle-l@freelists.org>;
 Thu,  2 Feb 2012 16:27:16 -0500 (EST)
Received: from USA7109MR002.ACS-INC.COM (usa7109mr002.acs-inc.com [63.101.151.11])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 417EDE8860E
 for <oracle-l@freelists.org>; Thu,  2 Feb 2012 16:27:12 -0500 (EST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvMBAP3+Kk8Nl9IPmWdsb2JhbABDgk2kOAGIDCIBAQEBAQgLCwcUJYFyAQEBBA8BDBEDLxoQAgEIEQQBAQsGDAsBBgEgJQkIAQEEEwgBh3ylRAGSbId4g1EyKQ+DNgEdDQoLBQ4CBAIGCB4NAgwKBIJMYwSIQoUGkmOHaw
Received: from usa7061gw002.na.xerox.net ([13.151.210.15])
  by USA7109MR002.ACS-INC.COM with ESMTP; 02 Feb 2012 15:27:10 -0600
Received: from usa0300ms02.na.xerox.net ([13.135.234.15]) by USA7061GW002.na.xerox.net with Microsoft SMTPSVC(6.0.3790.4675);
	 Thu, 2 Feb 2012 13:27:09 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-type: text/plain
Subject: RE: Enforcing plan via SQL plan baseline
Date: Thu, 2 Feb 2012 16:26:29 -0500
Message-ID: <304F58144267C5439E733532ABC9A3A1140393C8@USA0300MS02.na.xerox.net>
In-Reply-To: <CAGWRspY8qREL3ay2x+NfwSumz2ixzpGm-MXiB8PVBrXNcJiTkA@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Enforcing plan via SQL plan baseline
References: <304F58144267C5439E733532ABC9A3A11403936A@USA0300MS02.na.xerox.net> <CAGWRspY8qREL3ay2x+NfwSumz2ixzpGm-MXiB8PVBrXNcJiTkA@mail.gmail.com>
From: "Hameed, Amir" <Amir.Hameed@xerox.com>
To: "Mihajlo Tekic" <mihajlo.tekic@gmail.com>
Cc: <oracle-l@freelists.org>
X-OriginalArrivalTime: 02 Feb 2012 21:27:09.0689 (UTC) FILETIME=[6BAED690:01CCE1F1]
Content-Transfer-Encoding: 8bit
X-archive-position: 41256
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Amir.Hameed@xerox.com
Precedence: normal
Reply-To: Amir.Hameed@xerox.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

Thanks Mihajlo...I have tried that as well but the outcome was the same.
 

From: Mihajlo Tekic [mailto:mihajlo.tekic@gmail.com] 
Sent: Thursday, February 02, 2012 4:22 PM
To: Hameed, Amir
Cc: oracle-l@freelists.org
Subject: Re: Enforcing plan via SQL plan baseline

 

 

Have you tried to fix the plan that you want to be used. (Fixed Plan
Baseline)

 

http://docs.oracle.com/cd/B28359_01/server.111/b28274/optplanmgmt.htm#BA
BICJBG 

 

~Mihajlo

On Thu, Feb 2, 2012 at 2:56 PM, Hameed, Amir <Amir.Hameed@xerox.com>
wrote:

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


