The role of index
The function of the index is to improve query performance, accelerate sorting and aggregation operations, constrain data integrity, accelerate join operations, etc. If you want to know more about indexing, you can read the articles below this topic.