on 06-10-2015 2:52 PM
Hi ,
In our PI 7.4 system, the db logs getting full and performance goes down suddenly
How to find which process/application making it to happen.
database is db2 10.5
I would appreciate your inputs for analysis.
Thanks in advance
Check diag log and take application snapshot of DB.
Mao the app ID with PID.
You will get an idea.
Note 1293475 - DB6: Transaction Log Full
Note 1308895 - DB6: File System for Transaction Log is Full
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel
Could you refer the SAP KBA for your issue
2141933 - DB6: How to initially trouble shoot transaction log full issue
BR
SS
Hi Daniel,
At SAP level....
Goto ST04 --> choose Logging tab check the value for "Application with Oldest Transaction" this will give you the db2 application handle. Record the number.
Now click on Application from the left hand side panel in ST04 and search of the number in the Appl. handle column, once found double click on the number and you have all the required details...
PID: work process id.
Workstation: SAP application server on which the work process is running,
Application: Type of work process... and so on...
At OS level....
1. Command to get the current secondary log allocation
db2 get snapshot for database on <DBSID> | grep -i 'allocated currently'
2. Command to get the details on oldest transaction consuming secondary log
db2 get snapshot for database on <DBSID> | grep -i oldest
3. Command to get the details on the work process consuming secondary log
db2 get snapshot for application agentid xxxxx | grep -i 'Process ID'
here xxxx is the value obtained after running second command
Hope this is what you're looking for.
Regards,
Prithiviraj.
Hi Daniel ,
When you say db logs is it the db2dump ( trace file ) directory or is it archive log / primary [ log primary ] log files . .
Is archiving logging turned on ?
Thanks ,
Manu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.