DB2 process hang (load process) collection script

Source: Internet
Author: User

The database has a remote connection to the connection, the state has been loadperforming, lasted for more than a week, suspect that the client from the remote load data when the network exception, resulting in the connection hang.


Dear Customer, Hello:



The data you uploaded is not helpful for hang's problem. Next time if you have a similar problem, please accept the following data.



1. Find the application handle of load hang

DB2 list Applications Show Detail |grep db2bp > List_ap.out



2. db2pd-d <db>-apinfo <appl handle> > Db2pd_apinfo.out

3. Db2pd-edus-agent-util-latch > Db2pd_edu.out



4. Db2pd-stack apphdl=<appl handle>-repeat 60 3

The output of the db2pd-stack will be placed in the Db2dump (or DIAGPATH directory)



5. Trace Application Handle

DB2TRC on-t-apphdl <appl handle>-F db2trc.dmp

---Trace for ten sec

DB2TRC off

DB2TRC flw-t db2trc.dmp DB2TRC.FLW

DB2TRC FMT db2trc.dmp db2trc.fmt



6. DB2 get snapshot for application applid <appl handle> > Snapshot_ap.out



7. Final collection of Db2support.zip

Db2support. -D <db>-s-o Db2support.zip


DB2 process hang (load process) collection script

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.