Skip to content

Index structures and SARGability

Source reference

These questions cover and PostgreSQL-adapt the concepts in SQL/Query Optimization. Read the source alignment and terminology notes before treating cross-engine index names as PostgreSQL features.

#

Which predicates can ordinarily use a B-tree range search on an indexed numeric column?

#

Why can name LIKE '%interview%' fail to use a normal B-tree search?

#

What is true of <> and NOT predicates?

#

How does PostgreSQL differ from systems with a permanently clustered index?

#

What does a PostgreSQL Bitmap Index Scan create?

#

Which index type supports equality but not B-tree range ordering?

#

A partial index is most useful when:

#

What makes an index covering for a particular query?

#

Which PostgreSQL design typically supports full-text search?

#

Which PostgreSQL families commonly support spatial or geometric access?

#

What are dense and sparse indexes in general database terminology?

#

Why should indexes not be added solely because a column appears in WHERE, JOIN, or ORDER BY?

Return to quiz overview