What is a graph-based database?

I did not find on this site the answer to this question. So my question is basically this:

What is a graph-based database?

Author: Bruno Peres, 2017-09-25

1 answers

Different from relational databases the graph-oriented database has other forms of data persistence the NoSQL .

The idea is to create a model menos genérico that the relational model, providing a simpler modeling, seeking to obtain greater performance, both for its implementation free of costly operations as JOINs, and for the use of graph algorithms.

Being much simpler to draw it does not need a complex design of tables to start including the data.

Imagine yourself creating a student entity, just create a and its propriedades without initially worrying about what relationships you will have.

The big difference is in the representation of the relationship between the data.

We have the entities called vértices or nós that are connected by arestas or relacionamentos each being able to save data between the relationships and each relationship can have a direção.

In the image below vértices are represented by red circles and arestas by Arrows:

Example

Examples of graph-oriented databases neo4j and OrientDB

Neo4j implements the graph model property by being efficient up to the storage level. Provides full database features including ACID, support for cluster, making it suitable for using graph data in production.

Its official language is Cypher which allows you to search, create and modify structures based on an information and relationship graph.

Command example:

start programmer=(3)
match (programmer)-[:PAIRED]->(pair)
where pair.age > 30 
return pair
order by pair.age
skip 5 limit 10

Links where I searched Information:

Https://medium.com/accendis-tech/uma-gentil-introdu%C3%A7%C3%A3o-ao-uso-de-banco-de-dados-orientados-a-grafos-com-neo4j-ca148df2d352

Http://nicholasess.com.br/neo4j-2/bem-vindo-ao-neo4j /

Https://imasters.com.br/banco-de-dados/graphdb-series-o-que-e-um-banco-de-dados-de-grafos/?trace=1519021197&source=single

Http://bcc.ime.usp.br/tccs/2016/taksqth/downloads/poster.pdf

Http://orientdb.com/orientdb /

Https://en.wikipedia.org/wiki/Cypher_Query_Language

 13
Author: Caique Romero, 2017-09-25 14:03:12