Presentation is loading. Please wait.

Presentation is loading. Please wait.

Debugging/Tuning Queries via iSeries Navigator Tom McKinley

Similar presentations


Presentation on theme: "Debugging/Tuning Queries via iSeries Navigator Tom McKinley"— Presentation transcript:

1 Debugging/Tuning Queries via iSeries Navigator Tom McKinley

2 Tour Whats info is available –System Monitoring –Collection Services –Work Management –Table –Show Indexes –Index Advisor (DB, Schema or table level) BETA ONLY, removed from presentation. –Stats

3 System Level Monitoring

4 Example System Monitor

5 Open Monitor

6

7 Active Jobs

8 Current SQL For A Job

9 Current SQL for a job

10 Explain from Current SQL

11

12 Index Advised

13

14 Columns Stats on a table

15

16 Column Stats Details

17 Statistics Requests

18 Other sources of Info DB2 for iSeries Web Site –http://www-03.ibm.com/servers/eserver/iseries/db2/ Monitor queries –http://www-03.ibm.com/servers/eserver/iseries/db2/dbmonqrys.htm White papers –http://www-03.ibm.com/servers/eserver/iseries/db2/awp.html SQL performance and query optimization guide (Info Center) Common, Tech Conferences… Query Performance tuning workshop –http://www- 03.ibm.com/servers/eserver/iseries/service/igs/db2performance.html

19 Summary Many things affect query plans Try to understand the access methods Learn the tools Size matters –Bad Performance does not scale. You need to collect info before you make changes to help understand what changed and the impact of that change. Dont only focus on Runtime. Look for resource hogs, or for queries that are run frequently Good indexing strategy in some cases is critical


Download ppt "Debugging/Tuning Queries via iSeries Navigator Tom McKinley"

Similar presentations


Ads by Google