June 2014
Intermediate to advanced
696 pages
38h 52m
English
MongoDB provides several mechanisms to optimize performance, scaling, and reliability. As you are contemplating your database design, you should consider each of the following options:
Indexing: Indexes improve performance for frequent queries by building a lookup index that can be easily sorted. The _id property of a collection is automatically indexed on since it is a common practice to look items up by ID. However, you also need to consider what other ways users access data before you implement indexes that will enhance those lookup methods as well.
Sharding: Sharding is the process ...
Read now
Unlock full access