Part 03 · Indexing

Composite, Covering and Partial Indexes

Composite indexColumn orderIndex-only scanPartial index

(user_id, created_at) এর উপর index কিছু query তে কাজে লাগে, কিছুতে লাগে না। Column এর ক্রম, index-only scan সহ covering index, আর hot অংশের জন্য partial index।

⏱ 6 মিনিট · Station 23 / 123