Question : Which objects and in which sqluence application using DB Objects

Hi

I am a DBA and presently i want to redesign database and remove unused or junk objcets. there is nobody who can tell me about how application is using DB.

I want to know that how application is working with Oracle database. Means which objects it is using and in which sequnce. When a user is conected to oracle via application then which objects it is hitting an in which sequence.

Is there any queries/package/freeware by which i can know this thing.

Regards

Naveen

Answer : Which objects and in which sqluence application using DB Objects

turn on tracing for a session and you'll capture every statement.

or use fine grained auditting to capture what is being used.

or, query dba_dependencies to see which tables/views are being used by the various view,functions, packages, etc.

the dependencies won't tell you if they are being used though, (if the procedure isn't called for instance)  but it will give you a place to start.

If you have monitoring turned on for your tables you can get counts of activity from dba_tab_modifications.


Auditting is the best option though.

Random Solutions  
 
programming4us programming4us