Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10022

Re: Runstats on one table

$
0
0

Leslie,

There is some special logic for BW tables (as your example) that tries to avoid RUNSTATS dependent on statistics data from DB2 catalog. E.g. if a table contains 10 million rows it normally doesn't matter if you update the statistics or not after inserting further 1000 rows.

In this logic SAMPLE(010) is hard wired.

 

For any non-BW table the selected sampling rate is used.

 

Regards,

Thomas


Viewing all articles
Browse latest Browse all 10022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>