CALL SYSPROC.ADMIN_CMD ('RUNSTATS ON TABLE wh.employee WITH DISTRIBUTION AND DETAILED INDEXES ALL TABLESAMPLE BERNOULLI(15)')
runstats on table wh.employee with distribution on all columns
and detailed indexes all ;
runstats on table wh.employee with distribution on all columns
and sampled detailed indexes all ;
SYSTEM( 系统页级抽样,默认)和 BERNOULLI( 行级抽样)。<