Archives of the TeradataForum
Message Posted: Fri, 19 Apr 2002 @ 16:17:38 GMT
Teradata encourages that physical data model design (including index selection) should be dictated by data demographics and usage. In this way, many of us have Primary Indexes which differ from primary keys (a notion which other database users cringe at.)
Weigh the pros and cons, if the pros overweigh the cons, go ahead and include a nullable field as part of your composite primary index. Teradata made it possible; therefore, one would assume they envisioned various legitimate reasons to do so.
We work with lots of data sources from thrid-parties, I feel your pain. Work-arounds such as default values and surrogate keys can often complicate matters. Nullable fields in your composite primary index will cause some performance degradation, but its probably beats than the alternate.
My 2 Cents,
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|