|
|
Archives of the TeradataForum
Message Posted: Thu, 06 Dec 2002 @ 02:31:10 GMT
Subj: | | Re: Spool - Whole Row or Required Columns? |
|
From: | | Walter, Todd A |
Teradata always projects out unneeded columns at every step in the plan to minimize the number of bytes moving and/or going into spool.
Each successive spool could end up with fewer columns as the need for columns goes away once qualification is performed (unless they ar
required in the result set of course). Note that this is one good reason not to use SELECT * unless you really mean it - if you don't need
the columns in the result, don't select them and the query gets more efficient.
| |