Introduction to Graph Databases.pdf

Neo4j
Neo4jOpen Source NOSQL Graph Database à Neo4j
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
Introduction to Graph Databases
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
Graph Components
© 2023 Neo4j, Inc. All rights reserved.
Graph components
Node (Vertex)
• The main data element from which graphs are constructed
Relationship (Edge)
• A link between two nodes. Has:
• Direction
• Type
• A node without relationships is permitted. A relationship without nodes is not
ACTED_IN
Keanu
Reeves
The
Matrix
© 2023 Neo4j, Inc. All rights reserved.
Property graph database
Node (Vertex)
Relationship (Edge)
Label
● Define node role (optional)
● Can have more than one
Properties
● Enrich a node or relationship
● No need for nulls!
name: Keanu Reeves
title: The Matrix
released: 1999
tagline: Welcome…
role: Neo
Person
Action
Movie
ACTED_IN
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
How do we query?
© 2023 Neo4j, Inc. All rights reserved. 6
Cypher
A pattern matching query language made for graphs
• Declarative
• Expressive
• Pattern-Matching
© 2023 Neo4j, Inc. All rights reserved.
Cypher: powerful and expressive query language
:LOVES
CREATE (:Person {name: 'Jane'})
NODE
Label Property
NODE
Label Property
RELATIONSHIP
-[:LOVES]-> (:Person { name: 'Arlo' })
name: 'Jane' name: 'Arlo'
Person Person
© 2023 Neo4j, Inc. All rights reserved.
Cypher: powerful and expressive query language
:MARRIED_TO
MATCH (p:Person {name: 'Jane'})
NODE
Label Property
NODE
Variable
RELATIONSHIP
-[:MARRIED_TO]-> (spouse:Person)
name: 'Jane'
Variable
RETURN p, spouse
Label
Person Person
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
Index Free Adjacency
Or Native vs Non-Native
© 2023 Neo4j, Inc. All rights reserved.
Visualization
Queries
Processing
Storage
Non-Native Graph DB
Native Graph DB RDBMS
Optimized for graph
workloads
Native vs Non-Native
© 2023 Neo4j, Inc. All rights reserved.
Index-Free Adjacency?
Person Person_Knows
Look up Person
A
B
C
A
B
C
A
… …
…
…
…
Look up Person
in Person_Knows
Look up People
who were known!
(* number of people)
4 Index Lookups
Look up Person
A
C
B
Chase pointers
(No index lookup!)
1 Index Lookup
(no matter HOW
many friends)
1 sur 11

Recommandé

Workshop - Build a Graph Solution par
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph SolutionNeo4j
94 vues61 diapositives
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf par
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j
55 vues57 diapositives
Demystifying Graph Neural Networks par
Demystifying Graph Neural NetworksDemystifying Graph Neural Networks
Demystifying Graph Neural NetworksNeo4j
341 vues32 diapositives
GraphSummit Toronto: Keynote - Innovating with Graphs par
GraphSummit Toronto: Keynote - Innovating with Graphs GraphSummit Toronto: Keynote - Innovating with Graphs
GraphSummit Toronto: Keynote - Innovating with Graphs Neo4j
50 vues51 diapositives
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En... par
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...Neo4j
233 vues57 diapositives
GPT and Graph Data Science to power your Knowledge Graph par
GPT and Graph Data Science to power your Knowledge GraphGPT and Graph Data Science to power your Knowledge Graph
GPT and Graph Data Science to power your Knowledge GraphNeo4j
268 vues49 diapositives

Contenu connexe

Similaire à Introduction to Graph Databases.pdf

Neo4j Graph Data Modeling par
Neo4j Graph Data ModelingNeo4j Graph Data Modeling
Neo4j Graph Data ModelingKenny Bastani
6K vues108 diapositives
Neo4j Training Series - Spring Data Neo4j par
Neo4j Training Series - Spring Data Neo4jNeo4j Training Series - Spring Data Neo4j
Neo4j Training Series - Spring Data Neo4jNeo4j
72 vues28 diapositives
Workshop - Neo4j Graph Data Science par
Workshop - Neo4j Graph Data ScienceWorkshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data ScienceNeo4j
393 vues86 diapositives
The Path To Success With Graph Database and Analytics par
The Path To Success With Graph Database and AnalyticsThe Path To Success With Graph Database and Analytics
The Path To Success With Graph Database and AnalyticsNeo4j
39 vues39 diapositives
The Art of the Possible with Graph Technology par
The Art of the Possible with Graph TechnologyThe Art of the Possible with Graph Technology
The Art of the Possible with Graph TechnologyNeo4j
29 vues28 diapositives
Training di Base Neo4j par
Training di Base Neo4jTraining di Base Neo4j
Training di Base Neo4jNeo4j
58 vues71 diapositives

Similaire à Introduction to Graph Databases.pdf(20)

Neo4j Training Series - Spring Data Neo4j par Neo4j
Neo4j Training Series - Spring Data Neo4jNeo4j Training Series - Spring Data Neo4j
Neo4j Training Series - Spring Data Neo4j
Neo4j72 vues
Workshop - Neo4j Graph Data Science par Neo4j
Workshop - Neo4j Graph Data ScienceWorkshop - Neo4j Graph Data Science
Workshop - Neo4j Graph Data Science
Neo4j393 vues
The Path To Success With Graph Database and Analytics par Neo4j
The Path To Success With Graph Database and AnalyticsThe Path To Success With Graph Database and Analytics
The Path To Success With Graph Database and Analytics
Neo4j39 vues
The Art of the Possible with Graph Technology par Neo4j
The Art of the Possible with Graph TechnologyThe Art of the Possible with Graph Technology
The Art of the Possible with Graph Technology
Neo4j29 vues
Training di Base Neo4j par Neo4j
Training di Base Neo4jTraining di Base Neo4j
Training di Base Neo4j
Neo4j58 vues
El camino hacia el éxito con las bases de datos de grafos, la ciencia de dato... par Neo4j
El camino hacia el éxito con las bases de datos de grafos, la ciencia de dato...El camino hacia el éxito con las bases de datos de grafos, la ciencia de dato...
El camino hacia el éxito con las bases de datos de grafos, la ciencia de dato...
Neo4j61 vues
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da... par Neo4j
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...
Neo4j39 vues
Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ... par Neo4j
Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ...Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ...
Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ...
Neo4j54 vues
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science par Neo4j
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Neo4j167 vues
Graph Data Modeling in DataStax Enterprise par Artem Chebotko
Graph Data Modeling in DataStax EnterpriseGraph Data Modeling in DataStax Enterprise
Graph Data Modeling in DataStax Enterprise
Artem Chebotko534 vues
DataStax | Graph Data Modeling in DataStax Enterprise (Artem Chebotko) | Cass... par DataStax
DataStax | Graph Data Modeling in DataStax Enterprise (Artem Chebotko) | Cass...DataStax | Graph Data Modeling in DataStax Enterprise (Artem Chebotko) | Cass...
DataStax | Graph Data Modeling in DataStax Enterprise (Artem Chebotko) | Cass...
DataStax1K vues
La strada verso il successo con i database a grafo, la Graph Data Science e l... par Neo4j
La strada verso il successo con i database a grafo, la Graph Data Science e l...La strada verso il successo con i database a grafo, la Graph Data Science e l...
La strada verso il successo con i database a grafo, la Graph Data Science e l...
Neo4j9 vues
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data Science par Neo4j
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data ScienceScaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Scaling into Billions of Nodes and Relationships with Neo4j Graph Data Science
Neo4j355 vues
Graph Data Modeling Best Practices(Eric_Monk).pptx par Neo4j
Graph Data Modeling Best Practices(Eric_Monk).pptxGraph Data Modeling Best Practices(Eric_Monk).pptx
Graph Data Modeling Best Practices(Eric_Monk).pptx
Neo4j59 vues
Graphs for Data Science and Machine Learning par Neo4j
Graphs for Data Science and Machine LearningGraphs for Data Science and Machine Learning
Graphs for Data Science and Machine Learning
Neo4j790 vues
Illustrate the Value in Your Connected Data - Jeff Gagnon par Neo4j
Illustrate the Value in Your Connected Data - Jeff GagnonIllustrate the Value in Your Connected Data - Jeff Gagnon
Illustrate the Value in Your Connected Data - Jeff Gagnon
Neo4j28 vues
Neo4j: The path to success with Graph Database and Graph Data Science par Neo4j
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data Science
Neo4j82 vues
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p... par Jean Ihm
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
Jean Ihm622 vues
GraphTour Boston - Graphs for AI and ML par Neo4j
GraphTour Boston - Graphs for AI and MLGraphTour Boston - Graphs for AI and ML
GraphTour Boston - Graphs for AI and ML
Neo4j230 vues

Plus de Neo4j

FIMA 2023 Neo4j & FS - Entity Resolution.pptx par
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
6 vues26 diapositives
Operations & Data Graph par
Operations & Data GraphOperations & Data Graph
Operations & Data GraphNeo4j
36 vues25 diapositives
TAGTTOO: La nova xarxa social par
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa socialNeo4j
24 vues19 diapositives
El Arte de lo Possible par
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo PossibleNeo4j
39 vues35 diapositives
Neo4j y GenAI par
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI Neo4j
45 vues41 diapositives
Roadmap y Novedades de producto par
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de productoNeo4j
50 vues33 diapositives

Plus de Neo4j(20)

FIMA 2023 Neo4j & FS - Entity Resolution.pptx par Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j6 vues
Operations & Data Graph par Neo4j
Operations & Data GraphOperations & Data Graph
Operations & Data Graph
Neo4j36 vues
TAGTTOO: La nova xarxa social par Neo4j
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa social
Neo4j24 vues
El Arte de lo Possible par Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j39 vues
Neo4j y GenAI par Neo4j
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
Neo4j45 vues
Roadmap y Novedades de producto par Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j50 vues
Neo4j : Graphes de Connaissance, IA et LLMs par Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j47 vues
Les nouveautés produit Neo4j par Neo4j
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j27 vues
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu... par Neo4j
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Neo4j25 vues
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com... par Neo4j
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Neo4j53 vues
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx par Neo4j
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptxNeo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j49 vues
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf par Neo4j
Neo4j workshop at GraphSummit London 14 Nov 2023.pdfNeo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j50 vues
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx par Neo4j
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptxAstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
Neo4j41 vues
Google Cloud at GraphSummit London 14 Nov 2023.pptx par Neo4j
Google Cloud at GraphSummit London 14 Nov 2023.pptxGoogle Cloud at GraphSummit London 14 Nov 2023.pptx
Google Cloud at GraphSummit London 14 Nov 2023.pptx
Neo4j27 vues
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov... par Neo4j
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
Neo4j77 vues
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx par Neo4j
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptxNorthern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Neo4j46 vues
Peek into Neo4j Product Strategy and Roadmap par Neo4j
Peek into Neo4j Product Strategy and RoadmapPeek into Neo4j Product Strategy and Roadmap
Peek into Neo4j Product Strategy and Roadmap
Neo4j87 vues
Transforming Intelligence Analysis with Knowledge Graphs par Neo4j
Transforming Intelligence Analysis with Knowledge GraphsTransforming Intelligence Analysis with Knowledge Graphs
Transforming Intelligence Analysis with Knowledge Graphs
Neo4j60 vues
Knowledge Graphs and Generative AI par Neo4j
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
Neo4j138 vues
Optimizing Your Supply Chain with Neo4j par Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
Neo4j44 vues

Dernier

MOSORE_BRESCIA par
MOSORE_BRESCIAMOSORE_BRESCIA
MOSORE_BRESCIAFederico Karagulian
5 vues8 diapositives
TGP 2.docx par
TGP 2.docxTGP 2.docx
TGP 2.docxsandi636490
10 vues8 diapositives
UNEP FI CRS Climate Risk Results.pptx par
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptxpekka28
11 vues51 diapositives
SAP-TCodes.pdf par
SAP-TCodes.pdfSAP-TCodes.pdf
SAP-TCodes.pdfmustafaghulam8181
9 vues285 diapositives
SUPER STORE SQL PROJECT.pptx par
SUPER STORE SQL PROJECT.pptxSUPER STORE SQL PROJECT.pptx
SUPER STORE SQL PROJECT.pptxkhan888620
12 vues16 diapositives
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... par
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...DataScienceConferenc1
5 vues11 diapositives

Dernier(20)

UNEP FI CRS Climate Risk Results.pptx par pekka28
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptx
pekka2811 vues
SUPER STORE SQL PROJECT.pptx par khan888620
SUPER STORE SQL PROJECT.pptxSUPER STORE SQL PROJECT.pptx
SUPER STORE SQL PROJECT.pptx
khan88862012 vues
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... par DataScienceConferenc1
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
Chapter 3b- Process Communication (1) (1)(1) (1).pptx par ayeshabaig2004
Chapter 3b- Process Communication (1) (1)(1) (1).pptxChapter 3b- Process Communication (1) (1)(1) (1).pptx
Chapter 3b- Process Communication (1) (1)(1) (1).pptx
Short Story Assignment by Kelly Nguyen par kellynguyen01
Short Story Assignment by Kelly NguyenShort Story Assignment by Kelly Nguyen
Short Story Assignment by Kelly Nguyen
kellynguyen0119 vues
CRIJ4385_Death Penalty_F23.pptx par yvettemm100
CRIJ4385_Death Penalty_F23.pptxCRIJ4385_Death Penalty_F23.pptx
CRIJ4385_Death Penalty_F23.pptx
yvettemm1006 vues
Cross-network in Google Analytics 4.pdf par GA4 Tutorials
Cross-network in Google Analytics 4.pdfCross-network in Google Analytics 4.pdf
Cross-network in Google Analytics 4.pdf
GA4 Tutorials6 vues
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation par DataScienceConferenc1
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation
Organic Shopping in Google Analytics 4.pdf par GA4 Tutorials
Organic Shopping in Google Analytics 4.pdfOrganic Shopping in Google Analytics 4.pdf
Organic Shopping in Google Analytics 4.pdf
GA4 Tutorials12 vues
Advanced_Recommendation_Systems_Presentation.pptx par neeharikasingh29
Advanced_Recommendation_Systems_Presentation.pptxAdvanced_Recommendation_Systems_Presentation.pptx
Advanced_Recommendation_Systems_Presentation.pptx
Ukraine Infographic_22NOV2023_v2.pdf par AnastosiyaGurin
Ukraine Infographic_22NOV2023_v2.pdfUkraine Infographic_22NOV2023_v2.pdf
Ukraine Infographic_22NOV2023_v2.pdf
AnastosiyaGurin1.4K vues
[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx par DataScienceConferenc1
[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx
[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx

Introduction to Graph Databases.pdf

  • 1. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. Introduction to Graph Databases
  • 2. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. Graph Components
  • 3. © 2023 Neo4j, Inc. All rights reserved. Graph components Node (Vertex) • The main data element from which graphs are constructed Relationship (Edge) • A link between two nodes. Has: • Direction • Type • A node without relationships is permitted. A relationship without nodes is not ACTED_IN Keanu Reeves The Matrix
  • 4. © 2023 Neo4j, Inc. All rights reserved. Property graph database Node (Vertex) Relationship (Edge) Label ● Define node role (optional) ● Can have more than one Properties ● Enrich a node or relationship ● No need for nulls! name: Keanu Reeves title: The Matrix released: 1999 tagline: Welcome… role: Neo Person Action Movie ACTED_IN
  • 5. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. How do we query?
  • 6. © 2023 Neo4j, Inc. All rights reserved. 6 Cypher A pattern matching query language made for graphs • Declarative • Expressive • Pattern-Matching
  • 7. © 2023 Neo4j, Inc. All rights reserved. Cypher: powerful and expressive query language :LOVES CREATE (:Person {name: 'Jane'}) NODE Label Property NODE Label Property RELATIONSHIP -[:LOVES]-> (:Person { name: 'Arlo' }) name: 'Jane' name: 'Arlo' Person Person
  • 8. © 2023 Neo4j, Inc. All rights reserved. Cypher: powerful and expressive query language :MARRIED_TO MATCH (p:Person {name: 'Jane'}) NODE Label Property NODE Variable RELATIONSHIP -[:MARRIED_TO]-> (spouse:Person) name: 'Jane' Variable RETURN p, spouse Label Person Person
  • 9. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. Index Free Adjacency Or Native vs Non-Native
  • 10. © 2023 Neo4j, Inc. All rights reserved. Visualization Queries Processing Storage Non-Native Graph DB Native Graph DB RDBMS Optimized for graph workloads Native vs Non-Native
  • 11. © 2023 Neo4j, Inc. All rights reserved. Index-Free Adjacency? Person Person_Knows Look up Person A B C A B C A … … … … … Look up Person in Person_Knows Look up People who were known! (* number of people) 4 Index Lookups Look up Person A C B Chase pointers (No index lookup!) 1 Index Lookup (no matter HOW many friends)