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/Clean-Bumblebee-2896 Jan 21 '24
You are talking about a nosql database, you have to change your mind to Dev on it. Don't try to use mongodb as rdbms. On nosql, you have to:
Beware, in nosql, you need to design a model as you do in rdbms. Many Devs goes to nosql database and create collection like a table