Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

User SQL runtime - topic by hpscheepers

$
0
0
Hi  I am trying to figure out how to measure the query runtime (from start to finish) for each SQL query executed by a user. e.g. UserName, StartTime, QueryRunTime, etc., etc., etc.,  bob, 2013/01/30 09:10:00.00, 00:00:00:05:, etc., etc., etc., bob, '2013/01/30 09:11:00.00', 00:01:23:00, etc., etc., etc. etc. etc.   (QueryRunTime format:  hh:mm:ss:ms.  To calculate query run time, I used dbqlogtbl.FirstRespTime - dbqlogtbl.StartTime)

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>