Secondary index
An index on a column other than the partition key. A local index covers one partition's rows, so a query must ask every partition. A global index is itself partitioned by the indexed value, so a query asks few partitions but a write touches more.