You can use the BPMConfig command to
export database information for performance analysis. The exported
information is obtained from the databases for IBM Process Server
and Performance Data Warehouse (PDW), which reside on machines in
your deployment environment that are running DB2, Oracle, or SQL Server.
The exported information includes a variety of statistics, such as
statistics relating to database version, buffer pools, tables, and
table spaces.
About this task
When you run the BPMConfig command
to export database information, queries are run against the databases
and information is generated for export. If you are using SQL Server,
some of the queries require SQL Server 2008 R2 SP2 (or higher).
Procedure
To use the BPMConfig command to export
database information for performance analysis:
- Ensure that your local user account has sufficient privileges
to run the BPMConfig command with the –export parameter.
Information about the BPMConfig command is found
in the topic BPMConfig command-line utility.
- By default, the database user and password for Process
Server are used to run queries against various Process Server and
PDW database system objects. Ensure that the database user has sufficient
privileges to run queries against these databases. Alternatively,
you can specify a different database user that has sufficient privileges
by completing the following steps:
- In the file system, navigate to the following sample
input file (which will be passed to the BPMConfig command):
install_root/BPM/samples/config/performanceanalysis/PerformanceAnalysis.properties
- Open the PerformanceAnalysis.properties input
file in a text editor. The input file contains properties
that are similar to the ones shown in the following example:
processServerDb.user=
processServerDb.password=
pdwDb.user=
pdwDb.password=
- For the processServerDb.user and processServerDb.password properties,
specify a user and password for the Process Server database.
- For the pdwDb.user and pdwDb.password properties,
specify a user and password for the PDW database.
- Ensure that you can connect to the databases using the
specified database users and passwords, then save and close the PerformanceAnalysis.properties input
file.
- Run the following command (where ProfileName is
the name of a deployment manager profile or stand-alone profile and inputFile.properties is
the full path to the optional input file):
BPMConfig.bat -export -profile ProfileName [-de deName] -db [inputFile.properties] [-outputDir outputDir]

BPMConfig.sh -export -profile ProfileName -de deName -db [inputFile.properties] [-outputDir outputDir]
For
example:
BPMConfig.bat -export -profile DmgrProfile -de De1 -db E:\performanceAnalysis.properties -outputDir E:\output

BPMConfig.sh -export -profile DmgrProfile -de De1 -db /home/user/performanceAnalysis.properties -outputDir /home/user/output
Note: If
there is only one deployment environment in the WebSphere cell, you
can omit the -de option.
When you run the
command using the above syntax, the output is returned to the deployment
manager machine. If you specify the optional -outputDir option
and an output directory name, the output files are generated under
the specified output directory. If you do not specify the -outputDir parameter,
the output files are generated under the default output directory install_root/temp/deName.
Note: If you intend to run the command more than once because
you have more than one deployment environment, remember to specify
different output directory names whenever you use the -outputDir parameter.
- After you run the command, switch to the output directory,
which is either the output directory that you specified with the -outputDir parameter
or the default output directory (if you did not specify the -outputDir parameter).
The output directory contains processServerDb.csv and pdwDb.csv files,
which contain the database information that was exported from the
Process Server and PDW databases.
- Open the two output files and read and analyze the database
information.