Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 14 Jan 2002 @ 22:40:51 GMT


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


Subj:   SQL Tuning - Spool Space Problem
 
From:   Jay Quinn

Hi, I have created 3 volitile tables, and each has the same common UPI (BAN), but when I try to run this SQL below, I run into a spool space problem, I have 180GB of spool space. I've tried a variety of things to get aroudn it but it spools out. I know ther eis a better way to write the SQL for better performance, but I don't know what it should be. Thanks, Jay

select count(distinct(a.ban))
from jq8274.bill_charge a, jq8274.bill_adjustment b, jq8274.tax c
where a.ban = b.ban
and a.ban = c.ban



     
  <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: 27 Dec 2016