The main difference is as follows:
REORGCHK will run the stats on on or more tables, in the same way they were
last run.
This means if you ran with distribution statisitics and detailed indexes it
will also run the stats in that way from the REORGCHK command. Note that
you cannot specify that in the reorgchk command.
Doing a runstats command will pick up the stats in the way you specify in
the command, with or without distribution and detailed indexes.
It also resets those options so that if you run REORGCHK it will run the
stats as specified in the last way you ran them.
HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Jari Korkiakoski" <ja**************@iki.fi> a écrit dans le message de
news:d1**********@plaza.suomi.net...
Hello,
What kind of difference does it make to update statistics
via 'REORGCHK UPDATE STATISTICS ON TABLE ALL' or by running
directly 'runstats on table xxx.yyy with distribution and detailed
indexes all" for all tables ?
--
Jari Korkiakoski | ja**************@iki.fi |#include <stddisclaimer.h>
http://wwwkeys.eu.pgp.net:11371/pks/...rch=0x81F43B00