I'm having what I suspect is a race-condition in an Oracle application I inherited. Is there any way to see when commits against a table was made? I don't care what was changed (at least not for now), I only want to know if a commit was made within a certain timespan.
Oracle 11g R2 – Understanding Commitlog
oracleoracle-11g-r2
Related Question
- Oracle Stopping – Can’t Login All Of A Sudden –
- How to troubleshoot/debug Oracle permission problems
- Mysql – Disable explicit commits in JDBC, detect them in SQL, or put the database in a readonly state
- Oracle XE TNS Listener fails to start
- How to prevent having inconsistent data under isolation level serializable in Oracle SQL
- Oracle – How to Access GTT Table Data from Another Session
- Variables in Oracle Triggers
Best Answer
You may query v$logmnr_contents, as per documentation https://docs.oracle.com/cd/B19306_01/server.102/b14215/logminer.htm#i1016607
But remember that the data is changed immediately, not on commit! Until commit, other sessions see the data as it was before, or receive an error if Oracla can no longer show it ("rollback segment too small").