Apache Phoenix with DBine
How to connect DBine to Apache Phoenix and what you can do once it's connected. This page is written from what the Apache Phoenix driver says about itself, so it matches the version of DBine you download.
Connect
- In DBine, open New connection.
- Pick Apache Phoenix in the list of engines.
- Fill in the fields below, press Test connection and then Save.
Default port: 8765.
General
| Field | Description |
|---|---|
| Server required | Example: localhost |
| Port | Example: 8765 |
| 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. |
Advanced
| Field | Description |
|---|---|
| Serialization | The Query Server's (phoenix.queryserver.serialization). Options: Protobuf (default), JSON Default: Protobuf (default) |
| HBase Master | Optional, for the monitor: the HBase Master web UI (its /jmx). Empty = same host, port 16010. Example: http://<host>:16010 |
| HBase RegionServers | Optional, for the monitor: if the names reported by the Master don't resolve from this machine. Example: http://rs1:16030, http://rs2:16030 |
What the explorer shows
The objects appear right under the connection:
- Tables
- Views
- Sequences
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 index
- New sequence
- New function
Tools for Apache Phoenix
Available
- Graphical execution plans
- Server monitor
- Manual transactions (commit and rollback)
- Index usage
- Visual designer for new objects
- Compare and sync schemas
- Native bulk load when migrating data
Not available for Apache Phoenix
- Live query profiler
- Sessions and running queries
- End a session
- Locks: who blocks whom
- Cancel another session's query from the sessions list
- Create databases
- Drop databases
- Database properties
- Relations in the ER diagram
- Rename objects
- Clone tables
- Users and permissions
- Backups
Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.
Generated from the Apache Phoenix driver 0.1.10, which DBine downloads the first time you connect to Apache Phoenix.