You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a major issue happening when (re)connecting to a database: the loading stucks a long time on "Loading foreign keys..." step.
It usually resolves in a dozens of seconds, but sometimes it keeps struck forever. Closing and re-opening the app fix it.
I initially thought it was a minor bug, just a little annoying, before we had to investigate with my team an issue of very high CPU usage on our development Postgres cluster... and we finally found out it was caused by my dbgate client flooding it with the following request:
This query always returns an empty result, so the simplest solution (but not solving the problem completely) will be not to execute it... It is invoked in some scenarios, when modification of DB structure is detected. Maybe the modification state is not cleared after new DB structure is loaded, so the new DB structure is loaded forever, probably there is some less usual construct in your DB structure
I will investigate this more deeply as soon as possible, I agree this is a critical issue
This problem is caused by FK query optimization. As I have discovered more potential problems of this optimization than benefits, I removed it, so this query should never be invoked.
However, I am not sure, whether this will solve all related problems. If there is a repeated message in the shell console
DB modifications detected: ...
please let me know. I will be on vacation next week, so bigger changes must wait a bit
Describe the bug
I encountered a major issue happening when (re)connecting to a database: the loading stucks a long time on "Loading foreign keys..." step.
It usually resolves in a dozens of seconds, but sometimes it keeps struck forever. Closing and re-opening the app fix it.
I initially thought it was a minor bug, just a little annoying, before we had to investigate with my team an issue of very high CPU usage on our development Postgres cluster... and we finally found out it was caused by my dbgate client flooding it with the following request:
See attached screenshots of CPU usages, corresponding to times DBeaver was running (and stuck), before I noticed it.
To Reproduce
It looks like it happens only after a long time with a database connexion, although I'm not really sure; it looks pretty random to me.
No need to say I consider this as a pretty critical bug that can have severe consequences on a system!
Expected behavior
Do not stuck on a loading step, and if even, do not flood server with queries
Screenshots
Version Information:
Thanks for the investigation; I love this soft nevertheless!
The text was updated successfully, but these errors were encountered: