Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 18 May 2001 @ 17:11:35 GMT

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

Subj:   Re: Monitoring long-running queries
From:   Helen Feder

The query being:

Create B as
(select sum (x), sum(y)
from A
Where z between '1' and '3'
group by L, M, N
with data
unique primary index on (L, M, N);

Table A has a unique primary index that is not involved with the query -- so there will be a full table scan. I do have a nupi on table A on column M -- but I don't think that it comes into play (at least not according to the Explain).

  <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