gm. Gazi Mohd Mazdi
Labs /
RIS330

Indexing a movie database

I queried the sample_mflix collection and compared how much work MongoDB did with and without an index.

Lab notes

A temporary index on IMDb votes reduced the documents examined from 21,349 to 12 for the test query. Other queries combined release year, genre, language and rating filters.