View previous topic :: View next topic |
Author |
Message |
Martin Beginner
Joined: 20 Mar 2006 Posts: 133 Topics: 58
|
Posted: Tue Nov 06, 2007 12:22 pm Post subject: Run stats |
|
|
Hi All,
We are asked to RUN STATS to few of the jobs in production.Can some one please explain what is the use of the adding RUN STATs??
Thanks,
Mt |
|
Back to top |
|
|
jsharon1248 Intermediate
Joined: 08 Aug 2007 Posts: 291 Topics: 2 Location: Chicago
|
Posted: Tue Nov 06, 2007 12:53 pm Post subject: |
|
|
Click on the Quick Manuals link at the top of this page, then the DB2 V8 Utility Guide and Reference link, then review the description for RUNSTATS. That's a good place to start. |
|
Back to top |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
|
Back to top |
|
|
bauer Intermediate
Joined: 10 Oct 2003 Posts: 315 Topics: 49 Location: Germany
|
Posted: Thu Nov 08, 2007 1:55 am Post subject: |
|
|
Martin,
well, rebind could bei helpful after runstats ....
regards,
bauer |
|
Back to top |
|
|
pcsingh_2000 Beginner
Joined: 13 May 2003 Posts: 15 Topics: 6 Location: Kolkata
|
Posted: Fri Nov 09, 2007 12:22 pm Post subject: |
|
|
Runstat collects the statistics like number of records in a table, repeating data, index rows and it's characteristics. that means it is now known to db2 about the data/index present for that tablespace. When you rebind after runstat, the access path is rebult again according to current statistics. hence better performance for the queries..
regards,
Prakash. _________________ prakash c. singh
voice:00-91-93315 16675 |
|
Back to top |
|
|
|
|