<?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>Traces - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/traces/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Sat, 05 May 2018 07:17:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>Traces - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to find Total no of Traces Running on your Database Instance?</title>
		<link>https://techyaz.com/sql-server/traces/to-find-out-no-of-traces-running-on-your-db-instance/</link>
					<comments>https://techyaz.com/sql-server/traces/to-find-out-no-of-traces-running-on-your-db-instance/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Fri, 21 Jan 2011 13:55:00 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Traces]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p>Suppose you want to find out how many traces are running on your SQL Server database instance? If you don&#8217;t have any idea about it then you should read this article to get the answer. Here is a solution to&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/traces/to-find-out-no-of-traces-running-on-your-db-instance/">How to find Total no of Traces Running on your Database Instance?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Suppose you want to find out how many traces are running on your SQL Server database instance?<br />
If you don&#8217;t have any idea about it then you should read this article to get the answer. Here is a solution to find out no of traces running on your SQL Server Instance. You can also stop the trace files using script given in this article. Run below query to find out total number of traces running on your database server.<b><br />
</b></p>
<pre><strong><span style="color: #0000ff;">SELECT * FROM fn_trace_getinfo(default);
GO
</span></strong></pre>
<p>You will get below output:</p>
<div style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://techyaz.com/wp-content/uploads/2011/01/trace.jpg"><img decoding="async" src="http://techyaz.com/wp-content/uploads/2011/01/trace-300x46.jpg" width="320" height="50" border="0" /></a></div>
<p>You can find out the no of traces through trace ID column/count. Now suppose you have to stop them then run below script:</p>
<pre><span style="color: #0000ff;"><strong><span style="color: #008000;">--Replace TraceID with your TraceID number that you want to stop.</span>
DECLARE @TraceID int
SET @TraceID = 2
EXEC sp_trace_setstatus @TraceID, 0
EXEC sp_trace_setstatus @TraceID, 2
</strong></span></pre>
<p>Replace the trace id value with one which has to be stopped.</p>
<p><em><strong><span style="color: #800000;">Related Article:</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/what-should-be-the-best-value-for-fill-factor-in-sql-server/" target="_blank" rel="noopener">What should be Best value for Fill Factor in SQL Server?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/always-turn-off-database-auto-shrink/" target="_blank" rel="noopener">Why Should You Always Turn Off Database Auto Shrink Property?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/understanding-database-autogrowth-sql-server/" target="_blank" rel="noopener">Understanding SQL Server Database Autogrowth Property</a></strong></li>
</ul>
<p>I hope you like this article. You can writes us about your questions and feedbacks in below comment section. You can also follow our <strong><a href="https://www.facebook.com/Techyaz/">Facebook</a></strong> page and <strong><a href="https://twitter.com/Tech_yaz">Twitter</a></strong> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/traces/to-find-out-no-of-traces-running-on-your-db-instance/">How to find Total no of Traces Running on your Database Instance?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/traces/to-find-out-no-of-traces-running-on-your-db-instance/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
