Archives of the TeradataForum
Message Posted: Thu, 13 Sep 2001 @ 20:32:52 GMT
Subj: | | Re: Number of ACTIVE users |
|
From: | | David Wellman |
Ruth,
Adam's answer is probably the closest that you'll get using raw sql. Look for all users who have a non-zero currentspool value. You'll
also then need to add in any users who have a session with a dbc.sessioninfo.partition value of 'fload' and 'mload'. This will pick up all
the fastload and multiload jobs which are currently running (these don't use spool).
The other alternative is to write a program that uses the pm&pc (aka pm/api) interface. This uses the same data as pmon and other
teradata manager applications do.
Dave
|