The data in mongodb is scanned by row, which means that if the value of a field is very long, mongodb will not automatically skip it but scan the entire document. When the amount of data is very dense and this is very long, When the field does not need to be retrieved frequently, it will seriously slow down the efficiency, so at this time it can be saved as a reference in other collections
The data in mongodb is scanned by row, which means that if the value of a field is very long, mongodb will not automatically skip it but scan the entire document. When the amount of data is very dense and this is very long, When the field does not need to be retrieved frequently, it will seriously slow down the efficiency, so at this time it can be saved as a reference in other collections