CapsuleCorpJX
IS-IT--Management
Currently our system logs "elapsed" time used by any particular user. Elapsed time for a query varies between heavy and light loads, and just means the length of time between submission of a query and the returned result. So the statistics are not very dependable.
Is there a way to log the CPU time consumed by a particular query submitted by a user?
Also is there a easy way to log the database that a query is being run against? Most people would set their default database first before running a series of queries, so its hard to determine the database they are accessing from the logged query string.
The elapsed time statistics are currently being calculated by dbc.DBQLogTbl
Is there a way to log the CPU time consumed by a particular query submitted by a user?
Also is there a easy way to log the database that a query is being run against? Most people would set their default database first before running a series of queries, so its hard to determine the database they are accessing from the logged query string.
The elapsed time statistics are currently being calculated by dbc.DBQLogTbl