Graph databases are not a new concept. Graph theory was actively developed in the 1960s and since then the first attempts for building storage for gra

What is Graph Database Anyway?

submited by
Style Pass
2021-06-10 09:00:06

Graph databases are not a new concept. Graph theory was actively developed in the 1960s and since then the first attempts for building storage for graph structures have already appeared. The general idea is to persist the graph as a data structure and operate with it through the queries. It is like a mixture of graphs and databases, taking the best parts of both of them.

The main driver for graph databases was the expansion of social networks and the improvements of recommendation engines. Social networks want to know the person’s connections better in order to suggest new friends, while recommendation engines mine the person’s interests to find the ideal next proposal.

From the graph theory, we know that every graph consists of two essential components: vertex and relation. A vertex defines the actual data, a relation describes how different vertices connect to each other. The simplest and most popular example would be a social graph:

We can see that every node in the graph represents a person. Each person has properties for name and age. Describing people with these properties looks similar to the entry in the SQL database — but this is the only similarity.

Leave a Comment