-
Hello,
I would like to know if a table is used or not (Select order against this table). I intend to query every hour for instance the v$sqlarea and search on sql_text the name of the table...
Do you know a better way to see if a table is queried by users ?
Thanks in advance
Sofiane
Sofiane
-
Hi,
Many options:
1) 8.1.6 , u can enable table monitoring and then query dictionary views
alter table d monitoring;
You have to wait for few hours for result to show and also u have to enable it for each table.
select * from user_tab_modifications;
Very tedious.
2) query v$db_object_cache
select owner,name,loads
from v$db_object_cache
where type='TABLE'
order by owner
3) query x$bh (8.1.6) and match object type with dba_objects
Thanks
GP
-
-
Rename the table and wait for the telephone to begin ringing.... ;)
Jurij Modic
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
-
Thats funny ! Can be done if its Development...
Reddy,Sam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|