educative.io

What about graph databases

Graph DB are also popular and used in some places, why is it not mentioned? And would be cool if differences between graph and network db would be shown


Course: Deep Dive into the Internals of the Database - Learn Interactively
Lesson: Classification Based on Data Model

Hi @Dmitry_Polovinkin ,

There are a lot of DBMS types based on their data model, such as:

  • Relational Database Management System (RDBMS)
  • Hierarchical Database Management System
  • Network Database Management System
  • Object-Oriented Database Management System (OODBMS)
  • Document-Oriented Database Management System
  • Key-Value Store Database Management System
  • Columnar Database Management System
  • Time-Series Database Management System
  • Graph Database Management System

But in the lesson, only the most famous and most widely used databases are discussed. Also please find here the difference between graph and network db:

Graph databases and network databases are terms that are sometimes used interchangeably, but they can have slightly different connotations. Let’s clarify the distinctions:

Graph Database:

  • Definition: A graph database is a type of database that uses graph structures for semantic queries with nodes, edges, and properties to represent and store data. Graph databases are designed to efficiently handle data with complex relationships.
  • Model: The data model is based on a graph, where nodes represent entities, edges represent relationships between entities, and properties provide additional information about nodes and edges.
  • Use Cases: Graph databases are particularly effective for scenarios where relationships between entities are a key aspect of the data, such as social networks, recommendation engines, fraud detection, and network analysis.

Network Database:

  • Definition: The term “network database” can be more general and may refer to databases that model and store data with an emphasis on relationships. It doesn’t necessarily imply the use of graph structures.
  • Model: The data model can vary. While it might involve a graph-like structure, it could also involve other types of relationships. In some cases, “network database” might be used as a broad term encompassing databases that handle network-related data.
  • Use Cases: Use cases for network databases could include scenarios where relationships between data are essential, but the specific data model might not strictly adhere to a graph structure. This could include hierarchical data models or other forms of connected data.

In summary, while a graph database specifically refers to a database designed around graph structures, the term network database could have a broader meaning, encompassing databases that focus on representing and handling relationships in data but may not strictly adhere to a graph model. The specific usage of these terms can vary depending on the context and the characteristics of the databases in question.