You would need to enable the data collection process before you can analyse historic data. Seems that this is not active in your environment.
Do you log all queries in DBQL on detail level?
If yes you could have a chance to get the info you search there.
Der Beginn aller Wissenschaften ist das Erstaunen, dass die Dinge sind, wie sie sind.-Aristoteles
You can use below sql to get concurrent user.
SEL count(*) FROM DBC.LOGONOFF
WHERE LogonDate = '2012/06/25'
AND Event = 'Logoff'
AND 120000 BETWEEN LogonTime AND LogTime
;
dbc.LogonOff is only information about when a session logged on/off, only dbc.QryLog carries info about executed queries.
So it depends on the definition of "concurrent":
- number of users logged on -> LogonOff
- number of sessions logged on -> LogonOff
- number of queries running in parallel -> QryLog, but this will not count those fast tactical queries which are usually not logged in QryLog, but in QryLogSummary
Dieter


Hi,
Can anybody please tell me how to find number of concurrent users firing query in teradata at a particular time in PAST.. lets say yesterday.
Can we do this in Pmon ( although we can see all the active users in Pmon, I want to see no. of maximum concurrent users at a specific point of time in past).
Please do reply..Its very urgent!!