What data is not relational?

I noticed Saving relational data in MongoDB (NoSQL) .

I am trying to deal with NoSQL, and I see the benefits [...]

What I cannot understand, and I hope someone can clarify, is how to store data if it should be relational.

User David commented: “If the data is relational, save it in a relational database.”

What useful or relevant data is not relational?

You will never have, say users, perhaps addresses, the end of the story.

usersalways connected comments/ posts/ favorites/ reviews/ friendsor something else.

Take a look at any application. Look at Zillow. houseshave one address. But they are also in school_districts, which contains many others houses. Now it is relational.

I have never seen an application in which associations in a data model are accessible. Or it did not have any objects that were to be associated with several other objects.

What type of data is this?

+4
source share
2 answers

, , - , . , , - . MongoDB . , , , / .

+1

, , , , . MongoDB , , Document-Oriented NoSQL , ​​ MongoDB.

MongoDB. MongoDB , MongoDB.

  • ()
  • : 1 ()
  • : 2 ()
+1

Source: https://habr.com/ru/post/1674629/


All Articles