๐ง Neo4j Flashcards
๐ What is Neo4j?
Neo4j is a high-performance, native graph database built to store and query highly connected data.
๐ What data model does Neo4j use?
Neo4j uses a property graph model where nodes, relationships, and properties form the structure.
๐ ๏ธ What query language is used in Neo4j?
Cypher is the declarative query language used to perform graph operations in Neo4j.
๐ What are common use cases for Neo4j?
Neo4j is used for fraud detection, recommendation engines, knowledge graphs, and social networks.
๐งช Can Neo4j perform complex joins?
Yes, Neo4j excels at joins and deep relationship queries that are expensive in relational databases.
๐ Is Neo4j cloud-native?
Neo4j offers Aura โ a fully managed cloud DBaaS โ and can also be deployed on AWS, GCP, Azure.
๐ What is a node in Neo4j?
A node is an entity or object in a graph, like a person, place, or event, with properties.
๐ What is a relationship in Neo4j?
A relationship connects two nodes and can have properties, directions, and labels.
๐ What is pattern matching in Cypher?
Pattern matching lets you find specific node and relationship configurations using Cypher syntax.
๐ฏ How is indexing handled in Neo4j?
Neo4j supports automatic indexing of nodes/relationships for performance, using b-trees or full-text.