Z
Z
Zaur Ashurbekov2016-02-24 01:22:44
PostgreSQL
Zaur Ashurbekov, 2016-02-24 01:22:44

Should I use MongDB instead of PostgreSQL?

Hello Toaster!
I have always worked only with PostgreSQL before. But recently there was a problem where it is necessary to store hundreds of different data structures. A structure can have from 1 to ~100 elements of any standard types. There is a high probability that data can be written and read at the same time. Also, the structure can change during its life and this should not lead to long base brakes.
So, after reading the description of MongoDB, I was delighted - that's happiness! But when I got to the reviews... There's so much swearing at Mongo, especially in large projects, that I had serious doubts. Should I use MongoDB or good old PostgreSQL with links?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lega, 2016-02-24
@zaurius

There are so many swears at Mongo, especially in large projects, that I had serious doubts.
It's just a tool that has its advantages and disadvantages, they either do not know how to cook it, or they have chosen the wrong tool.
But in large companies it is successfully used: Google, Yandex, SAP, Facebook, Cisco, Adobe...
https://www.mongodb.com/who-uses-mongodb
Also umputun and @bobuk made the conclusion is that mongi is enough for 95% * (web) projects.
You can make a mini-project in Mongo, something to feel and understand whether it suits or not.

S
sim3x, 2016-02-24
@sim3x

Changes in the structure of models have not been a problem for a long time, since everyone uses migrations.
Or at the framework level - then we get consistency in code and data,
or at the DBMS level - in the form of a set of sql scripts for changing the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question