Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / August 2007

Tip: Looking for answers? Try searching our database.

Automatically disconnecting DB2 clients which are inactive for some time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rahul B - 28 Aug 2007 05:44 GMT
Hi,

I have a situation where many people will be connecting to DB2 through
various clients and applications.
Since people just connect to the Database through a client and leave
it as it is, the connections become more(even if he doesn't query
anything).

I want to disconnect all the client who remain idle for a specific
time so that they have to connect again.

Is there a way in which DB2 supports this?

Thanks

Rahul
kavallin@hotmail.com - 28 Aug 2007 09:18 GMT
Rahul.. check db2gov, search for it here
http://publib.boulder.ibm.com/infocenter/db2luw/v8//index.jsp. One of
the options in db2gov is :
idle nnn
   Specifies the number of idle seconds allowed for a connection
before a specified action is taken. If you specify -1, the
connection's idle time is not limited.

/Roger
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.