OrientDB with DBine

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

Connect

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

Default port: 2480.

General

FieldDescription
Server requiredA host name or a full URL (https://server:2480).
Example: localhost
Port
Database
UserDefault: root
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)Use https.
On or off.
Trust the server certificateOn or off.

What the explorer shows

Under the connection: Databases. 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:

OrientDB SQL, with statements separated by «;»:
SELECT FROM Person WHERE age > 30 LIMIT 20
MATCH {class: Person, as: p}-Knows->{as: q} RETURN p.name, q.name
TRAVERSE out() FROM #12:0 MAXDEPTH 3
CREATE VERTEX Person SET name = 'Ana' · CREATE EDGE Knows FROM #12:0 TO #12:1
INSERT INTO Class CONTENT {"a": 1} · UPDATE … · DELETE VERTEX …
EXPLAIN / PROFILE in front of a query show its plan.
A statement that starts with g. is Gremlin (only on servers with TinkerPop).

Ready-made templates for new objects:

Tools for OrientDB

Available

  • Graphical execution plans
  • Server monitor
  • Sessions and running queries
  • End a session
  • Cancel another session's query from the sessions list
  • Index usage
  • Create databases
  • Drop databases
  • Database properties
  • Relations in the ER diagram
  • Visual designer for new objects
  • Rename objects
  • Compare and sync schemas
  • Native bulk load when migrating data
  • Users and permissions

Not available for OrientDB

  • Live query profiler
  • Locks: who blocks whom
  • Manual transactions (commit and rollback)
  • 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 OrientDB driver 0.1.11, which DBine downloads the first time you connect to OrientDB.

Download DBineAll engines