OrientDB – Home

OrientDB is an Open Source NoSQL Database Management System, which contains the features of traditional DBMS along with the new features of both Document and Graph DBMS. It is written in Java and is amazingly fast. It can store 220,000 records per second on commodity hardware.

In the following chapters of this tutorial, we will look closely at OrientDB, one of the best open-source, multi-model, next generation NoSQL product.

Audience

This tutorial is designed for software professionals who are willing to learn NoSQL Database in simple and easy steps. This tutorial will give a great understanding on OrientDB concepts.

Prerequisites

OrientDB is NoSQL Database technologies which deals with the Documents, Graphs and traditional database components, like Schema and relation. Thus it is better to have knowledge of SQL. Familiarity with NoSQL is an added advantage.

Overview

OrientDB is an Open Source NoSQL Database Management System. NoSQL Database provides a mechanism for storing and retrieving NO-relation or NON-relational data that refers to data other than tabular data such as document data or graph data. NoSQL databases are increasingly used in Big Data and real-time web applications. NoSQL systems are also sometimes called “Not Only SQL” to emphasize that they may support SQL-like query languages.

OrientDB also belongs to the NoSQL family. OrientDB is a second generation Distributed Graph Database with the flexibility of Documents in one product with an open source of Apache 2 license. There were several NoSQL databases in the market before OrientDB, one of them being MongoDB.

MongoDB vs OrientDB

MongoDB and OrientDB contains many common features but the engines are fundamentally different. MongoDB is pure Document database and OrientDB is a hybrid Document with graph engine.

FeaturesMongoDBOrientDB
RelationshipsUses the RDBMS JOINS to create relationship between entities. It has high runtime cost and does not scale when database scale increases.Embeds and connects documents like relational database. It uses direct, super-fast links taken from graph database world.
Fetch PlanCostly JOIN operations.Easily returns complete graph with interconnected documents.
TransactionsDoesn’t support ACID transactions, but it supports atomic operations.Supports ACID transactions as well as atomic operations.
Query languageHas its own language based on JSON.Query language is built on SQL.
IndexesUses the B-Tree algorithm for all indexes.Supports three different indexing algorithms so that the user can achieve best performance.
Storage engineUses memory mapping technique.Uses the storage engine name LOCAL and PLOCAL.

OrientDB is the first Multi-Model open source NoSQL DBMS that brings together the power of graphs and flexibility of documents into a scalable high-performance operational database.

Leave a Reply