<?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>extent allocation &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/extent-allocation/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>Sun, 12 Feb 2017 18:01:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>SQL Server 2016: How to enable trace flag 1117 and flag 1118 on Database</title>
		<link>https://www.dbrnd.com/2017/02/sql-server-2016-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 13 Feb 2017 16:16:42 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[auto growth]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[extent allocation]]></category>
		<category><![CDATA[page allocation]]></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[trace flag 1117]]></category>
		<category><![CDATA[trace flag 1118]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4525</guid>

					<description><![CDATA[SQL Server 2016 came with the various enhancements and each of those are very important. In the previous post, I have shared that trace flags 1117 and 1118 are by default on in SQL Server 2016. You can use trace flag 1117 – When growing a data file grow all files at the same time, [&#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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" 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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" 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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" 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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" 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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" 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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" 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-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation%2F&#038;title=SQL%20Server%202016%3A%20How%20to%20enable%20trace%20flag%201117%20and%20flag%201118%20on%20Database" data-a2a-url="https://www.dbrnd.com/2017/02/sql-server-2016-how-to-enable-trace-flag-1117-and-flag-1118-on-database-auto-growth-extent-allocation/" data-a2a-title="SQL Server 2016: How to enable trace flag 1117 and flag 1118 on Database"></a></p><p>SQL Server 2016 came with the various enhancements and each of those are very important.<br />
In the previous post, I have shared that trace flags 1117 and 1118 are by default on in SQL Server 2016. </p>
<blockquote><p><strong>You can use trace flag 1117 –</strong> When growing a data file grow all files at the same time, so they remain the same size, reducing allocation contention points.<br />
<strong>You can use trace flag 1118 –</strong> When doing allocations for user tables always allocate full extents. It reduces contention of mixed extent allocations.</p></blockquote>
<p>In SQL Server 2016, you can enable trace flags 1117 and 1118 at user database level. It replaced by a new ALTER DATABASE setting.</p>
<p><strong>Syntax to enable t1117:</strong></p>
<pre class="crayon-plain-tag">ALTER DATABASE &lt;dbname&gt; MODIFY FILEGROUP &lt;filegroup&gt; { AUTOGROW_ALL_FILES | AUTOGROW_SINGLE_FILE }</pre> </p>
<p><strong>Syntax to enable t1118:</strong></p>
<pre class="crayon-plain-tag">ALTER DATABASE &lt;dbname&gt; SET MIXED_PAGE_ALLOCATION { ON | OFF }</pre> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SQL Server 2016: TempDB enhancement &#8211; by default turn on trace flags 1117 and 1118</title>
		<link>https://www.dbrnd.com/2017/02/sql-server-2016-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 12 Feb 2017 16:16:06 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[auto growth]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[extent allocation]]></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[trace flag 1117]]></category>
		<category><![CDATA[trace flag 1118]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4520</guid>

					<description><![CDATA[I am exploring SQL Server 2016 and every time I am getting something new and effective enhancements those added in SQL Server 2016. Whenever you are searching for TempDB optimization tips, you can find one note for trace flags 1117 and 1118 which are for Allocations and Auto Growth. You can use trace flag 1117 [&#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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" 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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" 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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" 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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" 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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" 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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&amp;linkname=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" 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-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation%2F&#038;title=SQL%20Server%202016%3A%20TempDB%20enhancement%20%E2%80%93%20by%20default%20turn%20on%20trace%20flags%201117%20and%201118" data-a2a-url="https://www.dbrnd.com/2017/02/sql-server-2016-tempdb-enhancement-by-default-turn-on-trace-flags-1117-and-1118-auto-growth-extent-allocation/" data-a2a-title="SQL Server 2016: TempDB enhancement – by default turn on trace flags 1117 and 1118"></a></p><p>I am exploring SQL Server 2016 and every time I am getting something new and effective enhancements those added in SQL Server 2016.</p>
<blockquote><p>Whenever you are searching for TempDB optimization tips, you can find one note for trace flags 1117 and 1118 which are for Allocations and Auto Growth.</p></blockquote>
<p><strong>You can use trace flag 1117 &#8211; </strong> When growing a data file grow all files at the same time, so they remain the same size, reducing allocation contention points.<br />
<strong>You can use trace flag 1118 &#8211; </strong> When doing allocations for user tables always allocate full extents. It reduces contention of mixed extent allocations.</p>
<p>Eariler, you can turn on these trace flags at server level which impacts to other databases as well.<br />
And now the great enhancement by SQL Server 2016 is, it enables these flags by default for TempDB and customize for other user databases. </p>
<p>In the next post, You can find about How to enable trace flag 1117 and 1118 on user databases.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
