0% found this document useful (1 vote)
512 views14 pages

Orient DB

OrientDB is an open-source multi-model NoSQL database that supports document, graph, key-value, and object data models. It uses links instead of joins to connect data. Unlike MongoDB, OrientDB supports ACID transactions and master-master replication. The document, graph, key-value, and object models in OrientDB correspond to tables, rows, columns, and relationships in a relational database. OrientDB is useful for fraud prevention and social network applications due to its fast graph querying capabilities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
512 views14 pages

Orient DB

OrientDB is an open-source multi-model NoSQL database that supports document, graph, key-value, and object data models. It uses links instead of joins to connect data. Unlike MongoDB, OrientDB supports ACID transactions and master-master replication. The document, graph, key-value, and object models in OrientDB correspond to tables, rows, columns, and relationships in a relational database. OrientDB is useful for fraud prevention and social network applications due to its fast graph querying capabilities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Orient DB

S.Nithisha
M.Mounkia
Overview
• Introduction
• Orient DB vs Mongo DB
• Multi-model
• Document Model
• Graph Model
• Key/Value Model
• Object Model
• Class and Cluster
• Links
• Usecases
Introduction

• 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.
Orient DB vs Mongo DB
Features MongoDB OrientDB

Definition MongoDB is a cross-platform Multi-model DBMS (Document,


document-oriented database Graph, Key/Value,Object)
program.

Relationships Uses the RDBMS JOINS to create Embeds and connects documents
relationship between entities. It has like relational database. It uses
high runtime cost and does not direct, super-fast links taken from
scale when database scale graph database world.
increases.
Transactions Doesn’t support ACID transactions, Supports ACID transactions as well
but it supports atomic operations. as atomic operations.
Triggers yes hooks

Replication methods Master-slave replication Master-master replication


Multi-Model

• The main feature of OrientDB is to support multi-model


objects, i.e..
it supports different models like Document, Graph,
Key/Value and Real Object.
• It contains a separate API to support all these four
models.
Document Model

Relational Document OrientDB


Model Model Document
Model
Table Collection Class or
Cluster
Row Document Document

Column Key/value pair Document field

Relationship Not available Link


Graph Model

Relational Graph Model OrientDB


Model Graph Model
Table Vertex and Edge Class that
Class extends "V" (for
Vertex) and "E"
(for Edges)
Row Vertex Vertex

Column Vertex and Edge Vertex and


property Edge property
Relationship Edge Edge
The Key/Value Model

Relational Key/Value OrientDB


Model Model Key/Value
Model
Table Bucket Class or
Cluster
Row Key/Value pair Document

Column Not available Document field


or Vertex/Edge
property
Relationship Not available Link
The Object Model

Relational Model Object Model OrientDB Object Model

Table Class Class or Cluster

Row Object Document or Vertex

Column Object property Document field or Vertex/Edge


property
Relationship Pointer Link
Class and Cluster
OrientDB doesn't use JOINs. Instead it uses LINKs.

• LINK, to point to one record only


• LINKSET, to point to several records. Like Java Sets, the same
RID can only be included once. The pointers also have no order
• LINKLIST, to point to several records. Like Java Lists, they are
ordered and can contain duplicates
• LINKMAP, to point to several records with a key stored in the
source record.
Use cases

Fraud Prevention with OrientDB

By treating every edge and vertex as a JSON document, OrientDB allows properties to be
assigned within relationships (links) themselves and does away with document stores all together.
Its graph capabilities enable parts of or entire trees and graphs of records to be analyzed in just a
few milliseconds.
When it comes to quickly reading client data to find suspicious activity, multiple systems are
simply not an as effective.
Cntd....

Popcorn uses OrientDB to scale its


Social Movie NetworkTraffic
Management

Effective Traffic Management With


OrientDB
Thank you

You might also like