<?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>Multiple data files &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/multiple-data-files/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>Wed, 28 Feb 2018 03:33:13 +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: Optimize the Performance of TempDB</title>
		<link>https://www.dbrnd.com/2018/03/sql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd/</link>
					<comments>https://www.dbrnd.com/2018/03/sql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Fri, 09 Mar 2018 16:16:11 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[Multiple data files]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[Temp Table]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[TempDB Performance]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4256</guid>

					<description><![CDATA[<div><img width="679" height="452" src="https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance-679x452.jpg" class="attachment-post-image size-post-image wp-post-image" alt="SQL RAM Performance" decoding="async" fetchpriority="high" srcset="https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance-679x452.jpg 679w, https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance-850x566.jpg 850w, https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance.jpg 959w" sizes="(max-width: 679px) 100vw, 679px" /></div>The Database Administrator must know something about the best configuration of TempDB. A general advice is, try to avoid the use of TempDB by creating temp tables. But TempDB also stores other information related to query execution, internal sort operation, overflow memory data. You should keep your eye open for TempDB otherwise it degrades the [&#8230;]]]></description>
										<content:encoded><![CDATA[<div><img width="679" height="452" src="https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance-679x452.jpg" class="attachment-post-image size-post-image wp-post-image" alt="SQL RAM Performance" decoding="async" srcset="https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance-679x452.jpg 679w, https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance-850x566.jpg 850w, https://www.dbrnd.com/wp-content/uploads/2017/12/SQL-RAM-Performance.jpg 959w" sizes="(max-width: 679px) 100vw, 679px" /></div><p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&amp;linkname=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" 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%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&amp;linkname=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" 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%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&amp;linkname=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" 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%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&amp;linkname=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" 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%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&amp;linkname=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" 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%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&amp;linkname=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" 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%2F2018%2F03%2Fsql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd%2F&#038;title=SQL%20Server%3A%20Optimize%20the%20Performance%20of%20TempDB" data-a2a-url="https://www.dbrnd.com/2018/03/sql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd/" data-a2a-title="SQL Server: Optimize the Performance of TempDB"></a></p><p>The Database Administrator must know something about the best configuration of TempDB.<br />
A general advice is, try to avoid the use of TempDB by creating temp tables.</p>
<p>But TempDB also stores other information related to query execution, internal sort operation, overflow memory data.</p>
<p>You should keep your eye open for TempDB otherwise it degrades the overall performance.</p>
<blockquote class="wp-embedded-content" data-secret="BVUgm0ikvW"><p><a href="https://www.dbrnd.com/2016/02/sql-server-the-tempdb-is-full-shrink-it-or-move-it/">SQL Server: The TempDB is Full, Shrink it or Move it</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/02/sql-server-the-tempdb-is-full-shrink-it-or-move-it/embed/#?secret=BVUgm0ikvW" data-secret="BVUgm0ikvW" width="600" height="338" title="&#8220;SQL Server: The TempDB is Full, Shrink it or Move it&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p>Sharing few tips to improve the TempDB performance:</p>
<p><strong>Try to keep TempDB in local drive:</strong></p>
<blockquote><p>You should store TempDB in your local SSD drive instead of the shared network drive. This introduced by SQL Server 2012.</p></blockquote>
<blockquote><p>If you store other databases in shared network drive and TempDB in local drive, It creates a separate path for IO which divides the traffic and improves the performance.</p></blockquote>
<p><strong>Should configure multiple DATA Files:</strong></p>
<blockquote><p>You should create more data files equal to 1/2 or 1/4 the physical CPUs.</p></blockquote>
<blockquote><p>Once you have attached different data files to it, it stripped the files and performed the parallel operations.<br />
Now It has its own PFS, GAM, and SGAM pages, so it spreads the writing process which improves the writing performance.</p></blockquote>
<p><strong>Few other tips:</strong></p>
<ul>
<li>Set the recovery model of tempdb to SIMPLE.</li>
<li>Allow for tempdb files to automatically grow as required.</li>
<li>Set preallocate space for all tempdb files and it prevents tempdb from expanding too frequently.</li>
<li>Make each data file the same size.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2018/03/sql-server-optimize-the-performance-of-tempdb-add-multiple-data-files-store-ssd/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server 2016: Configure a TempDB for Autogrowth and Multiple data files</title>
		<link>https://www.dbrnd.com/2017/02/sql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Tue, 14 Feb 2017 16:16:25 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[autogrowth]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[Multiple data files]]></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[TempDB]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4531</guid>

					<description><![CDATA[SQL Server 2016 introduced additional configuration tab of TempDB while running the installation of SQL Server. When you are hunting like &#8220;How to improve the performance of TemoDB&#8221;, you can find one standard solution like split your TempDB into multiple data files. Now with the SQL Server 2016 CTP3, you can set multiple data files [&#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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&amp;linkname=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" 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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&amp;linkname=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" 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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&amp;linkname=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" 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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&amp;linkname=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" 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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&amp;linkname=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" 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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&amp;linkname=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" 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%2F02%2Fsql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size%2F&#038;title=SQL%20Server%202016%3A%20Configure%20a%20TempDB%20for%20Autogrowth%20and%20Multiple%20data%20files" data-a2a-url="https://www.dbrnd.com/2017/02/sql-server-2016-configure-a-tempdb-for-autogrowth-and-multiple-data-files-initial-size/" data-a2a-title="SQL Server 2016: Configure a TempDB for Autogrowth and Multiple data files"></a></p><p>SQL Server 2016 introduced additional configuration tab of TempDB while running the installation of SQL Server.</p>
<p>When you are hunting like &#8220;How to improve the performance of TemoDB&#8221;, you can find one standard solution like split your TempDB into multiple data files.</p>
<blockquote><p>Now with the SQL Server 2016 CTP3, you can set multiple data files while installing SQL Server.<br />
Next question should be, how many total numbers of data files we can set for TempDB?</p></blockquote>
<blockquote><p>It defined the rule of this like If you have 2 Core CPU, you can set 2 Data Files, 4 CPU CORE = 4 Data files, 8 CPU CORE = 8 Data Files. You can create maximum 8 Data files so for 16 CPU CORE = 8 Data Files only.</p></blockquote>
<p>You can check the below sample screen shot.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-4541 size-full" title="SQL Server TempDb Configuration" src="https://www.dbrnd.com/wp-content/uploads/2017/02/SQLServerTempDbConfiguration.png" alt="SQLServer TempDb Configuration" width="600" height="449" srcset="https://www.dbrnd.com/wp-content/uploads/2017/02/SQLServerTempDbConfiguration.png 600w, https://www.dbrnd.com/wp-content/uploads/2017/02/SQLServerTempDbConfiguration-300x225.png 300w, https://www.dbrnd.com/wp-content/uploads/2017/02/SQLServerTempDbConfiguration-150x112.png 150w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
