Gnoseed
Databases · Flashcard

What is a partial index?

Why this is the answer

CREATE INDEX ... WHERE status = 'active' indexes just the matching rows — ideal when queries target a small hot subset. Column selection is simply a normal index's column list, PostgreSQL builds indexes in one operation (CONCURRENTLY changes locking, not scheduling), and prefix truncation describes MySQL's prefix indexes.

Read more in the docs
Study in Gnoseed →