Patrick,
These are all excellent thoughts. The service is absolutely a 7x24 system.
It has however been flushed rebooted and swiftly kicked. It also has
resources available to SQL exec. There is a full 700MB+ dedicated (1GB
system ram) for SQL. It is not all being used. I have looked at the
profiler and do not see anything out of the ordinary.
As far as what's changed, I am not sure that anything has. I know that we
modified some tables that were being replicated (and have had distribution
database go into single user mysteriously on a couple of occasions). I
believe that we have cleared all of that up though.
Some additional oddities associated with the slow queries and disk
over-usage,
1. Seemingly limited to activity on a single database.
2. Seems to be impacting db insert activity from the stored procedures
only. Replication to this database does not seem to send the disk into the
weeds.
3. ad-hoc select statements execute very quickly and without a great deal
of disk activity.
Anyway, thanks again for any thoughts.
> Have you ran SQL Profiler to look at the activity? Are the index
statistics
> getting dated and is the query optimizer making poor index selection
> choices? I'd look at some execution plans provided by the SQL Profiler.
Is
> it possible the stored procs have been in the proc cache too long with
dated
> execution plans (this is a reach but viable with 24/7 machines maybe a
WITH
> RECOMPILE is in order?). Anykind of excessive TempDb activity? I'd get
SQL
> Profiler online.... What's changed since the system ran "fine"?
> Few quick thoughts...
> --
> Patrick Logan, MCSD
> Senior Technical Development Advisor
> McKessonHBOC -- Extended Care Solutions Group
> Opinions expressed are my own and not necessarily those of McKessonHBOC.