AUDIT tracking for ROLLBACK and COMMIT [message #385368] |
Mon, 09 February 2009 05:28 |
rizimazhar
Messages: 34 Registered: August 2008 Location: Pakistan
|
Member |
|
|
Hello Everybody
I am a little new in auditing.
I have deployed it successfully. And i can track all changes for HR user based upon the following audit commands settings:
AUDIT ALL BY HR BY ACCESS;
AUDIT SELECT TABLE, UPDATE TABLE, INSERT TABLE, DELETE TABLE BY HR BY ACCESS;
AUDIT EXECUTE PROCEDURE BY HR BY ACCESS;
I am also able to see the sql statements and bind variables as well, as i have used audit_trail="db,extended" option.
I am concerned about one thing, this audit throws all audit data that i need, but i want to see the audit entries for the following commands as well:
ROLLBACK and COMMIT
Can anybody tell me how to achieve that?
Regards
Rizwan
|
|
|
|
|
|
|
|
Re: AUDIT tracking for ROLLBACK and COMMIT [message #405997 is a reply to message #385405] |
Mon, 01 June 2009 08:19 |
Armour09
Messages: 2 Registered: June 2008
|
Junior Member |
|
|
yes. I have same problem .
I think we can audit commit or rollback. because when I select audit_actions, I see that commit and rollback. commit action id 44,rollback action id 45 .
if rollback and commit have action id ,we can audit this.
are you sure ?
|
|
|
|
|
|
Re: AUDIT tracking for ROLLBACK and COMMIT [message #671651 is a reply to message #671646] |
Tue, 11 September 2018 12:38 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I didn't know that. I've just tested (in 18.3) and yes, AUDIT ALL STATETMENTS does capture COMMITs. However, after a quick look I don't see how to connect a COMMIT to the DML, so it still isn't possible to know what was committed and what was rolled back.
|
|
|
Re: AUDIT tracking for ROLLBACK and COMMIT [message #671653 is a reply to message #671651] |
Tue, 11 September 2018 13:27 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
I have not this version to check but dba_autdit_trail has a TRANSACTIONID column which should be the same for the COMMIT or ROLLBACK statement and the other statements they cover.
|
|
|