Optimizing Database Query Performance; Resolving Event 210031 - IBM E02HRLL-G - WebSphere Partner Gateway Express Administration Manual

Administration guide
Table of Contents

Advertisement

Optimizing database query performance

The RUNSTATS command updates the database query access plan for each table
and index. To optimize database query performance, run RUNSTATS at least once
a week when IBM WebSphere Partner Gateway application and database activity is
at a minimum. As database traffic increases, run RUNSTATS more frequently, up to
once a day.
Notes:
1. Since RUNSTATS updates database system information, lock time-outs
2. A lock timeout may occur when RUNSTATS and db2rbind are run
Another method of updating the DB2 access plan is to use the reorgchk command.
From a DB2 command window, run the following commands:
1. db2 connect to <database name>
2. db2 -v reorgchk update statistics on table all
3. db2 connect reset
Note: Ensure that you stop all Websphere Partner Gateway components before
starting this procedure. You should also stop and restart the database instance after
you finish the reorgchk.

Resolving event 210031

About this task
You can receive event 210031 while a document is performing non-repudation
when one of the following occurs:
v Database or network (connection) went down.
v Network connection to common file system went down.
v Common file system disk space is full.
To resolve this event, perform the following checks before initiating a re-send on
the failed document with event code 210031.
1. Check that the WebSphere Partner Gateway database and network to the DB
2. Check that there is network connectivity between the common file system and
3. Check that the common file system disk has enough free space to write the
164
IBM WebSphere Partner Gateway Enterprise and Advanced Editions: Administration Guide
potentially can occur under specific circumstances. The WebSphere Partner
Gateway application be quiesced and database access be limited to running
RUNSTATS.
simultaneously. It is recommended that these commands be run daily at
different times.
workstation is up and established.
the WebSphere Partner Gateway components.
documents.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Websphere partner gateway

Table of Contents