indexonly
Indexonly refers to a query execution path in which the database can satisfy a query using only the index data, without reading the full table rows from the disk. This is commonly described as an index-only scan or as using a covering index, where the index contains all columns required by the query.
How it works: For an index-only path to be possible, the index must include every column that
Benefits and use cases: The primary advantage is reduced I/O and faster query execution, especially for read-heavy
Limitations and trade-offs: Maintaining covering indexes adds storage and write overhead, since the index must stay
See also: index scan, covering index, visibility map, PostgreSQL index-only scan.