Update Statistics - how effective.
Posted in 2000
Topics: General Discussion
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 Obviously, i realise answer will only be a guesstimate. Thanks, Jim. Sent via Deja.com http://www.deja.com/ Before you buy.
Can make differences in speed of magnitudes of 10. Use the Art K. statistics program at IIUG web site. Once statitistics are run on all tables only tables that have significant changes need statistics run. -- --------------------------------------------------------- Steven Hauser email: hause011@tc.umn.edu URL: http://www.tc.umn.edu/~hause011 ---------------------------------------------------------
The answer is: it depends. UPDATE STATISTICS help the engine to do good decisions how to access tables. If the engine do one full table scan in a large table it might take up to several hours. With up to date statistics it might use an index which might take few seconds. Without statistics it is a matter of luck to get the faster one. With much luck the engine would be as fast without as with statistics. But we should use our luck somewhere we could win money ;-) Tommi