+ All Categories
Home > Data & Analytics > Graph database in sv meetup

Graph database in sv meetup

Date post: 22-Jan-2017
Category:
Upload: joshua-bae
View: 266 times
Download: 0 times
Share this document with a friend
17
Graph Databases September 8, 2016 Graph Databases in Silicon Valley Meetup
Transcript
Page 1: Graph database in sv meetup

Graph DatabasesSeptember 8, 2016

Graph Databases in Silicon Valley Meetup

Page 2: Graph database in sv meetup

OverviewGoal

Better understanding of Graph database

What is Graph Database?

History and status of GDB

Comparison to other NoSQL DB

Page 3: Graph database in sv meetup

Who am IPh.D Kisung Kim - Chief Technology Officer of Bitnine Global Inc.

Researched query optimization for graph-structured data during doctorate degree

Developed a distributed relational database engine in TmaxSoft

Lead the development of a new graph database, Agens Graph in Bitnine Global

Page 4: Graph database in sv meetup

Graph data model

Modeling data as entities and their relationships

Relational data model

Handle data as tables

What is Graph Database?

Real-world

Phenomena

Relational

Data Model

Graph

Data Model

Entity-Relation

Modeling

Database

Table schema

Normalization/Denormalization

Referential constraints

Join keys

Graphs

Page 5: Graph database in sv meetup

Property Graph ModelTerminology:

Entity - Node - Vertex

Relationships - Edge

Property - Attribute

person companyworks_for

Name: Kisung KimEmail: [email protected]

Name: Bitnine GlobalHomepage: http://bitnine.net

title: CTOTeam: agens graph

Property

Node

Relationship

Very intuitive and easy

to model E-R diagram to property graphs

Page 6: Graph database in sv meetup

Example: Relational Data Model

Relational Model

Page 7: Graph database in sv meetup

Real-World Complex Schema

Page 8: Graph database in sv meetup

Example: Graph Data Model

Page 9: Graph database in sv meetup

Concise Querying: Cypher ExampleFrom Zhu, Y., Yan, E., & Song, I.-Y. (2016). The use of a graph-based system to improve bibliographic information retrieval: System design, implementation,

and evaluation. Journal of the Association for Information Science & Technology

Affiliation

Author

Paper

Paper

Term: ‘Database’

cite

write

work for

topic

Query: Which institute does cite papers about ‘Database’?

Page 10: Graph database in sv meetup

Brief History of Graph Database1970s: Network data model before relational model

1980: Big bang

The birth of the relational model and the declarative query language SQL

1990s: XML, Semantic Web standard (RDF, SPARQL) using graph model

1998~: NoSQL boom including Graph Database

2000s: Neo4j started and Cypher was borned

Cypher borrows some concepts(i.e, graph pattern matching) from SPARQL

Page 11: Graph database in sv meetup

Cypher

Most famous graph database, Cypher

O(1) access using fixed-size array

Gremlin Distributed graph system based on Cassandra

AQL Multi-model database (Document + Graph)

OQL Multi-model database (Document + Graph)

Graph Databases

DSE Graph

There are many other graph systems;

RDF stores (Allegrograph, Oracle, Virtuoso, … )

Graph analytics (Giraph, GraphX, PowerGraph, PGX, ThingSpan(InfiniteGraph), … )

Page 12: Graph database in sv meetup

Graph Database’s PopularityFrom db-engines.com

Page 13: Graph database in sv meetup

NoSQL DatabasesCategorization

● Document store● Key/value store● Column-family store● Graph store

Page 14: Graph database in sv meetup

NoSQL DatabasesDocument store, Key/value store, Column-family store

Ignores relationships of data

(Does not handle them in database engine)

Focus on maximization of scalability and availability

Sacrifice declarative querying and transactional consistency, …

Graph store

Different motivation: graph data model

But NoSQL databases are evolving; e.g. Couchbase’s N1QL and Cassandra’s CQL

Page 15: Graph database in sv meetup

NoSQL Databases

Page 16: Graph database in sv meetup

SummaryGraph database motivation

Simple and intuitive data modeling for complex relationship data

Graph database strengths

Enhanced productivity from concise queries

Fast traversal performance for complex graphs

Graph visualization and graph analytics

Page 17: Graph database in sv meetup

Thank you How do you feel about Graph Database?


Recommended