Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 02 Dec 2003 @ 10:25:00 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Stored Procedures and Spool
 
From:   Anomy Anom

<-- Anonymously Posted: Monday, December 01, 2003 18:25 -->

We are on version V2R5 5.00.00.28. We created a stored procedure to collect stats under a user called SYSDBA. This stored procedure is used to collect stats on all the tables under the child databases of SYSDBA. Say a user X who has exec priviledge on the stored procedure executes the collect stats sp on a large table. If I query the dbc.diskspace view, I see huge spool values for the account SYSDBA eventhough no one is logged in as SYSDBA and relatively speaking a small amount of spool is used by user X. Alternatively you can check the peak spool after clearing it with clearpeakdisk macro and executing the sp. NCR was able to reproduce the issue and are looking into it.


Hope this helps.



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023