Connect ClickHouse to DBeaver by installing the ClickHouse JDBC driver, creating a new connection, and supplying the JDBC URL, credentials, and optional SSL parameters.
Open DBeaver, click Database ▸ New Database Connection, search for “ClickHouse,” and select the driver. If it’s missing, press Download to fetch the JDBC files automatically.
In the connection dialog, enter your host, port (8123 for HTTP, 9440 for HTTPS), and database name. Provide user and password credentials, then click Test Connection.
Use the canonical ClickHouse URL: jdbc:clickhouse://host:port/database
. Add parameters such as ssl=true
, sslmode=require
, compress=lz4
, or socket_timeout=300000
to harden security and improve performance.
After the connection opens, press Ctrl+Enter to execute a query tab. Run SHOW TABLES
to verify your ecommerce schema. Then try the sample query below to confirm joins and aggregates work.
Enable Use HTTP Interface for large result sets, set Fetch Size to 10 000–50 000, and turn on compression (compress=lz4
) in the JDBC URL. These tweaks reduce memory pressure and speed up data transfers.
Navigate to DBeaver ▸ Preferences ▸ Database ▸ General and enable Keep Passwords encrypted in OS-specific keystore. This prevents plain-text storage of ClickHouse passwords.
Create a Project in DBeaver, store your ClickHouse connection inside, and commit the .dbeaver-data-sources.xml
file to version control without the password token. Teammates can import the connection and add their own secrets.
Yes. In the connection wizard, open the SSH tab, enable tunneling, and supply your bastion host credentials. DBeaver automatically routes traffic through the tunnel.
By default, 8123 for HTTP and 9440 for HTTPS. Match the port to your cluster’s listener and any firewall rules.
Right-click the connection, choose Edit Connection ▸ Driver Properties, and set max_result_rows
or adjust Fetch Size under Data Editor ▸ Result Sets.