Hello
I've searched the forum and the web for an understandable guide but can not find one, since all guide's seems to be for advanced users, and I'm not.
Here's my situation. We are running 32bit db2 v9.5.fp4 enterprise on windows server 2003 x86. The application is a large and fairly undocumented 3rd party application so getting support from developers are very problematic.
We suspect that the application "may" create multiple statements against different databases and somewhere in that "area" performance issues arises.
Here's what we want to do.
1. Capture the full sql statements generated by the application and user. Including the values of parameter markers.
2. Preferably be able to capture full statements in realtime for one user during 10 minutes.
I have not been able to capture the full sql statement with event monitor, only partially with parameter markers showing alot of "?" which is not very helpful. We need to know the "?"
I have been able to isolate an installation without users so if I only could log "all statements" on an instance level that would be great. I have been looking into db2audit, but I simply can not get started because I don't understand it. I need a short tutorial.
If our databases are like these in the default db2 instance.
Personal (for personal data)
Central (for central data)
Auth (for user rights and groups)
How would I get started on an isolated server?
Preferably I would like to audit all statements generated by the application when I logon through the application and test the application.
Are there any graphical utilities or 3rd party application like Quest that could in an production environment single out one user and capture all full sql statements in realtime for that user?
Thanks in advance.