on 03-04-2008 1:17 AM
I have a question in JDBC sender Adapter configuration.
The value for db.disconnect = NO|YES,
The database connection is released and then reestablished before each poll interval.
The default value is NO.
Which value is preferred, taking the performance into consideration? Can anyone please explain...
reg
If your polling interval is longer, use disconnect = true. If you are polling from almost near to real time and any where till 5 sec, do not disconnect. This would add lot of load on the DB in the second case.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which value is preferred, taking the performance into consideration?
Connection increases load on the system. Thats why it is always preferred to disconnect after the completion of operation. But logically, if the polling interval is so small that the disconnect and reconnection will take an equivalent time, then it is better to let the earlier connection open.
In general terms, performance wise, disconnect and reconnect is a better option.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.