89 likes
·
9.8K reads
13 comments
so well explained 👏️
Thank you Rahul Singh
nice article and nice graphics !
Thanks.
Good article Pankaj. Can you throw some more light on last section indexing pitfalls. Especially why do we need index over amount also
Thank Yeswanth. Check out this great talk by Kai Sassnowski.
This was a great read. Followed you. And bookmarked this.
Thanks for your support Mohd Shad Mirza. It means a lot.
Wonderfully explained! :) Bookmarked!
Many thanks Victoria Lo!
This is great. Bookmarked
Thank you Olubisi Idris Ayinde
This is misleading:
But, It will still do a full table scan because we are using "amount" column to calculate the total. So, we need to put an index on "amount" column too.
Two indexes don't add together (you might look up covering index).
There are also very legitimate reasons why the database will ignore an index that could be applied and do a full table scan anyway.
You've explained a few behaviors of indexes but not really how they work.