|
Archives of the TeradataForumMessage Posted: Thu, 24 Jun 2004 @ 10:31:37 GMT
Matthew, 1) We've found that putting a small table on a single AMP (via a NUPI on a constant value which can be referenced in a view of the base table), in most cases, will encourage the optimizer to duplicate a small table to all AMPs. 2) If this doesn't work, depending on your situation, you may want to consider collecting stats on the small table while it is empty, then populate the table. This approach works fine when only a few tables are involved; however, if many tables are involved, this probably won't be a safe approach. 3) Finally, make sure that the hash join feature is enabled (for star schemas, this is a must.) This will result in fewer redistributions of the LT. Thanks, Clay Claybourne L. Barrineau
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||