<?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>SQL Server trace file &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/sql-server-trace-file/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, 27 Apr 2017 18:45:46 +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: What, How, Where, Which for Default Trace</title>
		<link>https://www.dbrnd.com/2017/04/sql-server-interview-what-how-where-which-for-default-trace/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 23 Apr 2017 16:16:34 +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[default trace]]></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[SQL Server trace file]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5062</guid>

					<description><![CDATA[What is SQL Server Default Trace? The default trace is a system-defined trace which is used to record a large number of events. How to enable/disable it? Script to Enable and Disable the Default Trace in SQL Server Where is trace file located? [crayon-6ab817dfa5f85700677534/] Which type of events are captured by default trace? Database Events: [&#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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&amp;linkname=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" 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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&amp;linkname=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" 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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&amp;linkname=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" 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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&amp;linkname=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" 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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&amp;linkname=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" 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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&amp;linkname=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" 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%2F04%2Fsql-server-interview-what-how-where-which-for-default-trace%2F&#038;title=SQL%20Server%20Interview%3A%20What%2C%20How%2C%20Where%2C%20Which%20for%20Default%20Trace" data-a2a-url="https://www.dbrnd.com/2017/04/sql-server-interview-what-how-where-which-for-default-trace/" data-a2a-title="SQL Server Interview: What, How, Where, Which for Default Trace"></a></p><p><strong>What is SQL Server Default Trace?</strong></p>
<blockquote><p>The default trace is a system-defined trace which is used to record a large number of events.</p></blockquote>
<p><strong>How to enable/disable it?</strong></p>
<blockquote class="wp-embedded-content" data-secret="3GdHZlj6Vp"><p><a href="https://www.dbrnd.com/2015/05/script-to-enable-and-disable-default-trace-sql-server/">Script to Enable and Disable the Default Trace in SQL Server</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2015/05/script-to-enable-and-disable-default-trace-sql-server/embed/#?secret=3GdHZlj6Vp" data-secret="3GdHZlj6Vp" width="600" height="338" title="&#8220;Script to Enable and Disable the Default Trace in SQL Server&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br />
<strong>Where is trace file located?</strong></p><pre class="crayon-plain-tag">SELECT path AS trace_file_path	
FROM sys.traces
WHERE is_default=1
GO</pre><p>
<strong>Which type of events are captured by default trace?</strong></p>
<p><strong>Database Events:</strong></p>
<ul>
<li>Data file auto grow</li>
<li>Data file auto shrink</li>
<li>Database mirroring status change</li>
<li>Log file auto grow</li>
<li>Log file auto shrink</li>
</ul>
<p><strong>Objects Events:</strong></p>
<ul>
<li>Object Altered</li>
<li>Object Created</li>
<li>Object Deleted</li>
</ul>
<p><strong>Full-Text Events:</strong></p>
<ul>
<li>FT Crawl Aborted</li>
<li>FT Crawl Started</li>
<li>FT Crawl Stopped</li>
</ul>
<p><strong>Errors and Warnings:</strong></p>
<ul>
<li>Errorlog</li>
<li>Hash warning</li>
<li>Missing Column Statistics</li>
<li>Missing Join Predicate</li>
<li>Sort Warning</li>
</ul>
<p><strong>Security Audit Events:</strong></p>
<ul>
<li>Audit Add DB user event</li>
<li>Audit Add login to server role event</li>
<li>Audit Add Member to DB role event</li>
<li>Audit Add Role event</li>
<li>Audit Add login event</li>
<li>Audit Backup/Restore event</li>
<li>Audit Change Database owner</li>
<li>Audit DBCC event</li>
<li>Audit Database Scope GDR event (Grant, Deny, Revoke)</li>
<li>Audit Login Change Property event</li>
<li>Audit Login Failed</li>
<li>Audit Login GDR event</li>
<li>Audit Schema Object GDR event</li>
<li>Audit Schema Object Take Ownership</li>
<li>Audit Server Starts and Stops</li>
</ul>
<p><strong>Server Memory Change Events:</strong></p>
<ul>
<li>Server Memory Change Events</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
