How to find out when an Oracle table was updated the last time

前端 未结 11 1761
死守一世寂寞
死守一世寂寞 2020-11-28 05:14

Can I find out when the last INSERT, UPDATE or DELETE statement was performed on a table in an Oracle database and if so, how?

A little background: The Oracle versio

11条回答
  •  抹茶落季
    2020-11-28 05:52

    Ask your DBA about auditing. He can start an audit with a simple command like :

    AUDIT INSERT ON user.table
    

    Then you can query the table USER_AUDIT_OBJECT to determine if there has been an insert on your table since the last export.

    google for Oracle auditing for more info...

提交回复
热议问题