Re: How to use tnsping programmatically

From: Shakespeare <whatsin_at_xs4all.nl>
Date: Wed, 08 Apr 2009 23:50:22 +0200
Message-ID: <49dd1c24$0$183$e4fe514c_at_news.xs4all.nl>



Ruud de Koter schreef:
> Hi Paolo,

<knip knip>
>

>>
>> So, to make a long story short, what i'm trying to do is avoid 
>> connection (and users waiting for a timeout to occur in front of pc) 
>> if Oracle is not tnspingable...

>
> When using ping there is no garantuee that you will have connectivity
> even milliseconds after your last succesful test.

Not even *while* you are testing.... TNSPING does not guarantee connectivity at all! Even a 'dead' db can give correct tnspings...

<knip knip>
>
> Regards,
>
> Ruud de Koter.

>>
>> Other ideas are welcome, of course :)
>>
>>> HTH -- Mark D Powell --
>>
>> Thanx again
>> Paolo

Shakespeare
(What's in a ping?) Received on Wed Apr 08 2009 - 16:50:22 CDT

Original text of this message