Connecting Tech Pros Worldwide Forums | Help | Site Map

runaway sqls

db2admin
Guest
 
Posts: n/a
#1: Nov 4 '08
Hello,

Sometime, clients disconnect after starting sql and sql keep running
in the db2 engine making it a runaway sql.
is there something in DB2 which can avoid this behavior i.e. clean any
agents/subagents/sqls when client is no longer connected ?

Salvatore Vacca
Guest
 
Posts: n/a
#2: Nov 4 '08

re: runaway sqls


On 4 Nov, 18:10, db2admin <jag...@gmail.comwrote:
Quote:
Hello,
>
Sometime, clients disconnect after starting sql and sql keep running
in the db2 engine making it a runaway sql.
is there something in DB2 which can avoid this behavior i.e. clean any
agents/subagents/sqls when client is no longer connected ?

I’m not sure if SET CLIENT command can help you; see following link:

http://publib.boulder.ibm.com/infoce.../r0001999.html

Regards
Salvatore Vacca
db2admin
Guest
 
Posts: n/a
#3: Nov 5 '08

re: runaway sqls


On Nov 4, 12:37*pm, Salvatore Vacca <s.va...@gmail.comwrote:
Quote:
On 4 Nov, 18:10, db2admin <jag...@gmail.comwrote:
>
Quote:
Hello,
>
Quote:
Sometime, clients disconnect after starting sql and sql keep running
in the db2 engine making it a runaway sql.
is there something in DB2 which can avoid this behavior i.e. clean any
agents/subagents/sqls when client is no longer connected ?
>
I’m not sure if SET CLIENT command can help you; see following link:
>
http://publib.boulder.ibm.com/infoce...dex.jsp?topic=....
>
Regards
Salvatore Vacca
thankyou,
i am going to look into that
i also noticed this DB2CHECKCLIENTINTERVAL parameter
is this something which can also help to clean runaway sql ?
Dan van Ginhoven
Guest
 
Posts: n/a
#4: Nov 5 '08

re: runaway sqls


Hi!

Will you please publish the results if you succeed!
Thanks
/dg

"db2admin" <jagdip@gmail.comwrote in message news:55eb88f0-c4f6-482e-b5e6-fb65050f1b3f@f37g2000pri.googlegroups.com...
Quote:
Hello,
>
Sometime, clients disconnect after starting sql and sql keep running
in the db2 engine making it a runaway sql.
is there something in DB2 which can avoid this behavior i.e. clean any
agents/subagents/sqls when client is no longer connected ?

Salvatore Vacca
Guest
 
Posts: n/a
#5: Nov 5 '08

re: runaway sqls


On 5 Nov, 18:14, db2admin <jag...@gmail.comwrote:
Quote:
On Nov 4, 12:37*pm, Salvatore Vacca <s.va...@gmail.comwrote:
>
Quote:
On 4 Nov, 18:10, db2admin <jag...@gmail.comwrote:
>
Quote:
Quote:
Hello,
>
Quote:
Quote:
Sometime, clients disconnect after starting sql and sql keep running
in the db2 engine making it a runaway sql.
is there something in DB2 which can avoid this behavior i.e. clean any
agents/subagents/sqls when client is no longer connected ?
>
Quote:
I’m not sure if SET CLIENT command can help you; see following link:
>>
Quote:
Regards
Salvatore Vacca
>
thankyou,
i am going to look into that
i also noticed this DB2CHECKCLIENTINTERVAL parameter
is this something which can also help to clean runaway sql ?

It depends on which version of db2 are you using; as you can see from
documentation the default value of DB2CHECKCLIENTINTERVAL is 50 for
version >= 8.1.4, prior to version 8.1.4, the default value was 0 (no
client connection verifications is performed).

http://publib.boulder.ibm.com/infoce.../r0005660.html

Closed Thread