Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

db2top - result analysis

$
0
0
I collected data to analise a job using the following command

db2top -d sample -C -i 15 -m 240

and converted the result in csv files as below:

db2top -d sample -f db2snap-sample-AIX64.bin -b d > dbout
db2top -d sample -f db2snap-sample-AIX64.bin -b l > sessionout
db2top -d sample -f db2snap-sample-AIX64.bin -b t > tbspaceout
db2top -d sample -f db2snap-sample-AIX64.bin -b b > bpout
db2top -d sample -f db2snap-sample-AIX64.bin -b T > tbout
db2top -d sample -f db2snap-sample-AIX64.bin -b D > sqlout
db2top -d sample -f db2snap-sample-AIX64.bin -b s > stmtout
db2top -d sample -f db2snap-sample-AIX64.bin -b U > lockout
db2top -d sample -f db2snap-sample-AIX64.bin -b u > utilout
db2top -d sample -f db2snap-sample-AIX64.bin -b F > fedout
db2top -d sample -f db2snap-sample-AIX64.bin -b m > memout


I am trying now to find out which user ran which SQL-Statement. I can see in stmtout the application name, the agentid and the db user.
I can see in sqlout the statements (30 first char) , the nember of execution and the exection time.

Some statements are very "expensive" What I need is to identify which use ran them.

Is there a possibility to have the information with db2top?

Thanks a lot in advance
Best regards
Renaud

Viewing all articles
Browse latest Browse all 13329

Trending Articles