H
H
Hrant Alaverdyan2016-10-22 23:34:36
MySQL
Hrant Alaverdyan, 2016-10-22 23:34:36

Where is the best place to store user information in MySQL or MongoDB?

Which one is the safest?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene, 2016-10-22
@Nc_Soft

If you want to piss off the data, store it in a monge.

A
Anatoly, 2016-10-23
@taliban

These are two opposite repositories. Mysql implies a clear structure and uniformity of data in the first place, while mongo does not follow the data structure at all, do you want an array? please want homogeneous data? please!
In mysql, you create a data structure and then you have to follow it, whether you want it or not, the database itself decides whether you can write data or it doesn’t fit, in monge you have to control everything with your hands, it may be that instead of user information, you will receive a structure only with one field if you miss something while recording, and that's okay.
Therefore, you need to choose purely based on needs.
Do you have a list of fields? Need data rigor? Muscle.
Do you have heterogeneous data? the entire profile consists of many fields, some may not exist at all and is this the norm? Mongo.

L
lubezniy, 2016-10-22
@lubezniy

No. It all depends on the specific situation, and security is determined by the organization of storage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question