Skip to content
RED SAGSkills
medium10 pts · first answer countsindexingperformancepostgresql

Benefit of INCLUDE in an index

A hot query is SELECT status FROM orders WHERE customer_id = $1. You change the index to CREATE INDEX ON orders (customer_id) INCLUDE (status). What does that gain?

Choose one answer