easy5 pts · first answer countsindexingmongodb
Order of fields in a MongoDB index
A MongoDB query filters on status (equality), sorts by createdAt and has a range on amount. Following the ESR rule, which compound index fits best?
Discussion 0
Join free to post in the discussion.
Related questions
- When a B-tree index helpsDatabase Administrator
- Index on a yes/no columnDatabase Administrator
- How InnoDB stores table rowsDatabase Administrator
- What an InnoDB secondary index points toDatabase Administrator
- LIKE with a leading %Database Administrator
- What a hash index supportsDatabase Administrator
- Cost of extra indexes on insertsDatabase Administrator
- EXPLAIN versus EXPLAIN ANALYZEDatabase Administrator