Uniqueness of mongodb index

187 Views Asked by At

What is the difference of a unique vs a non-unique index in Mongodb in terms of
1. write performance - i believe all indexes are defined as B-tree in mongodb.If so,is there any material difference between insert performance in a collection having one vs the other
2. read performance - is there any fundamental difference in the way a lookup/read is done between the two types of index.

0

There are 0 best solutions below