Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question