Single-column index on locality
|
Good for selective localities.
|
Can scan too many rows for large localities.
|
|
Compound hash index on geo/category columns
|
Targets the equality predicates more directly.
|
May still need base table reads or sorting.
|
Covering index with INCLUDE
|
Can enable an index-only scan.
|
Included columns do not provide ordering.
|
Compound hash key + id ASC + included filters
|
Supports targeted lookup, index-only filtering, ordered results, and early exit with LIMIT.
|
Adds write overhead and should be validated against workload frequency.
|