slides/mongodb/idx-recap1.xml
Indexes
27/38
Creating Indexes
Indexes (2)
  • • MongoDB uses B-trees for indexes
  • • Many of the principles that apply to an RDBMS also apply to MongoDB
  • • e.g., indexes require additional work on inserts, updates and deletes
  • • A collection can have 64 indexes at most
  • • MongoDB can only use one index per query (with a few exceptions)