Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: test if dblink is up

Re: test if dblink is up

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 12 Oct 2006 08:31:34 -0700
Message-ID: <1160667090.862474@bubbleator.drizzle.com>


Andreas Moroder wrote:
> Hello,
>
> we have a DB-Link over a WAN. When the dblink goes down the application
> blocks and gets a oracle error only after 30 minutes.
>
> Is there a way to test if a dblink is up whit a shorter timeout ( say 30
> seconds ) ?
>
> Thanks
> Andreas

SELECT sysdate
FROM dual@<remote>;
should return rather quickly.

But the nature of your "application" might be important to know. Version, operating system, etc. helpful.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Thu Oct 12 2006 - 10:31:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US