MongoDB Single field index vs Compound index - Create indexes and tune MongoDB queries Performance
Code Academia
0:00 / 0:00
MongoDB Single field index vs Compound index - Create indexes and tune MongoDB queries Performance
8 072 просмотра · 7 лет назад
Code Academia
6,13 тыс. подписчиков
8 072 просмотра · 7 лет назад
This tutorial shows how to index your collection to speed up queries and sort, and the difference between Single field index and Compound indexes.
Link to Google Slide: https://dplink.app/yoZ84wKVg
Single Field Index documentation: https://dplink.app/L7QgpWRW4
Compound Index documentation: https://dplink.app/81pqyYn2r
00:16 Created the first query
04:19 Query profiling
04:55 Introduction to Single Field index (performance tuning)
07:11 Performance profiling using "executionStats" tool
12:20 Indexes the right way - introduction to compound indexes
19:34 Conclusion
Please support us on Patreon If you like the video: / codeacademia
#Mongodb #mongo #nosql #mongodbtutorial #mongodbIndexes #tutorialMongodb #mongo-indexes