stored proc suddenly extremely slow



I have a D7 app that has been operating successfully for some time.
Starting sometime today, the sp seems to be either running slower by orders
of magnitude (it doesn't time out though).

Here are some facts:
- I've tried the sp in D7 ide, from a tadodataset, and at runtime from a
tadostoredproc. Seemingly locked up both ways (we haven't tried letting it
run more than about 20 minutes, however).

- I can run the stored proc from query analyser both as a sp, and as sql
code. It completes and returns about 20K records in 1-4 seconds.

- When the sp is running from the D7 app, it does not seem to time out. I
guess it's getting records back from the server, even though glacially.

- When the sp is running from the D7 app, running it from enterprise manager
is much slower than normal, but if I terminate it, EM shows records returned
(a couple of thousand per minute, roughly).

The only thing we can think of that has changed lately is that we've had
problems with our domain controller, and it has been up and down for days
(and no backup dc).

Any ideas where to begin looking?


.



Relevant Pages

  • Re: stored proc suddenly extremely slow
    ... the sp seems to be either running slower by ... When the sp is running from the D7 app, ... does it run fine when executing from the same computer? ... if executing from remote, had you any change in your firewalls ...
    (borland.public.delphi.database.ado)
  • Microsoft.SqlServer.Types is slowing down a call to Form.ActiveForm by a factor of 100!
    ... I am running into a situation where when I load ... Microsoft.SqlServer.Types my app is running slower. ... public void TestDeep ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Run program on very slow computer
    ... You know when it is running slower than ... computer for what they need it for (It just runs a label program. ... my thought was to NOT kill my helper app (I can't control the ...
    (comp.lang.tcl)
  • Re: Access vs SQL
    ... from Access, tweaked my app a bit, and viola, everything works. ... MSDE 2000 adds a bit of complexity, but I have to say, compared to ... > (above and beyond what they pay for my engineering services). ... > Now, still using C1 components, I know I can upsize to MSDE or SQL ...
    (microsoft.public.dotnet.languages.vb)
  • Re: SQl Data Provider Performance Issues
    ... Can you provide a complete sample app ... selects with a single inner join perforn OK. ... When I run the query from SQL ...
    (microsoft.public.dotnet.languages.csharp)