Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Monitoring EDB Server
Wed, Feb 20 2019 5:42 AMPermanent Link

Adam Brett

Orixa Systems

What tools / methods do people use to monitor operation of EDBServer?

I have EDBServer running (on my server needless to say) sometimes super-busy, sometimes less so.

I have a few dozen users connected at most, often as few as 4 - 6.

Obviously I do what I can to optimize SQL and DB structure to minimize resource requirement on the server, I am just trying to delve a little deeper.

It would be great to be able to view the actual queries and requests hitting EDBServer, the time it takes to deal with each to give a result, whether a result is slow to return due to EDB itself, or due to some other OS issue, etc.

I am looking at EDB Configuration tables like "SessionStatistics" and "ServerSessionStatistics" which are useful, but hard to understand.

* Are there ways of seeing SQL hitting EDB Server?
* Are there third party tools for analyzing its function (like a DB-Workbench)?
* What do all you guys do about this? Smile
Wed, Feb 20 2019 5:53 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Adam


This one

4.15 LoggedStatements Table (sql pdf manual)

was added by Tim fairly recently

<<* What do all you guys do about this?>>

I retired so I stopped worrying Smiley


Roy Lambert
Wed, Feb 20 2019 12:05 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< It would be great to be able to view the actual queries and requests hitting EDBServer, the time it takes to deal with each to give a result, whether a result is slow to return due to EDB itself, or due to some other OS issue, etc. >>

If you want to see *everything*, then you can turn on the tracing:

https://www.elevatesoft.com/manual?action=viewtopic&id=edb2sql&topic=Starting_Configuring_Server

under "Configuration Reference", at the bottom you'll see a bunch of Trace* settings.

If you want to *only* see poorly-performing SQL statements, then you can enable the statement logging:

https://www.elevatesoft.com/manual?action=viewtopic&id=edb2sql&topic=ENABLE_STATEMENT_LOGGING

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Feb 21 2019 6:55 AMPermanent Link

Adam Brett

Orixa Systems

Thanks for both of these responses. If I make a little monitoring utility I'll pop it in the NGs.
Fri, Feb 22 2019 1:05 PMPermanent Link

Adam Brett

Orixa Systems

Tim

Does ENABLE STATEMENT LOGGING have any significant overhead for a typical EDB installation with 5 - 20 users?

My assumption is that since it is "only" posting a fairly small number of slower SQL statements to a system table it probably has v. little impact.

If that is the case I may well turn it on by default in my systems and add a screen to track "problem" SQL.
Image