Archives of the TeradataForum
Message Posted: Fri, 19 Dec 2003 @ 17:39:49 GMT
Subj: | | Re: can anyone help me out here |
|
From: | | Terry Stover |
One thing to note, the optimizer is smart enough to use the nusi for values that are selective and skip the nusi for frequently occuring
values. R5 has sparse nusi's, which allows you to avoid creating index rows for values where the index won't be useful anyway.
A nusi takes 8+ bytes per row and secondary indexes are A LOT less useful than on Teradata than on other rdbms's. Try collecting stats on
a column before you try a nusi.
|