Question 3
Which of the following statements is/are true?
Answer:
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
Its really useful detail Thanks for this information.
ReplyDeleteMEAN Stack Training in Hyderabad
Thanks for sharing this wonderful information. I too learn something new from your post..
ReplyDeleteMean Stack Training in Chennai
This comment has been removed by the author.
ReplyDelete