<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DATA_COMPRESSION &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/data_compression/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Thu, 14 Sep 2017 10:33:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>SQL Server 2016: Introduced Data Compression Algorithm to reduce the size of Table</title>
		<link>https://www.dbrnd.com/2017/09/sql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Fri, 15 Sep 2017 16:16:34 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[DATA_COMPRESSION]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[REBUILD]]></category>
		<category><![CDATA[sp_estimate_data_compression_savings]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server 2016]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Error]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tuning]]></category>
		<category><![CDATA[SQL Server Programming]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6089</guid>

					<description><![CDATA[To complete this article, you must visit my yesterday&#8217;s post where I explained about the use of sp_estimate_data_compression_savings system stored procedure of SQL Server. In this post, I continue my demonstration and am using the same example of a table from the previous post. SQL Server 2016 introduced the Data Compression algorithm for compressing or [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&amp;linkname=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&amp;linkname=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&amp;linkname=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&amp;linkname=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&amp;linkname=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&amp;linkname=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F09%2Fsql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression%2F&#038;title=SQL%20Server%202016%3A%20Introduced%20Data%20Compression%20Algorithm%20to%20reduce%20the%20size%20of%20Table" data-a2a-url="https://www.dbrnd.com/2017/09/sql-server-2016-introduced-data-compression-algorithm-to-reduce-the-size-of-table-data_compression/" data-a2a-title="SQL Server 2016: Introduced Data Compression Algorithm to reduce the size of Table"></a></p><p>To complete this article, you must visit my yesterday&#8217;s post where I explained about the use of sp_estimate_data_compression_savings system stored procedure of SQL Server.</p>
<p>In this post, I continue my demonstration and am using the same example of a table from the previous post. SQL Server 2016 introduced the Data Compression algorithm for compressing or reducing the size of an object.</p>
<p><a href="https://docs.microsoft.com/en-us/sql/relational-databases/data-compression/data-compression" target="_blank" rel="noopener noreferrer">For more detail &#8211; visit this official LINK.</a></p>
<p>In this previous post, We can see 40% space that we can reduce of a tbl_Dumpdata table.</p>
<p><strong>How? </strong></p>
<blockquote><p>I created a clustered index on that table, so for data compression, we have to REBUILD that index with option DATA_COMPRESSION.</p></blockquote>
<p><strong>Rebuild Index with DATA_COMPRESSION:</strong></p><pre class="crayon-plain-tag">ALTER INDEX pk_tbl_DumpData_ID 
ON dbo.tbl_DumpData
REBUILD PARTITION = ALL 
WITH (DATA_COMPRESSION = PAGE)
GO</pre><p>
<strong>Now, check the space for PAGE option:</strong><br />
Check the below result, you can find the same value of column size_with_current_compression_setting and size_with_requested_compression_setting.</p><pre class="crayon-plain-tag">EXEC sp_estimate_data_compression_savings 
    @schema_name = 'dbo', 
    @object_name = 'tbl_DumpData', 
    @index_id = NULL, 
    @partition_number = NULL, 
    @data_compression = 'PAGE'</pre><p>
<p><img decoding="async" class="alignnone size-full wp-image-6091" src="https://www.dbrnd.com/wp-content/uploads/2017/08/SQLDataCompressionPageRebuild.png" alt="SQLData Compression Page Rebuild" width="843" height="42" srcset="https://www.dbrnd.com/wp-content/uploads/2017/08/SQLDataCompressionPageRebuild.png 843w, https://www.dbrnd.com/wp-content/uploads/2017/08/SQLDataCompressionPageRebuild-679x34.png 679w" sizes="(max-width: 843px) 100vw, 843px" /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
