indexscan
An indexscan, in database terminology, refers to the process of executing a query by traversing an index to locate the rows that satisfy a condition, rather than scanning all rows in a table. An index is a data structure that organizes keys and pointers to their corresponding rows, enabling faster lookup for specific values or ranges.
In a typical index-based scan, the database traverses the relevant index to find matching index entries and
There are several variants associated with index scans. A standard index scan uses a single index to
The database query planner decides whether to use an indexscan based on statistics about data distribution,