Archives of the TeradataForum
Message Posted: Thu, 20 Jan 2005 @ 12:52:17 GMT
Subj: | | Re: Insert into empty table with statistics |
|
From: | | Victor Sokovin |
| Statistics are ignored for the target table of SQL statements (certainly under V2R5). | |
Dave, do you have a reference for this?
An obvious exception is recursive type of INSERT ... SELECTs where the table is both the target and a part of the source. Some developers even
like them within one transaction. The situation I mentioned was one of those "chain" INSERT cases. Statistics did play an important and sometimes
unpredictable role here. For not too large tables it definitely helped to have no stats at all.
Victor
|