Need Advice on Running STATS against staging tables
Hi Experts
We have performance issue in staging tables after a application rollup patch has been applied. As we have seen in the past with the same patch there was performance issue where few base tables were involved. After running Gather stats for those tables the perf got better. Now we have few staging tables involved where its causing performance issue.
Data in these staging tables will be Truncated at the end of the data load process so if we want to Gather STATS against these tables ,
- is there any use to gather stats when the tables are empty ?
- can we load the actual data into these staging tables & run stats & later purge the data?