<?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: NHibernate queries &amp; sql server execution plans</title>
	<atom:link href="http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/feed/" rel="self" type="application/rss+xml" />
	<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/</link>
	<description>Diary of an agile developer</description>
	<lastBuildDate>Wed, 28 Oct 2009 15:46:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yesterday's news &#124; NHibernate parameter sizes controversy</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-86</link>
		<dc:creator>Yesterday's news &#124; NHibernate parameter sizes controversy</dc:creator>
		<pubDate>Wed, 28 Oct 2009 15:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-86</guid>
		<description>[...] 03/10 Claudio publishes a post on his blog, in which he explains the issue and the solutions he found so [...]</description>
		<content:encoded><![CDATA[<p>[...] 03/10 Claudio publishes a post on his blog, in which he explains the issue and the solutions he found so [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Database Myths: Stored Procedures vs. Ad Hoc Queries &#124; Coding Efficiency</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-69</link>
		<dc:creator>Database Myths: Stored Procedures vs. Ad Hoc Queries &#124; Coding Efficiency</dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-69</guid>
		<description>[...] Source: MSDN1, MSDN2, MSDN3, Blog [...]</description>
		<content:encoded><![CDATA[<p>[...] Source: MSDN1, MSDN2, MSDN3, Blog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SentientPC</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-67</link>
		<dc:creator>SentientPC</dc:creator>
		<pubDate>Mon, 27 Jul 2009 03:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-67</guid>
		<description>Thanks for the great article, I found this very problem my self.  Also, in my case, my data column was defined as varchar(15) and using .SetString(&quot;MyCol&quot;, &quot;MyVal&quot;) created parameter as nvarchar(5) as you described.  However, this also caused the query plan to perform an Index Scan rather than Index Seek and added 200ms, higher IO and CPU cost to my query.  This was all due to the conversion of nvarchar to varchar.</description>
		<content:encoded><![CDATA[<p>Thanks for the great article, I found this very problem my self.  Also, in my case, my data column was defined as varchar(15) and using .SetString(&#8220;MyCol&#8221;, &#8220;MyVal&#8221;) created parameter as nvarchar(5) as you described.  However, this also caused the query plan to perform an Index Scan rather than Index Seek and added 200ms, higher IO and CPU cost to my query.  This was all due to the conversion of nvarchar to varchar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NHibernate 2.1.0 beta 2 &#171; TDD developer</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-54</link>
		<dc:creator>NHibernate 2.1.0 beta 2 &#171; TDD developer</dc:creator>
		<pubDate>Sun, 21 Jun 2009 17:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-54</guid>
		<description>[...] This version contains a fix for bug that cause some problem with MS Sql server execution plans (more details here). [...]</description>
		<content:encoded><![CDATA[<p>[...] This version contains a fix for bug that cause some problem with MS Sql server execution plans (more details here). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dario Quintana</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-47</link>
		<dc:creator>Dario Quintana</dc:creator>
		<pubDate>Tue, 17 Mar 2009 22:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-47</guid>
		<description>I know are deep dive inside SqlServer internals, doesn&#039;t mean they could make things easier for us, remember the people are developing NHibernate need a little help from the Sql Server people too, and so far they are complicating more and more some features, and we are mort developers too, they can hide some details. Because remember, this is an specific Sql Server problem. But you know, is easier to change an OSS-ORM than this kind of RDBMS.

BTW, I know, an ORM should help, it that is the reason that prepare_sql will be true in NH 2.1.</description>
		<content:encoded><![CDATA[<p>I know are deep dive inside SqlServer internals, doesn&#8217;t mean they could make things easier for us, remember the people are developing NHibernate need a little help from the Sql Server people too, and so far they are complicating more and more some features, and we are mort developers too, they can hide some details. Because remember, this is an specific Sql Server problem. But you know, is easier to change an OSS-ORM than this kind of RDBMS.</p>
<p>BTW, I know, an ORM should help, it that is the reason that prepare_sql will be true in NH 2.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makka</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-45</link>
		<dc:creator>makka</dc:creator>
		<pubDate>Tue, 17 Mar 2009 22:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-45</guid>
		<description>These details are a deep dive inside SqlServer internals.
An ORM should help a mort developer, like me, and hide these details.
I&#039;m trying to understand why the attributes length &amp; sql-type are not used to create better SqlCommand by SqlClientDriver</description>
		<content:encoded><![CDATA[<p>These details are a deep dive inside SqlServer internals.<br />
An ORM should help a mort developer, like me, and hide these details.<br />
I&#8217;m trying to understand why the attributes length &amp; sql-type are not used to create better SqlCommand by SqlClientDriver</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dario Quintana</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-44</link>
		<dc:creator>Dario Quintana</dc:creator>
		<pubDate>Tue, 17 Mar 2009 04:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-44</guid>
		<description>SqlServer to me, has a complicated way to solve some the problems, including this and pagination too. I would be nice to see these problem solved as another RDBMS do.</description>
		<content:encoded><![CDATA[<p>SqlServer to me, has a complicated way to solve some the problems, including this and pagination too. I would be nice to see these problem solved as another RDBMS do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makka</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-43</link>
		<dc:creator>makka</dc:creator>
		<pubDate>Mon, 16 Mar 2009 08:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-43</guid>
		<description>I don&#039;t believe this is a real NHibernate’s parameter problem but as we know a limitation of MsSqlServer we should care about it.
If NHibernate would use Length attribute by-default in MsSql2005Dialect this issue wouldn&#039;t exists.
Sorry what do you mean by &quot;MsSQL-server have solved the pagination issue&quot; ?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t believe this is a real NHibernate’s parameter problem but as we know a limitation of MsSqlServer we should care about it.<br />
If NHibernate would use Length attribute by-default in MsSql2005Dialect this issue wouldn&#8217;t exists.<br />
Sorry what do you mean by &#8220;MsSQL-server have solved the pagination issue&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio Maulo</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-42</link>
		<dc:creator>Fabio Maulo</dc:creator>
		<pubDate>Sun, 15 Mar 2009 22:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-42</guid>
		<description>Are you sure about the title of this post ?

&quot;NHibernate&#039;s parameter problem&quot; ?

I think the real problem is the way MsSQL-server are choosing plans because others RDBMS (as Firebird) don&#039;t have the same problem.
Identically situation is for the way MsSQL-server have solved the pagination issue.

Perhaps somebody should write something to MsSQL team.</description>
		<content:encoded><![CDATA[<p>Are you sure about the title of this post ?</p>
<p>&#8220;NHibernate&#8217;s parameter problem&#8221; ?</p>
<p>I think the real problem is the way MsSQL-server are choosing plans because others RDBMS (as Firebird) don&#8217;t have the same problem.<br />
Identically situation is for the way MsSQL-server have solved the pagination issue.</p>
<p>Perhaps somebody should write something to MsSQL team.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NHibernate, SQL Server, performance, piani di esecuzione, … - Il blog di Andrea Benedetti</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-39</link>
		<dc:creator>NHibernate, SQL Server, performance, piani di esecuzione, … - Il blog di Andrea Benedetti</dc:creator>
		<pubDate>Wed, 11 Mar 2009 12:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/03/10/nhibernate-queries-sql-server-execution-plans/#comment-39</guid>
		<description>[...] ha tirato fuori una possibile soluzione che ha prontamente postato sul suo blog inglese (qui) – attendo anche una versione in italiano su UGI [...]</description>
		<content:encoded><![CDATA[<p>[...] ha tirato fuori una possibile soluzione che ha prontamente postato sul suo blog inglese (qui) – attendo anche una versione in italiano su UGI [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
