ClickHouse with DBine
How to connect DBine to ClickHouse and what you can do once it's connected. This page is written from what the ClickHouse driver says about itself, so it matches the version of DBine you download.
Connect
- In DBine, open New connection.
- Pick ClickHouse in the list of engines.
- Fill in the fields below, press Test connection and then Save.
Default port: 8123.
General
| Field | Description |
|---|---|
| Server required | Example: localhost |
| Port | HTTP: 8123; with TLS, 8443. Example: 8123 |
| Database | |
| User | Example: default |
| Password | Kept in the system keychain, never in DBine's files. |
| Read-only | On or off. |
SSH tunnel. The connection can go through an SSH server, even through a chain of bastions, with a password, a private key or the SSH agent. The server's fingerprint is checked against known_hosts or confirmed the first time.
SSL/TLS
| Field | Description |
|---|---|
| Encrypt the connection (TLS) | On or off. |
| Trust the server certificate | On or off. |
What the explorer shows
Under the connection: Databases. Inside each one:
- Tables
- Views
- Materialized views
- Dictionaries
- Functions
Query editor
The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.
Ready-made templates for new objects:
- New view
- New materialized view
- New refreshable materialized view
- New dictionary
- New function
Tools for ClickHouse
Available
- Graphical execution plans
- Live query profiler
- Server monitor
- Sessions and running queries
- Cancel another session's query from the sessions list
- Index usage
- Create databases
- Drop databases
- Database properties
- Visual designer for new objects
- Rename objects
- Compare and sync schemas
- Native bulk load when migrating data
- Users and permissions
- Backups
Not available for ClickHouse
- End a session
- Locks: who blocks whom
- Manual transactions (commit and rollback)
- Relations in the ER diagram
- Clone tables
Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.
Generated from the ClickHouse driver 0.1.12, which DBine downloads the first time you connect to ClickHouse.