|
|
Archives of the TeradataForum
Message Posted: Thu, 10 Apr 2008 @ 14:47:44 GMT
Subj: | | Re: Mystery CurrentSpool |
|
From: | | Ferry, Craig |
This is what we call 'phantom spool'. We run the following SQL on our system once a week and then clean up these cases on the weekend.
SELECT DATABASENAME, VPROC, CURRENTSPOOL
FROM DBC.DISKSPACE
WHERE DATABASENAME NOT IN (SEL USERNAME FROM DBC.SESSIONINFO)
AND CURRENTSPOOL > 0
ORDER BY 1,2 with sum(currentspool);
In order to clean it up, see Knowledge article SD1000C126E or S11000C7C82.
| |