URGENT!!! Locking timouts

From: Peter The Spate (anonymous_at_discussions.microsoft.com)
Date: 10/01/04


Date: Fri, 1 Oct 2004 09:16:34 -0700

You can use the profiler but modify it to look at queries
that say take more than 5 seconds.

In the meanwhile try changing your timeout in SQL Server
to 0, which means it will never time out.

If your doing it though ADO then do the same with your
connection object.

Other than that, not really.

"Government does not solve problems; it subsidizes them."
Ronald Reagan

>-----Original Message-----
>sql2k sp3
>
>
>An application is kicking out an generic error message
>saying that the execution of an sp is taking too long and
>causing a timeout. To add to the problem, its happening
>very inconsistantly. I would be the first to say that it
>may not really be SQL's fault, but I still need to
>research. Aside from running profiler forever waiting for
>it to happen again, is there anything else I can do to
>track down the problem?
>
>
>TIA, ChrisR
>.
>



Relevant Pages

  • Re: Timeouts in trace file?
    ... > Profiler trace file which I have here, ... > Timeout events. ...
    (microsoft.public.sqlserver.tools)
  • Re: Timeouts in trace file?
    ... I also suspect that these are internal timeouts because ... I suspect that is the same issue here. ... >> Profiler trace file which I have here, ... >> Timeout events. ...
    (microsoft.public.sqlserver.tools)
  • Unterschiedliche Ausführungszeiten
    ... Wenn ich eine SP im SSMS laufen lasse, braucht sie laut Profiler 625ms. ... ich dieselbe SP aus meinem .NET Programm heraus ausführe, ... 30 Sekunden einen Timeout. ...
    (microsoft.public.de.sqlserver)
  • Re: How does one set read-uncommitted on the entire DB?
    ... queries to determine if the locking will become less of a problem. ... All client APIs permit you to set the timeout, ... Note that query timeout is unrelated to SQL Server. ...
    (comp.databases.ms-sqlserver)
  • Re: PEP 249 - DB API question
    ... why don't we have a timeout for queries in PEP 249 ... DB's API source code? ... application can then just poll the db/query processes ...
    (comp.lang.python)

Quantcast