0 votes
in Big Data | Hadoop by
While creating a schema in MongoDB, what are the points need to be taken into consideration in MongoDB ?

1 Answer

0 votes
by
While creating a schema in MongoDB, the points need to be taken care of are as follows:

Design our schema according to the user requirements

Combine objects into one document if we want to use them together; otherwise, separate them

Do joins while on write, and not when it is on read

For most frequent use cases, optimize the schema

Do complex aggregation in the schema

Related questions

0 votes
asked Mar 22, 2020 in Big Data | Hadoop by SakshiSharma
0 votes
asked Feb 10, 2020 in Big Data | Hadoop by miceperry
...