﻿<?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 Steve Jones / 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 20:12:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Chris,You are right, and I've altered the question to specify non-heaps.</description><pubDate>Tue, 10 May 2011 09:53:21 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]Steve Jones - SSC Editor (5/9/2011)[/b][hr][quote][b]Christian Buettner-167247 (5/9/2011)[/b][hr]The answer does not sound right to me.For heaps, there are no page splits, therefore the only counter that gives me the answer for both, indexes &amp; heaps, is the [b]Pages Allocated/sec[/b] counter.[/quote]While you are correct that page splits do not occur for heaps, it also means that there is no movement to new pages. This isn't pages used for data, the question asked for pages on which data is moved.[/quote]Hi Steve, when the 2nd row from my example heap is updated, the data of the 2nd row actually [b]is[/b] being moved to a new page.</description><pubDate>Tue, 10 May 2011 01:41:20 GMT</pubDate><dc:creator>Christian Buettner-167247</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]SanDroid (5/9/2011)[/b][hr][quote][b]Peter Trast (5/9/2011)[/b][hr]We have had alot of really good questions the last few weeks, although I am not sure if questions that DON'T start a debate are really so great after all :)[/quote]LOL Peter... did you foget the j/k after that?  Seriously though I have to agree. Being able to debate and prove an answer or statement is correct without using misquoted data or invalid jumps in logic is very important when teaching professional adults.My MCT course had a statement that stuck with me;"Children will believe in anything, Adults require some proof.":laugh:[/quote]Yeah, I was only half-kidding :-) I don't like how serious some people get when they are trying to make their opinion the winning point of view, BUT an animated discussion reveals alot of deep info.</description><pubDate>Mon, 09 May 2011 19:58:52 GMT</pubDate><dc:creator>Peter Trast</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Nice question thanks! I agree that more like this would be nice.</description><pubDate>Mon, 09 May 2011 12:33:33 GMT</pubDate><dc:creator>UMG Developer</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Thanks for the question.</description><pubDate>Mon, 09 May 2011 12:13:28 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]Peter Trast (5/9/2011)[/b][hr]We have had alot of really good questions the last few weeks, although I am not sure if questions that DON'T start a debate are really so great after all :)[/quote]LOL Peter... did you foget the j/k after that?  Seriously though I have to agree. Being able to debate and prove an answer or statement is correct without using misquoted data or invalid jumps in logic is very important when teaching professional adults.My MCT course had a statement that stuck with me;"Children will believe in anything, Adults require some proof.":laugh:</description><pubDate>Mon, 09 May 2011 10:54:00 GMT</pubDate><dc:creator>SanDroid</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]Steve Jones - SSC Editor (5/9/2011)[/b][hr][quote][b]John Mitchell-245523 (5/9/2011)[/b][hr]I discounted Page splits/sec because page splits are also caused by INSERT statements, and therefore if you wanted to measure the rate at which [i]UPDATE[/i] statements cause data to be moved, you may get some misleading results.Have I missed something, or did I misread the question?John[/quote]Hard to tell here. I did ask for movement because of size differentials. I suppose an insert could be argued to cause this and I'll concede here. I've altered the question to say insert and update.[/quote]Steve- Great question. Glad you updated it.  Wish I would have re-read the question after selecting the link in my email.  The "Update" and "new structures" wording made me believe the answer was "Extents Allocated/sec".</description><pubDate>Mon, 09 May 2011 10:47:54 GMT</pubDate><dc:creator>SanDroid</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]Steve Jones - SSC Editor (5/9/2011)[/b][hr][quote][b]John Mitchell-245523 (5/9/2011)[/b][hr]I discounted Page splits/sec because page splits are also caused by INSERT statements, and therefore if you wanted to measure the rate at which [i]UPDATE[/i] statements cause data to be moved, you may get some misleading results.Have I missed something, or did I misread the question?John[/quote]Hard to tell here. I did ask for movement because of size differentials. I suppose an insert could be argued to cause this and I'll concede here. I've altered the question to say insert and update.[/quote]Glad you asked the question, John, and that Steve updated before I read it. I would have had the same question. We have had alot of really good questions the last few weeks, although I am not sure if questions that DON'T start a debate are really so great after all :)</description><pubDate>Mon, 09 May 2011 09:38:11 GMT</pubDate><dc:creator>Peter Trast</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]John Mitchell-245523 (5/9/2011)[/b][hr]I discounted Page splits/sec because page splits are also caused by INSERT statements, and therefore if you wanted to measure the rate at which [i]UPDATE[/i] statements cause data to be moved, you may get some misleading results.Have I missed something, or did I misread the question?John[/quote]Hard to tell here. I did ask for movement because of size differentials. I suppose an insert could be argued to cause this and I'll concede here. I've altered the question to say insert and update.</description><pubDate>Mon, 09 May 2011 09:20:15 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]Christian Buettner-167247 (5/9/2011)[/b][hr]The answer does not sound right to me.For heaps, there are no page splits, therefore the only counter that gives me the answer for both, indexes &amp; heaps, is the [b]Pages Allocated/sec[/b] counter.[/quote]While you are correct that page splits do not occur for heaps, it also means that there is no movement to new pages. This isn't pages used for data, the question asked for pages on which data is moved.</description><pubDate>Mon, 09 May 2011 09:18:36 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>This link might also help toohttp://www.sql-server-performance.com/faq/reduce_page_splits_p1.aspx</description><pubDate>Mon, 09 May 2011 04:50:27 GMT</pubDate><dc:creator>Kwex</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>[quote][b]John Mitchell-245523 (5/9/2011)[/b][hr]I discounted Page splits/sec because page splits are also caused by INSERT statements, and therefore if you wanted to measure the rate at which [i]UPDATE[/i] statements cause data to be moved, you may get some misleading results.Have I missed something, or did I misread the question?John[/quote]I agree with you John.</description><pubDate>Mon, 09 May 2011 03:12:36 GMT</pubDate><dc:creator>mohammed moinudheen</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Nice question.  The answer seemed too obvious, i was looking for the gotcha. :satisfied:</description><pubDate>Mon, 09 May 2011 02:39:44 GMT</pubDate><dc:creator>Chris Houghton</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>I discounted Page splits/sec because page splits are also caused by INSERT statements, and therefore if you wanted to measure the rate at which [i]UPDATE[/i] statements cause data to be moved, you may get some misleading results.Have I missed something, or did I misread the question?John</description><pubDate>Mon, 09 May 2011 02:25:46 GMT</pubDate><dc:creator>John Mitchell-245523</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>The answer does not sound right to me.For heaps, there are no page splits, therefore the only counter that gives me the answer for both, indexes &amp; heaps, is the [b]Pages Allocated/sec[/b] counter.[code]-- CleanUpDROP TABLE dbo.TestGOUSE masterGODROP DATABASE TestGOSET NOCOUNT ONCREATE DATABASE TestGOUSE TESTGOCREATE TABLE dbo.Test (id TINYINT NOT NULL, String VARCHAR(5000))-- Enable or disable the below statement to test for Heap or for Clustered Index--CREATE CLUSTERED INDEX idxid ON dbo.test	(id)-- Insert test data:--  The first row will remain on the same page--  The second row will be inserted into the first page, but we will update the row later--  to a size that does not fit on that page anymore, and therefore will trigger a new page allocation.INSERT dbo.Test VALUES (1,REPLICATE('A',5000))INSERT dbo.Test VALUES (2,REPLICATE('A',1))GO-- Pause here for a second or so - we want to measure the Update, not the above inserts.-- Now move the record to a new page by increasing the sizeUPDATE dbo.Test SET String = REPLICATE('A',5000) WHERE ID = 2GO[/code]</description><pubDate>Mon, 09 May 2011 01:59:43 GMT</pubDate><dc:creator>Christian Buettner-167247</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Great question, thanks.</description><pubDate>Sun, 08 May 2011 23:41:02 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Tom,Yes, easy and that too have 2 points ;-)Cheers!</description><pubDate>Sun, 08 May 2011 23:30:08 GMT</pubDate><dc:creator>free_mascot</dc:creator></item><item><title>RE: Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Nice easy question.  If there were more like this I would have a better score.</description><pubDate>Sun, 08 May 2011 11:37:25 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>Performance Counters</title><link>http://www.sqlservercentral.com/Forums/Topic1105111-32-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/Performance/73393/"&gt;Performance Counters&lt;/A&gt;[/B]</description><pubDate>Sun, 08 May 2011 05:05:01 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item></channel></rss>