Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / December 2005

Tip: Looking for answers? Try searching our database.

Log mining

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rana - 22 Dec 2005 22:51 GMT
Is there a way to read the (archived) logical log files to see the sql
statemets that got executed. The classic example is when 'some joe'
programmer ran a bad query, trashed the database and then come back and
blame the dbas for ' you did it all', how can we defend ourselves? I
know a very round about way using db2 recover expert, is that the only
way ?
theman - 28 Dec 2005 16:22 GMT
You could write C/C++ code using the admin API to mine the log.
Take a look at db2ReadLog and the log record structures in the docs.

You could also look at the db2 audit features.

HTH.
theman.

> Is there a way to read the (archived) logical log files to see the sql
> statemets that got executed. The classic example is when 'some joe'
> programmer ran a bad query, trashed the database and then come back and
> blame the dbas for ' you did it all', how can we defend ourselves? I
> know a very round about way using db2 recover expert, is that the only
> way ?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.