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

  1. In DBine, open New connection.
  2. Pick Apache Phoenix in the list of engines.
  3. Fill in the fields below, press Test connection and then Save.

Default port: 8765.

General

FieldDescription
Server requiredExample: localhost
PortExample: 8765
User
PasswordKept in the system keychain, never in DBine's files.
Read-onlyOn 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

FieldDescription
Encrypt the connection (TLS)On or off.
Trust the server certificateOn or off.

Advanced

FieldDescription
SerializationThe Query Server's (phoenix.queryserver.serialization).
Options: Protobuf (default), JSON
Default: Protobuf (default)
HBase MasterOptional, for the monitor: the HBase Master web UI (its /jmx). Empty = same host, port 16010.
Example: http://<host>:16010
HBase RegionServersOptional, 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:

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:

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.

Download DBineAll engines