アットウィキロゴ
Apricot Life
掲示板 掲示板 ページ検索 ページ検索 メニュー メニュー

Apricot Life

db2support

最終更新:

kawases

- view
管理者のみ編集可
The db2support command collects environment data about either a client or server machine and places the files containing system data into a compressed file archive.

This tool can also collect basic data about the nature of a problem through an interactive question and answer process with the user.


Before you begin

The database must be activated prior to running db2support, otherwise the information collected does not contain enough information.

Typical Procedure

This is a simple case for taking db2support:
db2support <outputdir> -s -d <dbname> -c -n <nnnnn> -f > db2support.log 2>&1
where:
<outputdir> : output directory
<dbname>  : database name
<nnnnn> : any identification number (optional)

For example:
C:\> db2support c:\tmp -d sample -s -c -n 12345 -f > db2support.log 2>&1 

Other Case Example(s)

If you need the optimizer information, add -sf option:
db2support <outputdir> -s -d <dbname> -c -n <nnnnn> -f -sf <SQL_file> > db2support.log 2>&1 

For example:
db2support c:\tmp -s -d testdb -c -n 12345 -f -sf c:\tmp\test.sql > db2support.log 2>&1 


Reference(s):

記事メニュー
最近更新されたスレッド
ウィキ募集バナー