Skip to main content

One doc tagged with "hashed"

View All Tags

Hashed indexes

A hashed index in MongoDB is a type of index that stores the hash of the field value instead of the value itself. Hashed indexes are particularly useful for sharding collections, as they provide a more even distribution of data across shards. They are also useful for equality-based queries but are not suitable for range queries or sorting.