db2udb_the_basics day 7

6
IBM Software Group © 2005 IBM Corporation DB2 UDB Intermediate Day7

Upload: pranav-prakash

Post on 24-Jan-2017

155 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: DB2UDB_the_Basics Day 7

IBM Software Group

© 2005 IBM Corporation

DB2 UDB Intermediate

Day7

Page 2: DB2UDB_the_Basics Day 7

IBM Software Group

© 2005 IBM Corporation

Topics

db2top db2pd

2

Page 3: DB2UDB_the_Basics Day 7

IBM Software Group

© 2005 IBM Corporation

DB2 TOP UTILITY

• db2top is basically a tool to periodically capture snapshots and allow users to read the result visually.

• The utility can be used to identify whether there is problem during a period of time, and narrow down the root cause of the problem. Users will find this a handy utility for monitoring real-time system and debugging problems in their daily work.

Enter the following command from a command line to start db2top in interactive mode:

db2top -d sample

3

Page 4: DB2UDB_the_Basics Day 7

IBM Software Group

© 2005 IBM Corporation

Screen

4

Page 5: DB2UDB_the_Basics Day 7

IBM Software Group

© 2005 IBM Corporation

DB2PD The db2pd tool provides many options to display information about

database transactions, table spaces, table statistics, dynamic SQL, database configurations, and many

other database details; for example • To display the operating system information, issue db2pd –osinfo • To display all instance-related information, issue db2pd –inst • To display all database-related information to the sample database, issue db2pd –db sample Use the db2pd –help command to display all the available options

5

Page 6: DB2UDB_the_Basics Day 7

IBM Software Group

© 2005 IBM Corporation

Thank You

6