<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: force_match</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/01/12/force_match/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 22 May 2013 12:40:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Blogroll Report 08/01/2009 – 15/01/2010 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/#comment-35375</link>
		<dc:creator><![CDATA[Blogroll Report 08/01/2009 – 15/01/2010 &#171; Coskan&#8217;s Approach to Oracle]]></dc:creator>
		<pubDate>Tue, 02 Feb 2010 19:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2817#comment-35375</guid>
		<description><![CDATA[[...] 3-How does force_match work with SQL_PROFILEs? Jonathan Lewis-force_match [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 3-How does force_match work with SQL_PROFILEs? Jonathan Lewis-force_match [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/#comment-35356</link>
		<dc:creator><![CDATA[Gary]]></dc:creator>
		<pubDate>Sat, 30 Jan 2010 01:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2817#comment-35356</guid>
		<description><![CDATA[But do you WANT it to remove comments which may be important optimizer hints ?]]></description>
		<content:encoded><![CDATA[<p>But do you WANT it to remove comments which may be important optimizer hints ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Khrissanov</title>
		<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/#comment-35355</link>
		<dc:creator><![CDATA[Alex Khrissanov]]></dc:creator>
		<pubDate>Fri, 29 Jan 2010 22:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2817#comment-35355</guid>
		<description><![CDATA[Jonathan,
Are you saying that removing comments is difficult to achieve? I would disagree on that point.
Making queries with different column aliases match is a different matter. Oracle does compile the code - it would not be very hard for them to come up with something, I&#039;m sure. 

BTW: Not only Oracle replaces literal constants with parameters, it considers its type, it seems, for the &#039;force_matching_signature&#039;. 
Of course, the question is: what were the requirements at the time when people designed calculation of that &#039;force_matching_signature&#039;. So, in a way it&#039;s a deficiency in the requirements, not a bug in the code.

I was simply looking for ideas when I stumbled upon your page talking of somewhat related matter. I was hoping that you might have run into similar problem with non-matching semantically the same queries.
Oh well. I guess I better go and fill an enhancement request on Metalink then. Does not help but gives a false feeling of accomplishing something.

Thanks for your time!]]></description>
		<content:encoded><![CDATA[<p>Jonathan,<br />
Are you saying that removing comments is difficult to achieve? I would disagree on that point.<br />
Making queries with different column aliases match is a different matter. Oracle does compile the code &#8211; it would not be very hard for them to come up with something, I&#8217;m sure. </p>
<p>BTW: Not only Oracle replaces literal constants with parameters, it considers its type, it seems, for the &#8216;force_matching_signature&#8217;.<br />
Of course, the question is: what were the requirements at the time when people designed calculation of that &#8216;force_matching_signature&#8217;. So, in a way it&#8217;s a deficiency in the requirements, not a bug in the code.</p>
<p>I was simply looking for ideas when I stumbled upon your page talking of somewhat related matter. I was hoping that you might have run into similar problem with non-matching semantically the same queries.<br />
Oh well. I guess I better go and fill an enhancement request on Metalink then. Does not help but gives a false feeling of accomplishing something.</p>
<p>Thanks for your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/#comment-35353</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 29 Jan 2010 18:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2817#comment-35353</guid>
		<description><![CDATA[Alex, 
There are two ways to interpret your question.

a) Is it wrong because it&#039;s not following specification - and the answer to that one is no; the definition is that it will match statements that differ only in their constants.

b) Is it wrong because it would be nice if it managed to see that these statements were the same.  In that case we could say yes, it would be nice - but I think it might be quite difficult to achieve perfectly safely.]]></description>
		<content:encoded><![CDATA[<p>Alex,<br />
There are two ways to interpret your question.</p>
<p>a) Is it wrong because it&#8217;s not following specification &#8211; and the answer to that one is no; the definition is that it will match statements that differ only in their constants.</p>
<p>b) Is it wrong because it would be nice if it managed to see that these statements were the same.  In that case we could say yes, it would be nice &#8211; but I think it might be quite difficult to achieve perfectly safely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Khrissanov</title>
		<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/#comment-35351</link>
		<dc:creator><![CDATA[Alex Khrissanov]]></dc:creator>
		<pubDate>Fri, 29 Jan 2010 01:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2817#comment-35351</guid>
		<description><![CDATA[Hi, Jonathan,

Here is some material for thought. The queries below have different FORCE_MATCHING_SIGNATURES.
Would not you agree that this is plainly wrong? 

select 2+2 from dual
/
select 2+2 c1 from dual
/
select 2+2 from dual /**/
/
select 2+2 /**/ from dual 
/
The real problem I am having is application layer generating non-deterministic aliases for columns (that&#039;s Hybernate I&#039;m talking about). As the result, there is no way to match the queries - for comparison of tests, for instance.

I wonder what your opinion is on this matter]]></description>
		<content:encoded><![CDATA[<p>Hi, Jonathan,</p>
<p>Here is some material for thought. The queries below have different FORCE_MATCHING_SIGNATURES.<br />
Would not you agree that this is plainly wrong? </p>
<p>select 2+2 from dual<br />
/<br />
select 2+2 c1 from dual<br />
/<br />
select 2+2 from dual /**/<br />
/<br />
select 2+2 /**/ from dual<br />
/<br />
The real problem I am having is application layer generating non-deterministic aliases for columns (that&#8217;s Hybernate I&#8217;m talking about). As the result, there is no way to match the queries &#8211; for comparison of tests, for instance.</p>
<p>I wonder what your opinion is on this matter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fudongli</title>
		<link>http://jonathanlewis.wordpress.com/2010/01/12/force_match/#comment-35219</link>
		<dc:creator><![CDATA[fudongli]]></dc:creator>
		<pubDate>Wed, 13 Jan 2010 17:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2817#comment-35219</guid>
		<description><![CDATA[Jonathan
Everytime I read your post, my respect to you and oracle increased.

Thanks,

Fudong]]></description>
		<content:encoded><![CDATA[<p>Jonathan<br />
Everytime I read your post, my respect to you and oracle increased.</p>
<p>Thanks,</p>
<p>Fudong</p>
]]></content:encoded>
	</item>
</channel>
</rss>
