Why use graph database?

Graph database uses nodes/vertices to store entities and edges to store relationships between these entities. Most of the value of graph databases are derived from these relationships. These relationships represent complex interconnected relations betw…


This content originally appeared on DEV Community and was authored by Zainab-Saad

Graph database uses nodes/vertices to store entities and edges to store relationships between these entities. Most of the value of graph databases are derived from these relationships. These relationships represent complex interconnected relations between the nodes.

Examples of graph databases include Neo4j. Examples of relational databases are postgreSQL, MySQL, Oracle etc.

We use graph databases because it provides:

  • Flexibility
    Graph databases are schema-free and thus any change in the properties (attributes) of a node or edge does not require the entire schema to be altered. This is quite unlike relational databases such as postgreSQL where if one record has a different set of attributes, you need to change the entire schema of the relation/table.

  • Agility
    Graph databases being time-efficient are a great choice in agile development where there is a need for efficient data storage and management under a time constraint.

Size vs Complexity Relation
There is a size vs complexity relation between the graph and relational database. It is a fact that the graph databases perform the best when the complexity of relationships between the entities is to be scaled whereas relational databases perform best when size of the database needs to be scaled.

References


This content originally appeared on DEV Community and was authored by Zainab-Saad


Print Share Comment Cite Upload Translate Updates
APA

Zainab-Saad | Sciencx (2023-03-19T17:53:32+00:00) Why use graph database?. Retrieved from https://www.scien.cx/2023/03/19/why-use-graph-database/

MLA
" » Why use graph database?." Zainab-Saad | Sciencx - Sunday March 19, 2023, https://www.scien.cx/2023/03/19/why-use-graph-database/
HARVARD
Zainab-Saad | Sciencx Sunday March 19, 2023 » Why use graph database?., viewed ,<https://www.scien.cx/2023/03/19/why-use-graph-database/>
VANCOUVER
Zainab-Saad | Sciencx - » Why use graph database?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/19/why-use-graph-database/
CHICAGO
" » Why use graph database?." Zainab-Saad | Sciencx - Accessed . https://www.scien.cx/2023/03/19/why-use-graph-database/
IEEE
" » Why use graph database?." Zainab-Saad | Sciencx [Online]. Available: https://www.scien.cx/2023/03/19/why-use-graph-database/. [Accessed: ]
rf:citation
» Why use graph database? | Zainab-Saad | Sciencx | https://www.scien.cx/2023/03/19/why-use-graph-database/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.