Tracking Database Links [message #392382] |
Tue, 17 March 2009 13:31  |
Ivancleber da Silva Neves
Messages: 74 Registered: July 2002
|
Member |
|
|
How can I track if a database link is being used or not ? Is there a way to audit when a statement references a database link ? Any other way ? How could I do that ?
Thanks in advance
|
|
|
|
Re: Tracking Database Links [message #392388 is a reply to message #392383] |
Tue, 17 March 2009 14:07   |
Ivancleber da Silva Neves
Messages: 74 Registered: July 2002
|
Member |
|
|
Let me explain my need. I have several database links created im my instance ( almost 300 ). Most of them are no longer used. I just want to find out what are still referenced in select statments and drop the other ones. I donĀ“t need to audit the objets in the target instance. I just want to know if the link is still being used. There must be a way of doing this. Any ideia ? DDL trigger ? Could I track DML statmens and seek for "@" in the text ?
Thanks in advance
|
|
|
|
|
|
|