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

1

u/[deleted] Jan 21 '24

[removed] — view removed comment

1

u/Sharp_Ideal2935 Jan 22 '24

Its a distributed database and came with bad default settings (which have been fixed many many years ago), you'd have the same behavior on any database if your primary went down before writes could be replicated to your secondaries for redundancy.