அடிப்படை single-field indexes-ஐ தாண்டி, MongoDB வழங்குகிறது மேம்பட்ட indexing உத்திகள் — compound index ordering (ESR rule), covered queries, partial/sparse indexes, TTL indexes, மற்றும் பல — அவை query performance-ஐ வியத்தகு முறையில் பாதிக்கின்றன. MongoDB-ஐ scale-ல் optimize செய்ய இவற்றை நன்கு கற்பது முக்கியமாகும்.
Compound indexes-க்கான ESR rule
For a compound index supporting a query with Equality, Sort, and Range conditions,
order the fields: EQUALITY → SORT → RANGE (the ESR rule).
