﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Performance Tuning  / SQL Profiler v/s Query window / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 19:04:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>Is there any way to reduce it as it going beyond the count..</description><pubDate>Wed, 17 Nov 2010 05:16:37 GMT</pubDate><dc:creator>ningaraju.n</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>Duration is the total time spent by that SP/Query. Its measured in milliseconds.</description><pubDate>Wed, 17 Nov 2010 05:13:30 GMT</pubDate><dc:creator>ps.</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>I checked with as you suggested and it returning the same . what the duration accounts for?</description><pubDate>Wed, 17 Nov 2010 04:48:11 GMT</pubDate><dc:creator>ningaraju.n</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>Does your SP accepts parameters? If yes, pls modify the parameters to  different sets of values and observe the time taken by it. is it same?Profiler does nothing but gives you details of the SP which was invoked by a process or a user.</description><pubDate>Wed, 17 Nov 2010 02:46:39 GMT</pubDate><dc:creator>ps.</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>I ran whole SP,Then what might be the reason for uncountable duration for that SP?Is there any way to reduce the duration?</description><pubDate>Wed, 17 Nov 2010 02:34:01 GMT</pubDate><dc:creator>ningaraju.n</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>Did you run the SP or did you run the T-SQL code which is part of SP?If it is latter, I'll agree with Lowell's second point. It's highly likely due to parameter sniffing.</description><pubDate>Wed, 17 Nov 2010 01:06:47 GMT</pubDate><dc:creator>ps.</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>Let me explain what actually happenedWe found that application was slow ,So we switched on profiler to find the slow running query.As we measure the performance of query/SP in terms of reads,CPU,Duration etc.we saw the SP which is taking less reads but uncountable duration (Milli seconds).We thought that this SP might slowing down the application and took the profiler data of that SP and executed in query window but it hardly took an second.If this Sp is not of performance issue then why the duration in profiler  was very very high?I hope you i reached you.</description><pubDate>Tue, 16 Nov 2010 20:36:10 GMT</pubDate><dc:creator>ningaraju.n</dc:creator></item><item><title>RE: SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>help us help you...when i read your question, i think the question is "when i profile my procedure, it never finishes. when i just run it, it is fast"is that correct?or is this a question about SOMETIMES your procedure is slow, and sometimes it is fast(parameter sniffing?)</description><pubDate>Tue, 16 Nov 2010 07:48:03 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>SQL Profiler v/s Query window</title><link>http://www.sqlservercentral.com/Forums/Topic1021496-360-1.aspx</link><description>Hi Guys,         I noticed in the pro filer that an Stored procedure taking less reads but duration is uncountable ,         If i execute the same SP in Query window it returning results in a second         What might be the problem ,Please guide me</description><pubDate>Tue, 16 Nov 2010 07:19:37 GMT</pubDate><dc:creator>ningaraju.n</dc:creator></item></channel></rss>