Re: Checking if remote database is up
On 4/26/05, Gene Sais <Gsais@(protected):
> I prefer to do the check outside the db from a ksh script. It's not goin=
g to help when the db doing the check is down :).
If the local DB is down then the app can't run anyway so this isn't a
problem. Most of the transactions only use the local database. We
need a check that can be done before the transactions that need the
remote database to make sure it's available and return an appropriate
value. From what the consultants who are implementing the app are
telling me it can be ammended to run an extra function and then do or
not do a transaction based on that result. What it can't handle is a
transaction failing, it can't trap and handle exceptions.
It's better to ask a silly question than to make a silly assumption.