<?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/"
		>
<channel>
	<title>Comments on: Clustered Indexes Have Statistics Too</title>
	<atom:link href="http://www.scarydba.com/2012/10/22/clustered-indexes-have-statistics-too/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scarydba.com/2012/10/22/clustered-indexes-have-statistics-too/</link>
	<description>Intimidating Databases and Code</description>
	<lastBuildDate>Thu, 25 Apr 2013 19:41:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Grant Fritchey</title>
		<link>http://www.scarydba.com/2012/10/22/clustered-indexes-have-statistics-too/#comment-10598</link>
		<dc:creator>Grant Fritchey</dc:creator>
		<pubDate>Tue, 18 Dec 2012 10:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.scarydba.com/?p=2200#comment-10598</guid>
		<description><![CDATA[Hello Asit,

It&#039;s hard to say what the issue might be without seeing the plan. But usually when the costs are different than you expect, either higher or lower, it goes back to the estimates generated from the statistics. If your statistics are out of date, or the values passed to the parameter when then query was compiled referenced different statistics, then you may see the costs being different.]]></description>
		<content:encoded><![CDATA[<p>Hello Asit,</p>
<p>It&#8217;s hard to say what the issue might be without seeing the plan. But usually when the costs are different than you expect, either higher or lower, it goes back to the estimates generated from the statistics. If your statistics are out of date, or the values passed to the parameter when then query was compiled referenced different statistics, then you may see the costs being different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asit kaushik</title>
		<link>http://www.scarydba.com/2012/10/22/clustered-indexes-have-statistics-too/#comment-10326</link>
		<dc:creator>Asit kaushik</dc:creator>
		<pubDate>Mon, 10 Dec 2012 13:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.scarydba.com/?p=2200#comment-10326</guid>
		<description><![CDATA[Hi Grant,
Again in the execution plan i have a complex query and my question/problems are

1) in the where clause as shown in the below code snippet the @variable is passed as a parameter to the Stored Procedure

@variable = 0 
or 
@variable = and (select...)

my @variable passed is 0 but in the execution plan i see the cost taken up by the other select query , i cant understand why..

2) In the execution plan i see that some operation say index seek has been executed = 0 then also i am seeing a high cost .

Please guide me if i my understanding is faulty.

Regards
Asit]]></description>
		<content:encoded><![CDATA[<p>Hi Grant,<br />
Again in the execution plan i have a complex query and my question/problems are</p>
<p>1) in the where clause as shown in the below code snippet the @variable is passed as a parameter to the Stored Procedure</p>
<p>@variable = 0<br />
or<br />
@variable = and (select&#8230;)</p>
<p>my @variable passed is 0 but in the execution plan i see the cost taken up by the other select query , i cant understand why..</p>
<p>2) In the execution plan i see that some operation say index seek has been executed = 0 then also i am seeing a high cost .</p>
<p>Please guide me if i my understanding is faulty.</p>
<p>Regards<br />
Asit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant Fritchey</title>
		<link>http://www.scarydba.com/2012/10/22/clustered-indexes-have-statistics-too/#comment-8828</link>
		<dc:creator>Grant Fritchey</dc:creator>
		<pubDate>Fri, 09 Nov 2012 17:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.scarydba.com/?p=2200#comment-8828</guid>
		<description><![CDATA[You can&#039;t really determine if a query is running well just by seeing the costs. Those are estimates. You do use them to figure out which operators to look at, but it&#039;s not a measure of performance. For that you capture execution time and the I/O.]]></description>
		<content:encoded><![CDATA[<p>You can&#8217;t really determine if a query is running well just by seeing the costs. Those are estimates. You do use them to figure out which operators to look at, but it&#8217;s not a measure of performance. For that you capture execution time and the I/O.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASIT KAUSHIK</title>
		<link>http://www.scarydba.com/2012/10/22/clustered-indexes-have-statistics-too/#comment-8807</link>
		<dc:creator>ASIT KAUSHIK</dc:creator>
		<pubDate>Fri, 09 Nov 2012 06:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.scarydba.com/?p=2200#comment-8807</guid>
		<description><![CDATA[Hi Grant,
I have been reading your blogs,articles, session pass free session. I just wanted to ask if i am analyzing an execution plan the most costly block has a Clustered seek and that cost is around 50-60 % is that query performing at the optimal and does not require any further change. IF No what other factor should one look for. Hope this question doent suckssss]]></description>
		<content:encoded><![CDATA[<p>Hi Grant,<br />
I have been reading your blogs,articles, session pass free session. I just wanted to ask if i am analyzing an execution plan the most costly block has a Clustered seek and that cost is around 50-60 % is that query performing at the optimal and does not require any further change. IF No what other factor should one look for. Hope this question doent suckssss</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 22.762 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-04-27 02:34:37 -->

<!-- Compression = gzip -->