CrateDB with DBine
How to connect DBine to CrateDB and what you can do once it's connected. This page is written from what the CrateDB driver says about itself, so it matches the version of DBine you download.
Connect
- In DBine, open New connection.
- Pick CrateDB in the list of engines.
- Fill in the fields below, press Test connection and then Save.
Default port: 5432.
General
| Field | Description |
|---|---|
| Server required | Example: localhost |
| Port | |
| Database | |
| User | |
| 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. |
| CA certificate (PEM) | Optional: the CA that signed the server certificate, in PEM. A file on this computer. |
Advanced
| Field | Description |
|---|---|
| Query protocol | Automatic uses the extended query protocol and falls back to the simple one if the server doesn't accept it. "Simple protocol only" is for gateways and proxies that reject the extended protocol. Options: Automatic, Simple protocol only Default: Automatic |
What the explorer shows
The objects appear right under the connection:
- Tables
- Views
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
Tools for CrateDB
Available
- Graphical execution plans
- Live query profiler
- Server monitor
- Sessions and running queries
- Cancel another session's query from the sessions list
- Index usage
- Visual designer for new objects
- Rename objects
- Compare and sync schemas
- Users and permissions
- Backups
Not available for CrateDB
- End a session
- Locks: who blocks whom
- Manual transactions (commit and rollback)
- Create databases
- Drop databases
- Database properties
- Relations in the ER diagram
- Clone tables
- Native bulk load when migrating data
Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.
Generated from the CrateDB driver 0.1.18, which DBine downloads the first time you connect to CrateDB.