<![CDATA[Article Comments for Lori Brown]]>http://www.sqlmag.com/authors/author/author/5777870/rsscomment/5777870en-USFri, 25 May 2012 09:28:48 GMTFri, 25 May 2012 09:28:48 GMTSQL Server's Trace and Replay Toolhttp://www.sqlmag.com/article/performancetuning/sql-server-trace-replay-tool-139800#commentsAnchorTue, 22 May 2012 12:11:54 GMT
P. S. When Paul Randal sees that you've put fixed values for Page Life Expectancy thresholds...]]>
pl800Tue, 22 May 2012 12:11:54 GMThttp://www.sqlmag.com/article/performancetuning/sql-server-trace-replay-tool-139800#commentsAnchor
SQL Server's Trace and Replay Toolhttp://www.sqlmag.com/article/performancetuning/sql-server-trace-replay-tool-139800#commentsAnchorTue, 22 May 2012 12:09:14 GMT
Lori, There is 1 problem here. SQL Server executes queries in the captured workload as fast as possible, and not at the same time intervals. Therefore any comparison between two servers with different hardware is not so relevant. Not only query execution times will be skewed, but most importantly the performance counters. The only reliable way to compare new hardware to old would be to do the control run on a intermediate test server that is the same as the production server hardware-wise, and do a test run on the new server (where DBs will be migrated to).]]>
pl800Tue, 22 May 2012 12:09:14 GMThttp://www.sqlmag.com/article/performancetuning/sql-server-trace-replay-tool-139800#commentsAnchor
Removing Forwarded Records from Heap Tableshttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchorWed, 26 Aug 2009 09:49:55 GMT
@gnanau DBCC SHOWCONTIG WITH TABLERESULTS can be used to determine forwarded records in SQL Server 2000 IJeb Reitsma]]>
IJebWed, 26 Aug 2009 09:49:55 GMThttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchor
Removing Forwarded Records from Heap Tableshttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchorMon, 06 Jul 2009 14:00:57 GMT
code doesn’t work!]]>
DouglasMon, 06 Jul 2009 14:00:57 GMThttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchor
Removing Forwarded Records from Heap Tableshttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchorMon, 20 Apr 2009 14:27:00 GMT
Very good article, indeed! I have question though: Is there a way to determine the forwarded records in SQL Server 2000?]]>
GabrielaMon, 20 Apr 2009 14:27:00 GMThttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchor
Removing Forwarded Records from Heap Tableshttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchorFri, 17 Apr 2009 13:07:59 GMT
Hi pelsql, Thanks so much for your question. Lori Brown’s response is below. "I chose to create a clustered index on a sequential value column because 1) it is a best practice to set clustered indexes on columns that are in some type of sequential order (either numeric or alphabetic) and 2) because a clustered index on a column that is already in sequential order would cause the least amount of change to the heap table. One of the challenges of having a procedure that makes a structural change to a table is realizing that clustered indexes can have a profound effect on the order of the data in the table. I have experienced times when adding even a very innocuous non-clustered index has changed the sort order of data returned in queries resulting in user complaints that an application was suddenly returning incorrect data to users. In an effort to not disturb data in the heap table in any way except to remove fragmentation, I decided that an autoincrementing numeric column would be the best fit for a clustered index to be introduced to a heap table. You can create a clustered index on just about any column and still achieve the same effect of removing forwarded records but you would change the sort order of the data." Megan Keller Associate Editor, SQL Server Magazine mkeller@sqlmag.com]]>
MeganFri, 17 Apr 2009 13:07:59 GMThttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchor
Removing Forwarded Records from Heap Tableshttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchorFri, 17 Apr 2009 09:00:44 GMT
I just wonder why creating a non-unique clustered index on any column with few null values is enough by itself to obtain the same result. Why is it necessary to have some identity value, or any kind of sequential value key, to achieve the same result? Aside of that this is a great discovery for me. I got a great argument against the absence of a clustered index here. I usually discourage developer to use heap because the naturally become fragmented. However they are some case where heap are interesting, especially when there is mostly just inserts to it, and they are never updated and there is few access on it that would benefit from a clustered index.]]>
MauriceFri, 17 Apr 2009 09:00:44 GMThttp://www.sqlmag.com/article/stored-procedures/removing-forwarded-records-from-heap-tables#commentsAnchor