Quote:
|
Originally Posted by MarkhamDBA
does it do any damage to do RUNSTATS on empty tables?
|
Certainly not. On the contrary: if the table stays empty for the coming weeks, it's better that the optimizer knows about the fact.
On the other hand, if the table will get repopulated soon, it's probably better to postpone the runstats until after that.
REORG on an empty table will probably return a warning. (At least, it does on z/OS.) But again, no harm.