Postgres BTree indexex allow for an INCLUDE statement where the included columns values are stored in the leaf nodes of the index. This is an optimization to store data with the index for columns that are fetched commonly but, not necessarily filtered on.
Motivation
Postgres BTree indexex allow for an
INCLUDE
statement where the included columns values are stored in the leaf nodes of the index. This is an optimization to store data with the index for columns that are fetched commonly but, not necessarily filtered on.Proposed Solutions
Additional Information
I am unsure if this is supported on other databases.
CREATE INDEX