Subject | Re: [firebird-support] Re: how to find the bottleneck or slow queries/triggers/stored procedures |
---|---|
Author | Andi Voss |
Post date | 2008-08-17T11:50:18Z |
thanks for the replay.
I monitored the read and write processes by filemon and there was no
abnormality during the problems in the ERP.
Nothing hangs or took too much time or something similar.
And when this is the problem, why it is this problem?
Andi
> Have you checked the performance monitor (Administration Tools ->This was one thing I checked at first.
> Performance). I would be looking at read and write queues for the
> disk, as slow queries tend to be waiting for CPU time or disk access.
I monitored the read and write processes by filemon and there was no
abnormality during the problems in the ERP.
Nothing hangs or took too much time or something similar.
>OK this sounds logical, but how can I detect these WAIT transactions?
> If that does turn out OK, then is there a possibility that the queries
> are running under a WAIT transaction, and so they are waiting to see
> if the conflicting transaction commits or rolls-back before returning.
And when this is the problem, why it is this problem?
>The health monitor from SBS never showed something critical.
> Your database stats look OK from a garbage perspective (and you would
> be seeing a maxed out CPU core if it wasn't).
Andi