Re: Update Statistics - how effective.
Posted in 2000
From: jimspiers999@my-deja.com > >For example: >informix 7.2 >40 users database >200 plus tables - 1.4 million transactions > >what impact will UPDATE STATISTICS have - any how long can i expect it >to take >ie. 10% increase in speed - 2 hours to run I can offer no estimates, but I can tell you that it can have a *massive* impact. I've seen individual queries drop from minutes to sub-second response. I wrote a shell script (ftp://ftp.iiug.org/pub/informix/pub/mkupdstats.gz) to generate the current recommended update stats commands for you, it doesn't require Perl or ESQL/C. If you have perl or ESQL/C, you might prefer upd_stats or utils*_ak, respectively. Try one of them. You'll be pleasantly surprised. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com