<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>SQL Server 2008 Page Compression: Performance impact on inserts</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx</link><description>Before I begin, let me be very clear that the results I report in this post were obtained with SQL Server 2008 CTP6. Microsoft is still working on improving the performance of data compression. And in particular, the performance of inserting into a compressed</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: SQL Server 2008 Page Compression: Performance impact on inserts</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx#6781</link><pubDate>Tue, 13 May 2008 20:28:18 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6781</guid><dc:creator>david wei</dc:creator><description>&lt;p&gt;Can you add the following 2 lines before each insert, to make a cold start&lt;/p&gt;
&lt;p&gt;dbcc dropcleanbuffers&lt;/p&gt;
&lt;p&gt;dbcc freeproccache&lt;/p&gt;
</description></item><item><title>re: SQL Server 2008 Page Compression: Performance impact on inserts</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx#6784</link><pubDate>Wed, 14 May 2008 01:36:25 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6784</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;As mentioned in the blog, the script was run multiple time and that ensured that all the data pages from the customer table (the source table) were cached. DBCC DROPCLEANBUFFERS was not included on purpose. The script was intended to measure only the impact on the writes. Like any other engineering tests, I wanted to isolate the specific aspect of what I was testing, though I understand in real world scenarios you would have many factors all mixed in there, and therefore the difference may not be as pronounced.&lt;/p&gt;
</description></item><item><title>re: SQL Server 2008 Page Compression: Performance impact on inserts</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx#6793</link><pubDate>Thu, 15 May 2008 01:15:22 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6793</guid><dc:creator>jchang</dc:creator><description>&lt;p&gt;the right way to run this test is with source data in memory, what is the size of the table, normal and compressed by the way.&lt;/p&gt;
&lt;p&gt;did you verify no check point occurred during the test?&lt;/p&gt;
&lt;p&gt;anyways 3M rows in 80 sec is 37,500 rows/sec, which pretty good.&lt;/p&gt;
&lt;p&gt;assuming this is favorite 2.3GHz processor, one proc was pegged during the test, excluding CPU from the lazy writer, and log writer, thats 61K cpu-cycles per row.&lt;/p&gt;
&lt;p&gt;The basic cost of compression should not be that high relative to this per row insert cost. LiteSpeed could do something like 120MB per CPU-sec if I recall. &lt;/p&gt;
&lt;p&gt;So the additional 137 CPU-sec (if one CPU was pegged) is rather high.&lt;/p&gt;
&lt;p&gt;I would if the SQL compression engine is decompressing and recompressing the entire page for each row insert, rather than taking a block of rows and compressing it&lt;/p&gt;
</description></item><item><title>re: SQL Server 2008 Page Compression: Performance impact on inserts</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx#6798</link><pubDate>Thu, 15 May 2008 09:00:34 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6798</guid><dc:creator>SQLDiva</dc:creator><description>&lt;p&gt;Please call/email me regarding the 5/20 NJSQL meeting.&lt;/p&gt;
&lt;p&gt;Melissa[AT]SQLDiva.com&lt;/p&gt;
</description></item><item><title>SQL Server 2008 Page Compression: Performance impact on table scans</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/05/12/sql-server-2008-page-compression-performance-impact-on-inserts.aspx#6836</link><pubDate>Sat, 17 May 2008 01:38:15 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6836</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;My previous post shows that data compression may not come for free, although hopefully by the RTM time&lt;/p&gt;
</description></item></channel></rss>