![]() |
|
Archives of the TeradataForumMessage 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. Jose
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||