The Backend Engineering Show with Hussein Nasser cover image

2x Faster Reads and Writes with this MongoDB feature | Clustered Collections

The Backend Engineering Show with Hussein Nasser

00:00

How to Create a Clustered Index

Clustered indexes differ from secondary indexes. A cluster index can only be created when you create the collection. Only collections with a clustered index store the stored the data in sorted order. By default, if a secondary index exists on a cluster collection, and the secondary index is usable by your query, the second is selected in the state of the cluster index.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app