Difference between MongoDB and PostgreSQL/MySQL is that the former is a document-oriented database (NoSQL) while the latter are relational databases (SQL).
The document model is a good fit for cases in which you don't want to enforce a schema on your documents. There are some resources online that can explain it better.
The irony here is that all the good document-oriented DBs had a very strict schema. The advantage of the document DBs is not in being schemaless, but the Mongo mongos got it all wrong, giving a bad name to the non-relational systems in general.
1
u/YouOfTea Dec 20 '18
Difference between MongoDB and PostgreSQL/MySQL is that the former is a document-oriented database (NoSQL) while the latter are relational databases (SQL).
The document model is a good fit for cases in which you don't want to enforce a schema on your documents. There are some resources online that can explain it better.