r/PostgreSQL • u/Upstairs_Director_16 • 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
View all comments
Show parent comment
1
u/Ok_Outlandishness906 Jan 22 '24
Sure but if you need to use only a document db, Mongo imo has a lot of advantages on postgresql. Obviiously it is only for that. Replication, Sharding and handling very big data only for document db is much easier on mongo, but on the other side, it is not the right tool if you have to manage structured data or complex relations or aggregation. Replication of mongo in particular is really easier than postgres . In my opinion they are 2 completely different instruments.