Query is slow sometimes



What might be going on here? The Query is against a single table with
some criteria. The database is active with upto 200 connected users
and at peak times there are 10 or more active sessions. Most of the
time, the query comes back in milliseconds. Occasionally though, it it
can take a whole minute. I've been watching CPU, Memory, Disk. None
of these appear to be the bottlenecking. (CPU usually below 10% and
always below 50%, pages/sec is 0, and disk % is low and does not
spikes during hangs) I also checked to see if hangs were synching with
Tlog backups or other scheduled jobs, but that is not the case. The
box has good hardware 4GB RAM and 2 CPU at 3.4 GHz. What could be
holding this query up?

Thanks for any ideas.

Dave

.



Relevant Pages

  • Re: output of qe90 Ingres version - (II 2.6/0305 (rs4.us5/00) operating system - AIX
    ... The problem I have is that a query runs on one of the machines almost ... I use qe90 the actual cpu time taken is over double on one of the ... you get estimates for Disk I/O and CPU ...
    (comp.databases.ingres)
  • Help with query.....
    ... I have this query which I've left running for around 8 hours and does not ... Gig Memory, 4 CPU, connected to an EMC disk array. ... Candidates contains a clustered index on INDNUM, ...
    (microsoft.public.sqlserver.programming)
  • Help with query....
    ... I have this query which I've left running for around 8 hours and does not ... Gig Memory, 4 CPU, connected to an EMC disk array. ... Candidates contains a clustered index on INDNUM, ...
    (microsoft.public.sqlserver.server)
  • Re: SQL Server 200 on 4-proc Xeon only using one proc?
    ... something as simple as an inefficient query could cause this. ... Whilst it's consuming the CPU it's ... specific SQL connection via the master database's sysprocesses table. ... under what appeared to be a somewhat heavier than usual load on ...
    (microsoft.public.sqlserver.server)
  • Re: resource utilization / hardware selection
    ... Due to a known bug with this version of redhat linux, ... This is a simple sql,. ... Parallel query is only useful when you are striped your data across ... It takes 4 min. cpu utilization is %30 ...
    (comp.databases.oracle.server)