Question 3

Which of the following statements is/are true?

Answer:
  • MongoDB indexes are markov trees. - No as MongoDB indexes are designed using B-trees.
  • By default, all MongoDB user-created collections have an _id index. - Yes
  • Background index builds block all reads and writes to the database that holds the collection being indexed - No,  as foreground index builds block all reads and writes to the database that holds the collection being indexed. Background index builds don't have this limitation, but are generally slower than foreground index builds.
  • It's common practice to co-locate your mongos on the same machine as your application to reduce latency - Yes
  • Collations can be used to create case insensitive indexes - Yes





Comments

  1. Thanks for sharing this wonderful information. I too learn something new from your post..
    Mean Stack Training in Chennai

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete

Post a Comment

Popular posts from this blog

M201 MongoDB Performance - Labs & Final Exam Q&A

Lab 2.1

Question 7