Web Design Principles - Find Meetup groups near you - Meetup
Graph database in sv meetup
-
Upload
joshua-bae -
Category
Data & Analytics
-
view
268 -
download
0
Transcript of Graph database in sv meetup
![Page 1: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/1.jpg)
Graph DatabasesSeptember 8, 2016
Graph Databases in Silicon Valley Meetup
![Page 2: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/2.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/3.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/4.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/5.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/6.jpg)
Example: Relational Data Model
Relational Model
![Page 7: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/7.jpg)
Real-World Complex Schema
![Page 8: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/8.jpg)
Example: Graph Data Model
![Page 9: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/9.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/10.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/11.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/12.jpg)
Graph Database’s PopularityFrom db-engines.com
![Page 13: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/13.jpg)
NoSQL DatabasesCategorization
● Document store● Key/value store● Column-family store● Graph store
![Page 14: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/14.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/15.jpg)
NoSQL Databases
![Page 16: Graph database in sv meetup](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/16.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022030222/5884610b1a28abbd308b4c11/html5/thumbnails/17.jpg)
Thank you How do you feel about Graph Database?