Archives of the TeradataForum
Message Posted: Tue, 14 Jan 2003 @ 21:35:03 GMT
I think you have a small store table, a huge daily_item_sales table and the store_key field is not a primary index of daily_item_sales. If that's the case, then the plan makes sense.
If you want to make things better, try creating a secondary index on daily_item_sales.store_key and remember to collect stats.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|