在 Dynamo 中对全局二级索引进行 batchLoad

batchLoad on a Global Secondary Index in Dynamo

有没有办法使用全局二级索引从 DynamoDB 中的 table 执行批量加载?

batchLoad API accepts only HashKeys, and the queryPage API 只允许您传入一个键。

BatchLoad 在幕后使用 BatchGetItem。 BatchGetItem 只能从基 table 中读取,而不能从索引(LSI、GSI)中读取。因此,您将需要 运行 在 GSI 上并行执行多个查询操作才能达到类似的效果。