Hacker News new | ask | show | jobs
by ex_ex_nihilo 2640 days ago
Postgres is not an alternative to Mongo, though. Provide a noSQL alternative if you want an alternative. RDBs and non-RDBs seek to address different sets of problems, and sometimes you do not want or need a relational database.
3 comments

Postgres has JSON support. In fact Amazon's documentdb which is alternative to Mongo, is built on top of Postgres AFAIK.
Its built ontop of aurora, which is amazons own datastore.
But postgres actually is that with json and jsonb. The postgres developers are also very focused on providing a better alternative to mongo. Afaik similarly configured postgres also challenge or beat mongodb in performance.
Cool thanks, I did not know about that.
In what situations do you feel MongoDB is a better solution than Postgres? The latter is both relational and document-oriented as required.
Setting up a simple cluster without relying on addons, or having to worry about which server in the cluster your writes are going to (bisected application configurations)