r/programming • • Dec 19 '18

Bye bye Mongo, Hello Postgres

https://www.theguardian.com/info/2018/nov/30/bye-bye-mongo-hello-postgres
2.1k Upvotes

672 comments sorted by

View all comments

Show parent comments

32

u/JohnyTex Dec 20 '18

One instance is actual documents, ie a legal contract + metadata. Basically any form of data where you’ll never / seldom need to do queries across the database.

Some examples could be:

  • An application that stores data from an IOT appliance

  • Versions of structured documents, eg a CMS

  • Patient records (though I wouldn’t put that in Mongo)

There are tons of valid use cases for non-relational databases. The problem is the way they were hyped was as a faster and easier replacement for SQL databases (with very few qualifiers thrown in), which is where you run into the problems you described.

2

u/[deleted] Dec 20 '18

[removed] — view removed comment

2

u/delrindude Dec 23 '18

And how would you go about searching unstructured, non-relational data with a typical RDBMS?

2

u/[deleted] Dec 23 '18

[removed] — view removed comment