Regular 2i

Local index per node. Query hits all nodes. Fine for low-cardinality columns queried within known partition key.

Advertisement

SASI

Advanced index supporting range + prefix. More flexible but higher write cost + still scatter-gather without partition key.

Advertisement

SAI (Storage-Attached, C* 5.0)

New in Cassandra 5.0. Compact + fast. Better performance than SASI. Preferred going forward.