Neo4j Fundamentals Summary
Neo4j Fundamentals Summary
Neo4j Fundamentals Summary
Neo4j Fundamentals
Graphs are mathematical structures consisting of Edges and Vertices In a Property Graph, we refer to these as Nodes and Relationships
Overview Graphs are useful when: Common Use Cases What gives Neo4j its advantage?
When the problem requires understanding the relationship between entities. E-commerce platforms combine ratings, purchase history and browsing history Neo4j is a native graph database designed specifically for graph traversal.
When the problem involves a hierarchy. to provide real-time recommendations. Where Joins between tables are computed at read-time, this information is
When the problem requires exploring relationships of varying or unknown The ICIJ used Neo4j to explore and understand the network of global saved in a way that allows for quick pointer-chasing in memory
depth. companies and identify persons with significant control. Queries in Graph Databases are proportional to the amount of data touched
When the problem requires evaluating routes or paths through a network. Many enterprises use Neo4j for planning, cost analysis, impact analysis and during a query, not the size of data overall.
also to troubleshoot problems when a problem arises.
Non-graph to Graph
Relational databases store data in tables, rows and columns Data is organized into collections containing documents Key-value stores are great for highly performant lookups on huge amounts of data
Each row in each table becomes a node, and columns become properties Collection group data, so their names can be used as labels When the values are interconnected, you have a graph
Most table names can become labels Graphs do not support nested documents, but nested documents can become the structure in the graph Traversing a graph in a key-value store may involve writing complex code
Forget many-to-many relationships. These are modeled as relationships between two nodes.
Copyright © 2023 Neo4j GraphAcademy Learn Neo4j for in your own time, free of charge at https://graphacademy.neo4j.com