Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > Connection brea...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 14216 of 15119
Post > Topic >>

Connection break during waiting for resultset - how to deal with?

by "Dirk Gunsthövel" <dirk@[EMAIL PROTECTED] > Jun 22, 2008 at 02:03 AM

Hi, *

I wonder if you guys have a standard way of  dealing with the
following problem which is not very likely to happen but
gives you problems in batch jobs running on a regular basis:

With Informix (tested on Versions up to 9.2 - I suppose its
the same with newer versions because it is due to the
client db data exchange protocol - please correct me if I am
wrong) the following can happen:

1. client connencts
2. client sends select to server which will take lets say
a second to get the result
3. client starts waiting for server to answer
4. server dies / connection breaks

Result: client waits forever.

One way to deal with this is to kill the statement if there
is no result after some defined amout of time.

Is there a better way?

Thanks,
Dirk

-- 
-- 
-- Dirk Gunsthoevel IT Systemanalyse phone: +49 (0)251 28446-0
-- Hammer Str. 13                    fax:   +49 (0)251 28446-55
-- D-48153 Muenster                  http://www.GunCon.de/
--             "It ain't over 'til it's over."
 




 6 Posts in Topic:
Connection break during waiting for resultset - how to deal with
"Dirk Gunsthövel&quo  2008-06-22 02:03:10 
Re: Connection break during waiting for resultset - how to deal
Fernando Nunes <domuso  2008-06-22 12:09:29 
Again: Connection break during waiting for resultset - how to de
"Dirk Gunsthövel&quo  2008-06-24 12:24:32 
Re: Again: Connection break during waiting for resultset - how t
"david@[EMAIL PROTEC  2008-06-24 23:23:56 
Re: Again: Connection break during waiting for resultset - how t
"Dirk Gunsthövel&quo  2008-06-25 13:07:41 
Re: Again: Connection break during waiting for resultset - how t
"david@[EMAIL PROTEC  2008-06-26 15:13:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:36:30 CST 2008.