M
M
MaxVe2017-01-26 20:48:12
Database
MaxVe, 2017-01-26 20:48:12

What database to choose to store the tree structure?

For a small project, you need a lightweight database that allows you to store a tree structure. For example, writing in json does not make sense, it is not safe, since there are no "locks", the data in the database will be updated frequently. I completely refuse SQL.

Key : value
key : value
Key :
       Key : value
       Key : value

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
malbaron, 2017-01-26
@malbaron

MongoDB
JSONB+PostgreSQL
The classical implementation of the hierarchy for SQL is inefficient, but the same is possible. Any SQL.
A dedicated hierarchical DBMS is best, but again, what's the point if you have a small load.

S
sim3x, 2017-01-26
@sim3x

PostgreSQL + JSONB

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question