<?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>Partition scheme &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/partition-scheme/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>Mon, 18 Sep 2017 11:01:39 +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 Interview: Difference between Filtered Index and Table Partition</title>
		<link>https://www.dbrnd.com/2017/03/sql-server-interview-difference-between-filtered-index-and-table-partition/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sat, 18 Mar 2017 16:16:40 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Interview]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[Filtered Index]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[partition function]]></category>
		<category><![CDATA[Partition scheme]]></category>
		<category><![CDATA[SQL Query]]></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[Table Partition]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4773</guid>

					<description><![CDATA[If you are SQL DBA and if I am taking your interview, definitely I will ask this question to you. If you don&#8217;t know about Filtered Index and how to create a Table Partition in SQL Server, please visit below articles: SQL Server: Filtered Indexes &#8211; Improved the query performance SQL Server 2016: Introduce New [&#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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&amp;linkname=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" 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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&amp;linkname=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" 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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&amp;linkname=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" 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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&amp;linkname=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" 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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&amp;linkname=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" 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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&amp;linkname=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" 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%2F03%2Fsql-server-interview-difference-between-filtered-index-and-table-partition%2F&#038;title=SQL%20Server%20Interview%3A%20Difference%20between%20Filtered%20Index%20and%20Table%20Partition" data-a2a-url="https://www.dbrnd.com/2017/03/sql-server-interview-difference-between-filtered-index-and-table-partition/" data-a2a-title="SQL Server Interview: Difference between Filtered Index and Table Partition"></a></p><p>If you are SQL DBA and if I am taking your interview, definitely I will ask this question to you.<br />
If you don&#8217;t know about Filtered Index and how to create a Table Partition in SQL Server, please visit below articles:</p>
<blockquote class="wp-embedded-content" data-secret="JVP5sA9RpP"><p><a href="https://www.dbrnd.com/2017/01/sql-server-filtered-indexes-improved-the-query-performance/">SQL Server: Filtered Indexes &#8211; Improved the query performance</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2017/01/sql-server-filtered-indexes-improved-the-query-performance/embed/#?secret=JVP5sA9RpP" data-secret="JVP5sA9RpP" width="600" height="338" title="&#8220;SQL Server: Filtered Indexes &#8211; Improved the query performance&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<blockquote class="wp-embedded-content" data-secret="n6fhw7WVTT"><p><a href="https://www.dbrnd.com/2016/01/sql-server-2016-introduce-new-truncate-by-partitions-number/">SQL Server 2016: Introduce New TRUNCATE  by Partitions Number</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/01/sql-server-2016-introduce-new-truncate-by-partitions-number/embed/#?secret=n6fhw7WVTT" data-secret="n6fhw7WVTT" width="600" height="338" title="&#8220;SQL Server 2016: Introduce New TRUNCATE  by Partitions Number&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p><strong>Filtered Index:</strong></p>
<ul>
<li>You can store a portion of your dataset in Filtered Index. For example, Created a filtered index on Gender column for only &#8216;Male&#8217;, then it stores only &#8216;Male&#8217; detailed index data.</li>
<li>Filtered index only applies to a subset of the base table which is not allowing a fast switching.</li>
<li>You can reduce the CPU I/O by reading a particular value of a Filtered Index.</li>
<li>The Filtered index stores only keys and reference of data.</li>
<li>Once you create a Filtered Index on the PartitionScheme, you have to create same Filtered Index for every new table partitions which create a problem because a combination of Filtered indexes may contain the different value.</li>
<li>If you already apply table partition, you should not apply filtered indexes on those partitions.</li>
</ul>
<p><strong>Table Partition:</strong></p>
<ul>
<li>The Table Partitioning breaks your main table into small groups of tables based on defined partitioning key.<br />
The data physically divided for better management and fast retrieval.</li>
<li>For example, you have a 20GB of a table, and it contains total 5 years of data so you can partition your table base on years which will create five table partitions with each size of 4GB.</li>
<li>To implement Table partitioning, you need to create .ndf files for each partition, partition function, partition scheme.</li>
<li>It stores all columns of your table in partitions; it is not just storing the key of data like Filtered Index.<br />
You can define indexes on each table partitions.</li>
<li>The maintenance of Table Partitions is costly and time taking.</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
