r/PostgreSQL • • Jan 20 '24

Help Me! Doubt regarding PostgreSQL vs Mongodb

Why very often people say mongodb is not that better and we are being future proof to go with postgres? is there any condition that mongodb can't handle or such. I would love to get an answer that explains why actually why companies are shifting?

49 Upvotes

50 comments sorted by

View all comments

Show parent comment

3

u/Clean-Bumblebee-2896 Jan 21 '24

It is wrong to say that mongodb is not adaptable. In fact, you can do almost anything you want in nosql, and that it's weakness because most of the people don't use it as it would. If you rely on rdbms features and hope to have it on nosql, yes, your best choice will be a relational system. Don't try to Dev an app on nosql like you do for rdbms

1

u/daredevil82 Jan 21 '24

the problem is mostly with bootcamps and juniors that don't know anything but nosql because its easy for small things. And as a result, they keep shoehorning relational expectations in a nosql paradigm and don't know how to dig themselves out of the hole.