Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 11 Oct 2012 @ 13:12:06 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Need Help with Perfomace Issue
From:   Kothari, Mahesh


I have a table for eg: Employee

Select * from employee work fine.

But if I write query like

     Select 1,2,3,4,sum(5),sum(6),sum(7)
     From employee
     Group by 1,2,3,4;

Note : 1,2 ...are columns here

Explain plan is very bad and query fails with spool space issue .

How to tackle such issues

Mahesh Kothari
Teradata India Pvt. Ltd.

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