Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] way to check table last modify time?
In 10g you can do this rather easily and somewhat precisely for any table
modified within the past 5 days.
SQL> select scn_to_timestamp(max(ora_rowscn)) from t2;
SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))
On a related note you can even see last modified time on each *row* without your own custom fields if you enable dependancy tracking. This will use a little extra space for each row; basically Oracle is going to save the last modified SCN for each row rather than the default of each block.
-Jeremy
On 4/25/07, Mark Strickland <strickland.mark_at_gmail.com> wrote:
>
> I'm using LogMiner for this sort of thing. Lower performance impact than
> auditing from what I've read.
>
> Mark
>
>
-- Jeremy Schneider Chicago, IL http://www.ardentperf.com/category/technical -- http://www.freelists.org/webpage/oracle-lReceived on Wed Apr 25 2007 - 12:47:32 CDT
![]() |
![]() |