![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 07 Jun 2007 @ 15:42:03 GMT
If the large fat table contains many columns sharing the same values across mulitple rows, then a lookup table may be the way to go. Eg Fat table
col1 col2 col3 col4 col5 etc.....
1 1 1 1 2
1 1 1 1 3
1 1 1 1 4
2 1 1 1 2
2 1 1 1 3
2 1 1 1 4
2 1 1 1 5
Look up table
Unique_ID col1 col2 col3 col4
100 1 1 1 1
200 2 1 1 1
300 3 1 1 1
Thereby reducing the width and physical size of the fat table New Fat table
Unique_ID col5 ......
100 2
100 3
100 4
200 2
200 3
200 4
Regards Di
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||