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

Re: update statistics command

$
0
0

What we usually do for big tables is to use the sampling option of "update statistics".

for example, we use the following command:

update index statistics <object_name> using 2000 values with sampling=10 percent

 

Try testing with sampling in a test/preprod environment.

 

Vincent


Viewing all articles
Browse latest Browse all 3273

Trending Articles



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