﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Robert Davis / Article Discussions / Article Discussions by Author  / Performance Counters / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 17:46:58 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>[quote][b]da-zero (9/16/2010)[/b][hr]Great question. Internal SQL Server stuff isn't exactly my forté, so it is always nice to have a QotD to crank up my knowledge.[/quote]Nice question.  I gave the obvious answer, which was of course wrong.Nice useful comments from Paul.</description><pubDate>Sat, 16 Oct 2010 10:41:46 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Great question. Internal SQL Server stuff isn't exactly my forté, so it is always nice to have a QotD to crank up my knowledge.</description><pubDate>Thu, 16 Sep 2010 02:08:26 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Thanks for the QotD.</description><pubDate>Wed, 15 Sep 2010 23:25:04 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>[quote][b]paul.knibbs (9/15/2010)[/b][hr]One wonders why they don't call that value Pages Allocated/sec rather than Page Splits/sec![/quote]Both counters exist, but they measure different things :-)You may find some of the information and results in the following MSDN Best Practices article useful:[url]http://msdn.microsoft.com/en-us/library/cc917672.aspx[/url]</description><pubDate>Wed, 15 Sep 2010 10:47:15 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Robert,I have some (hopefully viewed as constructive) criticisms:The observed behaviour only applies to clustered tables - heap table inserts never cause page splits.  Heap inserts are not counted by the "Access Methods:Page Splits/sec" counter, though they do naturally affect "Access Methods:Pages Allocated/sec".Minimally-logged operations (even on a clustered table) do not cause "page splits" and so again only affect the 'pages allocated' counter.  Taking the example of inserting into a SQL Server 2008 table clustered on a monotonically-increasing key, we observe zero page splits (but very many allocations) if the table is empty to begin with, and trace flag 610 is specified.  I chose this example because it is minimally logged even under the FULL recovery model - the same behaviour applies to all other minimally-logged operations.Adding a new page at the 'end' of the clustered index is indeed a page split: the new row is too large to fit on the last page, so it must split.  Not moving any rows from the 'split' page is an optimization for this special case.  Nevertheless, it explains why this operation counts as a page split.The question explanation would have benefited from a reference - even if not officially documented.  My recollection is that one of Kalen's internals books contains a reference to new page allocations in a clustered index being counted as a page split, though it does not (from memory) explain why.The explanation given for the fourth answer option could have been worded more clearly, and again would have benefited from a reference to the internals book that explores that behaviour.  QotD is useful to many people as a learning tool - so it makes sense to point them in the right direction if you can.Paul</description><pubDate>Wed, 15 Sep 2010 10:43:27 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>It is not documented in BOL. It may be documented in some of the books on SQL Server internals. If so, I don't remember which one(s).It is easy to prove simply set up a test where you are inserting sequential, ever-increasing data into a table so that there are no page splits, only allocations for new pages, and watch the performance counter.</description><pubDate>Wed, 15 Sep 2010 07:16:12 GMT</pubDate><dc:creator>Robert Davis</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>More of these types of questions please!  Good way to start the day.</description><pubDate>Wed, 15 Sep 2010 07:12:02 GMT</pubDate><dc:creator>daveb87</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>I had a suspicion that the obvious answer was going to be wrong, but I selected it anyway because I was curious to see what the actual answer was. One wonders why they don't call that value Pages Allocated/sec rather than Page Splits/sec!</description><pubDate>Wed, 15 Sep 2010 04:36:56 GMT</pubDate><dc:creator>paul.knibbs</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Good Question, Thank you!!!</description><pubDate>Wed, 15 Sep 2010 03:26:28 GMT</pubDate><dc:creator>free_mascot</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Good question, but there is a link to BOL/articles/etc missing in the explanation. Should I take the explanation on trust? :-)</description><pubDate>Wed, 15 Sep 2010 00:31:33 GMT</pubDate><dc:creator>vk-kirov</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Nice question. Thanks</description><pubDate>Wed, 15 Sep 2010 00:10:59 GMT</pubDate><dc:creator>Hardy21</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Good question.</description><pubDate>Tue, 14 Sep 2010 23:34:05 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic986020-274-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/Performance/71039/"&gt;Performance Counters&lt;/A&gt;[/B]</description><pubDate>Tue, 14 Sep 2010 22:40:08 GMT</pubDate><dc:creator>Robert Davis</dc:creator></item></channel></rss>