MongoDB Interview Question

What is a clustered index?

Interview Answer

Anonymous

Apr 23, 2024

A clustered index is an index that defines the physical order in which table records are stored in a database. Clustered indexes are stored in the same WiredTiger file as the collection.