Couchbase with DBine

How to connect DBine to Couchbase and what you can do once it's connected. This page is written from what the Couchbase driver says about itself, so it matches the version of DBine you download.

Connect

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

Default port: 8093.

General

FieldDescription
Server requiredExample: localhost
PortQuery service: 8093; with TLS, 18093.
Example: 8093
Bucket
User required
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
Administration portCluster manager (buckets, scopes, metrics): 8091; with TLS, 18091.
Example: 8091

What the explorer shows

Under the connection: Buckets, each with its schemas. Inside each one:

Query editor

The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.

What the editor accepts:

SQL++ (N1QL). Collections are named `bucket`.`scope`.`coleccion`; without a prefix they're looked up in the _default scope of the session's bucket. META(d).id is the document key.

Ready-made templates for new objects:

Tools for Couchbase

Available

  • Graphical execution plans
  • Live query profiler
  • Server monitor
  • Sessions and running queries
  • Cancel another session's query from the sessions list
  • Manual transactions (commit and rollback)
  • 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

Not available for Couchbase

  • End a session
  • Locks: who blocks whom
  • Relations in the ER diagram
  • Clone tables
  • 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 Couchbase driver 0.1.9, which DBine downloads the first time you connect to Couchbase.

Download DBineAll engines