complexitydatabasessql
A database index is a read-write trade-off
Anonymous
An index can reduce rows examined when its columns match a query's filter or ordering. It also takes space and needs maintenance on writes. Check the query plan; an index isn't automatically useful just because a column appears in a table.
0