Archives of the TeradataForum
Message Posted: Tue, 11 Feb 2004 @ 00:51:54 GMT
Subj: | | Re: Query Performance |
|
From: | | Schroter, Andrew |
Try--
"select MAX(CURRENTSPOOL), MIN(CURRENTSPOOL), sum(currentSPOOL)
from dbc.diskspace where databasename = user"
Will get you your current SPOOL use.
"select spoolspace from dbc.users where username = user" will get you your SPOOL allocation.
Note, if you are assigned a profile, you'll need to "select spoolspace from dbc.profileinfoX" to get your SPOOL allocation.
- access, the dbc.profileinfo table for any other profile.
|