|
|
Archives of the TeradataForum
Message Posted: Fri, 18 May 2001 @ 17:11:35 GMT
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).
| |