Database link in use [message #318734] |
Wed, 07 May 2008 16:13  |
ora_w Messages: 4 Registered: March 2007 |
Junior Member |
|
|
Hello,
Please advice how to check if database link in use .
Thanks in advance.
Regards,
Ora
|
|
|
|
| Re: Database link in use [message #318739 is a reply to message #318734 ] |
Wed, 07 May 2008 16:26   |
anacedent Messages: 5027 Registered: July 2005 Location: surf meets turf in SoCal |
Senior Member |
|
|
>Please advice how to check if database link in use .
Exactly what do you mean by "in use"?
Exists?
actively being used in some SQL at this moment in time?
or something else?
|
|
|
| Re: Database link in use [message #318746 is a reply to message #318739 ] |
Wed, 07 May 2008 17:05   |
ora_w Messages: 4 Registered: March 2007 |
Junior Member |
|
|
We have some database links , which are probably not in use any more by applications.
We would like to monitore them for ~ 4 months and drop if they not in use.
I would like to know, how to have confirmation ( for about ~100%), that they're not in use any more.
Thanks in advance.
|
|
|
| Re: Database link in use [message #318749 is a reply to message #318734 ] |
Wed, 07 May 2008 17:23   |
anacedent Messages: 5027 Registered: July 2005 Location: surf meets turf in SoCal |
Senior Member |
|
|
1) remove the DBlinks & see what breaks
2) AUDIT the SQL that uses the DBLINKs
3) AUDIT the objects the DBLINKs reference
|
|
|
| Re: Database link in use [message #318823 is a reply to message #318749 ] |
Thu, 08 May 2008 02:12   |
ora_w Messages: 4 Registered: March 2007 |
Junior Member |
|
|
Thank you,
about the first option, we cannot drop then and see the impact.
Please advice how to audit db links ?
|
|
|
| Re: Database link in use [message #318836 is a reply to message #318823 ] |
Thu, 08 May 2008 03:05   |
Michel Cadot Messages: 15238 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
You don't audit db link you:
| Quote: | 2) AUDIT the SQL that uses the DBLINKs
3) AUDIT the objects the DBLINKs reference
|
Regards
Michel
|
|
|
| Re: Database link in use [message #318932 is a reply to message #318836 ] |
Thu, 08 May 2008 08:16   |
ora_w Messages: 4 Registered: March 2007 |
Junior Member |
|
|
Hi,
Can you explain in more details how to do 2) and 3) ?
Regards,
Ora
|
|
|
|