<?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 Data Compression: Impact of Data Distribution</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/06/20/sql-server-2008-data-compression-impact-of-data-distribution.aspx</link><description>In this post, I continue to explore the implications of SQL Server 2008 data compression. It is particularly worth highlighting the fact that SQL Server 2008 data compression is performed at the page level instead of the table level. In other words, when</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: SQL Server 2008 Data Compression: Impact of Data Distribution</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/06/20/sql-server-2008-data-compression-impact-of-data-distribution.aspx#7448</link><pubDate>Mon, 23 Jun 2008 15:01:03 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:7448</guid><dc:creator>Chris Culler</dc:creator><description>&lt;p&gt;The example was crafted to show the effect of page-level compression, but I would have preferred an example that belonged in the world of real RDBs. &amp;nbsp;A lengthy column of only 80 distinct values among 8 million rows screams &amp;quot;normalize me!&amp;quot; &amp;nbsp;Doing so would achieve far better than 10:1 compression, and with 1970's &amp;quot;technology.&amp;quot;&lt;/p&gt;
</description></item><item><title>re: SQL Server 2008 Data Compression: Impact of Data Distribution</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2008/06/20/sql-server-2008-data-compression-impact-of-data-distribution.aspx#7559</link><pubDate>Sat, 28 Jun 2008 17:15:29 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:7559</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;Chris;&lt;/p&gt;
&lt;p&gt;For this example, a table-level compression approach (such as what is used by DB2 v9.5) would indeed achieve better compression ratio. But there are pros and cons between table-level compression and page/block-level compression. For instance, the table level compression is sensitive to the initial sample. If the initial sample is not representative, the compression ratio can be very bad. I understand that it can be corrected with a reorg later on. But reorg is a major operation.&lt;/p&gt;
&lt;p&gt;Also note that the example applies to Oracle as well, as it uses a block-level compression algorithm.&lt;/p&gt;
</description></item></channel></rss>