SlideShare a Scribd company logo
Graph Database
N(ot) O(nly) SQL
● In computing, NOSQL (commonly interpreted as "Not Only SQL") is a broad
class of database management systems identified by non-adherence to the widely
used relational database management system model.
● Next Generation Databases mostly addressing some of the points :
– being "non-relational", "distributed", "open-source" and "horizontally scalable.
● The original intention has been modern web-scale databases.
● The movement began early 2009 and is growing rapidly.
● Often more characteristics apply such as:
● Schema-free
● Easy replication support
● Simple API
● A huge amount of data
● ...
Why NOSQL ?
● The exponential growth of the volume of data generated by
users, systems and sensors. Further accelerated by the
concentration of large part of this volume on big distributed
systems like Amazon, Google and other cloud services.
● The increasing interdependency and complexity of data,
accelerated by the Internet, Web2.0, social networks and
open and standardized access to data sources from a large
number of different systems.
NOSQL DBs Categories
● NOSQL Databases categories according to the way
they store the data
– Key/Value stores
– BigTable implementations
– Document store databases
– Graph databases
Problem ?
● A person can have many friends; and you might
want to track the date the friendship link was
created, or whether the two people are married.
RDBMS Solution
● The solution in a SQL database is a join table. In the people/friends
example, your join table might be called “friendships”.
● Disadvantages :
– Greatly increase the number of tables in your database, and may make it hard to
tell apart standard tables (nodes) from join tables (edges). which makes it more
difficult for new developers to comprehend the database architecture.
– The biggest weakness is that queries against relationship data - be it in join
table or a reference link - are extremely unwieldy.
Why Graph Databases ?!
● Among other things, relationship queries in RDBSes
can be complex, slow and unpredictable
● Graph databases are designed for this sort of thing,
the queries are more reliable.
● The weakness with reference fields becomes apparent
as soon as you want to do many-to-many
relationships, or store data about the relationship.
Graph Databases
● A graph database uses graph structures with
– Nodes
– Edges
– properties to represent and store data.
● A graph database is any storage system that provides index-free
adjacency.
● The relationships between people in social networks is the most
obvious example.
Graph Databases Structure
● A thing (a person, a book, a website) is referred to
as a “node”.
● A relationship between two things (a friendship, a
related book, an href) is referred to as an “edge.”
Graph Databases Structure
Graph Database Projects
OrientDB
● OrientDB is an open source NOSQL database
management system written in Java. Even if it is a
document-based database, the relationships are managed
as in graph databases with direct connections between
records.
● OrientDB uses a new indexing algorithm called MVRB-
Tree, derived from the Red-Black Tree and from the
B+Tree;
● This reportedly has benefits of having both fast insertions
and ultra fast lookups.
OrientDB
● Features :
– Transactional: supports ACID Transactions. On crash it recovers pending documents.
– GraphDB: native management of graphs.
– SQL: supports SQL language with extensions to handle relationships without SQL join,
manage trees and graphs of connected documents
– Web ready: supports natively HTTP, RESTful protocol and JSON without use 3rd party
libraries and components.
– Run everywhere: the engine is 100% pure Java: runs on Linux, Windows and any system
that supports Java technology.
– Apache 2 License: always free for any usage. No fees or royalties required to use it.
– Light: has a footprint of about 1Mb for the full server. No dependencies from other
software. No other libraries needed.
– Commercial support available.

More Related Content

PPTX
Which no sql database
PPTX
Database and types of databases
PPTX
Cassandra Learning
PPTX
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
ODP
Open source data_warehousing_overview
PDF
the rising no sql technology
PPTX
NoSQL Basics and MongDB
Which no sql database
Database and types of databases
Cassandra Learning
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
Open source data_warehousing_overview
the rising no sql technology
NoSQL Basics and MongDB

What's hot (20)

PPTX
PPT
NoSQL Basics - a quick tour
PDF
Oslo baksia2014
DOCX
NoSQL_Databases
PPTX
Neo4j_allHands_04112013
PPTX
Improvement of no sql technology for relational databases v2
PDF
Hdfs Dhruba
PPTX
Selecting the right database type for your knowledge management needs.
PPT
Introduction to persistency and Berkeley DB
PPTX
Databases and types of databases
PPTX
Big data analytics: Technology's bleeding edge
PPTX
Slide 2 data models
PPTX
Advanced Databases: Introduction to NoSQL, Big Data and Google's Big Table
PDF
DBPedia-past-present-future
PPTX
d:swarm - A Library Data Management Platform Based on a Linked Open Data Appr...
DOCX
CS828 P5 Individual Project v101
PPTX
Nosql
PPTX
PPTX
No sqlpresentation
NoSQL Basics - a quick tour
Oslo baksia2014
NoSQL_Databases
Neo4j_allHands_04112013
Improvement of no sql technology for relational databases v2
Hdfs Dhruba
Selecting the right database type for your knowledge management needs.
Introduction to persistency and Berkeley DB
Databases and types of databases
Big data analytics: Technology's bleeding edge
Slide 2 data models
Advanced Databases: Introduction to NoSQL, Big Data and Google's Big Table
DBPedia-past-present-future
d:swarm - A Library Data Management Platform Based on a Linked Open Data Appr...
CS828 P5 Individual Project v101
Nosql
No sqlpresentation
Ad

Viewers also liked (13)

PDF
CodeIgniter
PPTX
Intimacy
PDF
Live API Documentation
PDF
UCloud
PPTX
Desarrollo de la unidad didáctica
PDF
WMA Risk Survey 2016
DOCX
Makalah psikologi
PPTX
Presentation
PDF
Association Rule Mining in Social Network Data
PDF
Advanced Java
PDF
Illustration and Graphic Design Portfolio
CodeIgniter
Intimacy
Live API Documentation
UCloud
Desarrollo de la unidad didáctica
WMA Risk Survey 2016
Makalah psikologi
Presentation
Association Rule Mining in Social Network Data
Advanced Java
Illustration and Graphic Design Portfolio
Ad

Similar to Database (20)

PPTX
NoSQL Graph Databases - Why, When and Where
PPTX
Graph Database and Why it is gaining traction
PPTX
Module 2.3 Document Databases in NoSQL Systems
PPTX
UNIT-2.pptx
PDF
OUTCOME ANALYSIS IN ACADEMIC INSTITUTIONS USING NEO4J
PDF
Big Data technology Landscape
PPTX
NoSQL databases
PDF
Evaluation of graph databases
PPTX
No sq lv2
PPTX
unit2-ppt1.pptx
PPTX
Choosing your NoSQL storage
PPTX
PDF
Graph databases and OrientDB
PPTX
Graph Databases & OrientDB
PPTX
Introduction to Data Science NoSQL.pptx
PPTX
Ramya ppt.pptx
PPTX
Unit-10.pptx
PDF
Graph Database
PDF
NOsql Presentation.pdf
PPT
NoSql Databases
NoSQL Graph Databases - Why, When and Where
Graph Database and Why it is gaining traction
Module 2.3 Document Databases in NoSQL Systems
UNIT-2.pptx
OUTCOME ANALYSIS IN ACADEMIC INSTITUTIONS USING NEO4J
Big Data technology Landscape
NoSQL databases
Evaluation of graph databases
No sq lv2
unit2-ppt1.pptx
Choosing your NoSQL storage
Graph databases and OrientDB
Graph Databases & OrientDB
Introduction to Data Science NoSQL.pptx
Ramya ppt.pptx
Unit-10.pptx
Graph Database
NOsql Presentation.pdf
NoSql Databases

Database

  • 2. N(ot) O(nly) SQL ● In computing, NOSQL (commonly interpreted as "Not Only SQL") is a broad class of database management systems identified by non-adherence to the widely used relational database management system model. ● Next Generation Databases mostly addressing some of the points : – being "non-relational", "distributed", "open-source" and "horizontally scalable. ● The original intention has been modern web-scale databases. ● The movement began early 2009 and is growing rapidly. ● Often more characteristics apply such as: ● Schema-free ● Easy replication support ● Simple API ● A huge amount of data ● ...
  • 3. Why NOSQL ? ● The exponential growth of the volume of data generated by users, systems and sensors. Further accelerated by the concentration of large part of this volume on big distributed systems like Amazon, Google and other cloud services. ● The increasing interdependency and complexity of data, accelerated by the Internet, Web2.0, social networks and open and standardized access to data sources from a large number of different systems.
  • 4. NOSQL DBs Categories ● NOSQL Databases categories according to the way they store the data – Key/Value stores – BigTable implementations – Document store databases – Graph databases
  • 5. Problem ? ● A person can have many friends; and you might want to track the date the friendship link was created, or whether the two people are married.
  • 6. RDBMS Solution ● The solution in a SQL database is a join table. In the people/friends example, your join table might be called “friendships”. ● Disadvantages : – Greatly increase the number of tables in your database, and may make it hard to tell apart standard tables (nodes) from join tables (edges). which makes it more difficult for new developers to comprehend the database architecture. – The biggest weakness is that queries against relationship data - be it in join table or a reference link - are extremely unwieldy.
  • 7. Why Graph Databases ?! ● Among other things, relationship queries in RDBSes can be complex, slow and unpredictable ● Graph databases are designed for this sort of thing, the queries are more reliable. ● The weakness with reference fields becomes apparent as soon as you want to do many-to-many relationships, or store data about the relationship.
  • 8. Graph Databases ● A graph database uses graph structures with – Nodes – Edges – properties to represent and store data. ● A graph database is any storage system that provides index-free adjacency. ● The relationships between people in social networks is the most obvious example.
  • 9. Graph Databases Structure ● A thing (a person, a book, a website) is referred to as a “node”. ● A relationship between two things (a friendship, a related book, an href) is referred to as an “edge.”
  • 12. OrientDB ● OrientDB is an open source NOSQL database management system written in Java. Even if it is a document-based database, the relationships are managed as in graph databases with direct connections between records. ● OrientDB uses a new indexing algorithm called MVRB- Tree, derived from the Red-Black Tree and from the B+Tree; ● This reportedly has benefits of having both fast insertions and ultra fast lookups.
  • 13. OrientDB ● Features : – Transactional: supports ACID Transactions. On crash it recovers pending documents. – GraphDB: native management of graphs. – SQL: supports SQL language with extensions to handle relationships without SQL join, manage trees and graphs of connected documents – Web ready: supports natively HTTP, RESTful protocol and JSON without use 3rd party libraries and components. – Run everywhere: the engine is 100% pure Java: runs on Linux, Windows and any system that supports Java technology. – Apache 2 License: always free for any usage. No fees or royalties required to use it. – Light: has a footprint of about 1Mb for the full server. No dependencies from other software. No other libraries needed. – Commercial support available.