<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>INF: RML Utilities: Turning on Trace Flags</title><link>http://blogs.msdn.com/b/psssql/archive/2008/12/12/inf-rml-utilities-turing-on-trace-flags.aspx</link><description>Summary When using the RML utilities the logged message or documentation can indicate that use of a trace flag is necessary to change behavior. More Information The RML Utilities use command line parameter ( -T ) as a trace flag to alter the utilities</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: INF: RML Utilities: Turning on Trace Flags</title><link>http://blogs.msdn.com/b/psssql/archive/2008/12/12/inf-rml-utilities-turing-on-trace-flags.aspx#9987479</link><pubDate>Tue, 30 Mar 2010 15:35:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9987479</guid><dc:creator>JPolisel</dc:creator><description>&lt;p&gt;Is it possible to force a behavior change on ReadTrace so that it calculate Duration from End-Start?&lt;/p&gt;
&lt;p&gt;I have problems with the microsecond timing in my traces and I can't disable the &amp;quot;clock variation feature&amp;quot; on my servers.&lt;/p&gt;
&lt;p&gt;I ran a stress test with a poorly performing query. My 16-way SQL Server was at 100% all the time.&lt;/p&gt;
&lt;p&gt;I then stress tested a tuned version of the query. The same server stood at 25% to 30% CPU usage all the time.&lt;/p&gt;
&lt;p&gt;The comparision results shows that the tuned query uses less CPU and does less IO, but its duration is &amp;quot;higher&amp;quot;.&lt;/p&gt;
&lt;p&gt;Also, the original query scans 2 tables, sorts the results and merge-joins it, while the tuned query does just a non-clustered index seek.&lt;/p&gt;
&lt;p&gt;A digged a lot about the problem and realized that the only explanation for this phenomen is the RDTSC problem.&lt;/p&gt;
&lt;p&gt;Are there any trace flags that can avoid the microsecond timing?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9987479" width="1" height="1"&gt;</description></item></channel></rss>