Should mongodb History Be Embedded with Documents or References

  mongodb, question
  1. rt

  2. rt

  3. rt

  4. rt

It depends on the situation. If your historical records need data analysis, such as MapReduce, it is recommended to embed them. If you don’t need analysis, everything is fine!