RE: Table last access date?
From: Michael Fontana <mfontana_at_enkitec.com>
Date: Wed, 19 Nov 2008 15:52:57 -0600 (CST)
Message-ID: <15775351.10891227131577472.JavaMail.root@mail.enkitec.com>
Date: Wed, 19 Nov 2008 15:52:57 -0600 (CST)
Message-ID: <15775351.10891227131577472.JavaMail.root@mail.enkitec.com>
<<You can fetch the last time some table's block has been updated by
fetching:
select max(ora_rowscn) from my_tab;
You can always convert scn to timestamp
select max(scn_to_timestamp(ora_rowscn)) from my_tab;>>
While that's a neat trick to identify an update, I believe the goal was to identify "access", because the requestor was looking for unused tables to drop.
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Nov 19 2008 - 15:52:57 CST