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
- In DBine, open New connection.
- Pick OrientDB in the list of engines.
- Fill in the fields below, press Test connection and then Save.
Default port: 2480.
General
| Field | Description |
|---|---|
| Server required | A host name or a full URL (https://server:2480). Example: localhost |
| Port | |
| Database | |
| User | Default: root |
| 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) | Use https. On or off. |
| Trust the server certificate | On or off. |
What the explorer shows
Under the connection: Databases. Inside each one:
- Vertices
- Edges
- Document classes
- Indexes
- Functions
- 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.
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:
- New vertex class
- New edge class
- New index
- New function
- New sequence
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.