Comments (14)
from dbeaver.
Keep-alive makes huge sense if you are working in transactional mode. Disconnect ends current transaction (with rollback), all not-commited changes are lost.
Also, in some environments inactive connection timeout is very small (1-5 minutes). So Kepp-Alive feature is still very wanted by some people.
Although auto-reconnect is also a wanted feature.
from dbeaver.
So, is that available to test connections periodically? We have firewall, so connections lost after a few minutes if no operation commit, it would be fine if DBeaver can test connections on idle. As I know, many Datasource can do this, like HikariCP.
from dbeaver.
Hmm, I think the autoreconnect should be better option for that, because at my Company if you just pinging the server then the whole keep-alive wont work. We have multiple databases with firebird and most of them recreaded or least restarted on each day and the server is not stoped, so the ping has a result. The restart/recreate need only a few seconds but after that he connected driver wont able to make a transaction. I think if the program detect a disconnect answer from a transation start then it can be reconnect to the database.
from dbeaver.
Oh, I did not know that the inactive time can be that small :) In that case it should be helpfull a lot this feature.
from dbeaver.
I'm looking forward this keep alive feature, my organisation firewall timeout policy is driving me crazy with my oracle connections...
from dbeaver.
I need this feature too :-)
from dbeaver.
Can't wait for this!
from dbeaver.
Amazing! Thank you a lot
from dbeaver.
Thank you :-)
from dbeaver.
Perfect!
from dbeaver.
This is a great option! But I have two questions about how to use it.
-
Do the seconds in it show how often connection is renewed? Or do they show for how long the connection is kept alive since the last action?
-
After turning this option on and setting the number of seconds should I set a ping query in the driver's options (I'm using MS JDBC driver to connect to Azure SQL Database from Ubuntu):
from dbeaver.
- The first (interval between ping query execution).
- Usually you don't have to set ping query - by default DBeaver will use JDBC API function for pinging.
However it can be unsupported by some drivers - in this case it makes sense.
from dbeaver.
Perfect!
from dbeaver.
Related Issues (20)
- The privileges (grant) tab is missing for Oracle Procedures and Functions HOT 1
- DBeaver Freezes and Has High CPU Usage with Large Scripts HOT 3
- DBeaver 24.0.0+ disconnect doesn't always work HOT 3
- dBeaver doesn't start after upgrade to 24.0.4 (zip download) - incompatible JNA native library HOT 3
- [CUBRID] Provide more information on Query Plan TableView HOT 1
- If I use Oracle 23c driver F4 won't work (it works with other drivers) HOT 10
- Dbeaver began to make a slow opening on Citrix machines HOT 4
- Running query in a block without highlighting no longer works HOT 12
- Transaction Blocks not working after most recent update HOT 2
- Window for "Select Data Source" disappears seconds after switching tabs, right as you're selecting a data source
- SQL Error [42501]: ERROR: permission denied for table
- DBeaver incorrectly gives syntax error highlighting HOT 8
- Can't install update 24.0.4 on Mac OS Catalina 10.15.7
- Enhancement of Key Derivation in DefaultValueEncryptor.java
- Unable to build properly HOT 2
- WHY i cant import, i was doing that before successfully. java heap space? HOT 2
- M3 MAC DBeaver unable to connect to any database due to "Network Unavailable SSL Handshake Exception error"
- Add a refresh button on the "choose catalog/schema" modal HOT 1
- When export CSV files column separate error with column value contains CSV comma separator. HOT 1
- Incorrect syntax near ';'. error on valid DECLARE statement in SQL Server 2019 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbeaver.