创建 Dynamodb 表,除分区键外还有 3 个搜索列,这可能吗?

Creating Dynamodb table, 3 search columns apart from partition key, is it possible?

Dynamodb

每个表最多可以定义5个本地二级索引和5个全局二级索引。

LSI 附加到特定的分区键值,而 GSI 跨越所有分区键值。由于具有相同分区键值的项目在 DynamoDB 中共享同一个分区,因此"本地"二级索引仅涵盖存储在一起(在同一分区上)的项目。因此,LSI 的目的是查询具有相同分区键值但不同排序键值的项目。例如,考虑一个跟踪客户订单的 DynamoDB 表,其中 CustomerId 是分区键。

With a local secondary index, there is a limit on item collection
sizes: For every distinct partition key value, the total sizes of all
table and index items cannot exceed 10 GB. This might constrain the
number of sort keys per partition key value.