<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to Read Statistics Profile</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx</link><description>(2006-09-01 added a paragraph on parallel query plans) In SQL Server, “Statistics Profile” is a mode in which a query is run where you can see the number of invocations of each physical plan operator in the tree. Instead of running a query and just printing</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How to Read Statistics Profile</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#739273</link><pubDate>Mon, 04 Sep 2006 14:00:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:739273</guid><dc:creator>Askedal</dc:creator><description>Hello, &lt;BR&gt;&lt;BR&gt;great stuff. &lt;BR&gt;I'm mostly working on performance problems and saw strange Expression calculations in plans. I would really appreciate it, when you can shed some light on them sometimes: &lt;BR&gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;|--Sort(TOP 2, ORDER BY:([Expr1008] DESC, [Expr1009] ASC, [Expr1005] ASC, [Expr1010] DESC)) &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PLAN_ROW &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; est.rows: 2 est.io: 0.00 &amp;nbsp;est.cpu: 0.00 &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |--Compute Scalar(DEFINE:([Expr1008]=(4&amp;amp;[Expr1007])=4 AND NULL=[Expr1005], [Expr1009]=4&amp;amp;[Expr1007], [Expr1010]=16&amp;amp;[Expr1007])) &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PLAN_ROW &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;est.rows: 2 est.io: 0.00 &amp;nbsp;est.cpu: 0.00 &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|--Concatenation &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PLAN_ROW &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; est.rows: 2 est.io: 0.00 &amp;nbsp;est.cpu: 0.00 &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |--Compute Scalar(DEFINE:([@P3]=[@P3], [@P3]=[@P3], [Expr1004]=62)) &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PLAN_ROW &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;est.rows: 1 est.io: 0.00 &amp;nbsp;est.cpu: 0.00 &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;|--Constant Scan &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PLAN_ROW &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; est.rows: 1 est.io: 0.00 &amp;nbsp;est.cpu: 0.00 &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |--Compute Scalar(DEFINE:([@P2]=[@P2], [@P2]=[@P2], [Expr1007]=62)) &lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PLAN_ROW &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Regards &lt;BR&gt;&amp;nbsp;A. &lt;BR&gt;</description></item><item><title>re: How to Read Statistics Profile</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#740466</link><pubDate>Tue, 05 Sep 2006 06:34:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:740466</guid><dc:creator>QueryOptTeam</dc:creator><description>I believe that this logic has to do with building dynamic index ranges. &amp;nbsp;When you have queries that have WHERE clauses with parameters (or queries that we automatically parameterize for you) with multiple parameters restricting the same column, those ranges may or may not overlap. &amp;nbsp;The plan generation component does not know until runtime what to do, so the Optimizer builds a plan to handle the various cases, generate the needed ranges based on the supplied parameters, then performs the index seek. &amp;nbsp;You should see a Nested Loops + Index Seek above this in your plan.&lt;br&gt;</description></item><item><title>Query Processing -- introduction to the blog!</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#771412</link><pubDate>Tue, 26 Sep 2006 03:50:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:771412</guid><dc:creator>Tips, Tricks, and Advice from the SQL Server Query Processing Team</dc:creator><description>Since we’re starting a new blog for the whole query processing team, we think it’s appropriate to start...</description></item><item><title>Store Statistics XML in database tables using SQL Traces for further analysis.</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#3129283</link><pubDate>Thu, 07 Jun 2007 03:43:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3129283</guid><dc:creator>Tips, Tricks, and Advice from the SQL Server Query Processing Team</dc:creator><description>&lt;p&gt;Since SQL Server 2005, query plan as well as statistics of query execution can be captured in XML format.&lt;/p&gt;
</description></item><item><title> &amp;raquo; Store Statistics XML in database tables using SQL Traces for further analysis. | SQL Server Feeds</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#8836382</link><pubDate>Wed, 06 Aug 2008 10:08:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8836382</guid><dc:creator> &amp;raquo; Store Statistics XML in database tables using SQL Traces for further analysis. | SQL Server Feeds</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.sqlserverfeeds.com/683/store-statistics-xml-in-database-tables-using-sql-traces-for-further-analysis/"&gt;http://www.sqlserverfeeds.com/683/store-statistics-xml-in-database-tables-using-sql-traces-for-further-analysis/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Tips Tricks and Advice from the SQL Server Query Optimization Team | Shed Kits</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#9643678</link><pubDate>Wed, 27 May 2009 09:07:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9643678</guid><dc:creator> Tips Tricks and Advice from the SQL Server Query Optimization Team | Shed Kits</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://backyardshed.info/story.php?title=tips-tricks-and-advice-from-the-sql-server-query-optimization-team"&gt;http://backyardshed.info/story.php?title=tips-tricks-and-advice-from-the-sql-server-query-optimization-team&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Tips Tricks and Advice from the SQL Server Query Optimization Team | alternative dating</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#9767198</link><pubDate>Wed, 17 Jun 2009 09:58:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9767198</guid><dc:creator> Tips Tricks and Advice from the SQL Server Query Optimization Team | alternative dating</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://topalternativedating.info/story.php?id=6978"&gt;http://topalternativedating.info/story.php?id=6978&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Tips Tricks and Advice from the SQL Server Query Optimization Team | debt consolidator</title><link>http://blogs.msdn.com/queryoptteam/archive/2006/08/29/730521.aspx#9788428</link><pubDate>Fri, 19 Jun 2009 17:44:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9788428</guid><dc:creator> Tips Tricks and Advice from the SQL Server Query Optimization Team | debt consolidator</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mydebtconsolidator.info/story.php?id=15212"&gt;http://mydebtconsolidator.info/story.php?id=15212&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>