The order of columns in multi-column indices matters

The order of columns in multi-column indices matters

⚡️ Database Tip

Creating indexes is a handcraft learned from experience, multiple-column indexes is a lot more complicated. But it doesn't have to be complicated!

Here are 3 simple rules for the column ordering of multiple column indexes, solving 80% of the perf problems.

We're writing a book, you can get it for free here.