Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long connection with parameter “externalDatabase" on Clickhouse-server 24.3+ #1584

Open
Trifonov-Artem opened this issue Apr 4, 2024 · 0 comments
Labels

Comments

@Trifonov-Artem
Copy link

Trifonov-Artem commented Apr 4, 2024

DBeaver version 24.0.1

After updating Clickhouse-server to 24.3.1.2672, we noticed that the connection time to clickhouse increased noticeably, it turned out that the problem was the default parameter “externalDatabase” in the clickhouse jdbc driver for dbeaver, which creates a request when connecting.

select concat('jdbc(''', name, ''')') as table_cat from jdbc('', 'show datasources') order by name;

Previously, in previous versions of LTS 23.8, this request quickly completed with an error "clickhouse-jdbc-bridge is not running" and the connection occurred in a second, now the connection is processed in about 10 seconds

the request below is processed many times longer than in previous versions, and connection many times longer

select concat('jdbc(''', name, ''')') as table_cat from jdbc('', 'show datasources') order by name;

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant