View previous topic :: View next topic |
Author |
Message |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Thu May 20, 2004 1:45 pm Post subject: Performance problems |
|
|
We have the same program in two environments. The time of execution is so different.
The problem may be is the path of access.
How can i know the path the program is using when it access to a table? I know that db2 decides it in BIND time. And you can see that information in PLAN_TABLES.
Is there another way to see it? For example, on catalog table, with a DB2 command, etc.
Kind regards. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu May 20, 2004 2:52 pm Post subject: |
|
|
Make sure that RUNSTATS has been run on all tables in the plan and re-bind. |
|
Back to top |
|
 |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Tue May 25, 2004 6:26 am Post subject: |
|
|
Thanks a lot.
It was very useful. |
|
Back to top |
|
 |
|
|