Sign in
Log inSign up

MongoDB Vs Postgres

Siddarthan Sarumathi Pandian's photo
Siddarthan Sarumathi Pandian
·Mar 27, 2017

NoSQL supports unstructured data, as simple as that.

The same can be achieved by storing json strings in Postgres. Postgres gives you strict rules and foreign keys and holds everything tight unlike Mongo which basically lets you do whatever you want to do - this is a boon sometimes, but it can also be a giant pain in the back side as well occasionally. So, why not use Postgres and enforce some strictness on your DB?

Do let know me why you picked MongoDB over Postgres (Or NOSQL over SQL)

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct