| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: How often a table is accessed?
Run the following query. v$db_object_cache has details on objects accessed. The details on the query can be found at www.oracle.com Tips of the day Column.
Cheers.
Tarun Agarwal
aptconsulting_at_hotmail.com
select c.loads, c.executions, c.owner||'.'||c.name name,
t.tablespace_name tablespace, s.bytes/1024 KB, c.sharable_mem
from dba_tables t,
dba_segments s,
v$db_object_cache c
where c.type = 'TABLE'
and c.executions > 0
and c.name = t.table_name
and c.owner = t.owner
![]() |
![]() |