-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance, Sharding
-
Query
If hashed indexes can function as unique indexes, then it's not really necessary to maintain both an index on {_id : 1} and one on {_id : "hashed"}. There's an obvious cost to maintaining both indexes (unless you need the original one for range queries). Thus if/when SERVER-5878 is implemented, the user should be allowed to drop the default {_id : 1} index.
- has to be done after
-
SERVER-5878 Allow hashed indexes to be unique
- Backlog
- related to
-
SERVER-2001 option to hash shard key
- Closed