Factors to consider when preserving diagnostic data
Due to the interactions between address spaces, you might sometimes need to obtain a dump of associated address spaces so that you can diagnose problems. To ensure that information that is needed to diagnose the problem is available, you need to consider several factors when requesting dumps of data.
If you request a dump of less data, the dump process might complete more quickly and capture diagnostic data as it existed at the time of the error. Thus more control block information might be synchronized. Conversely, if you request a complete address space dump, it might contain more data areas, but data areas might have changed since the error event occurred.
Consider these recommendations when deciding which data areas to include in the dump data set:
- If a slow-moving performance problem is being diagnosed, request a complete address space dump.
- If Db2® is in a hard-wait situation, request a complete address space dump.
- If you can narrow the problem to specific components, request a dump of only the pertinent address space and data areas.
- If you cannot narrowed the problem to a specific component, request a dump of all related address spaces with minimal data for each address space.