[英]Query by global secondary index from AWS Console
I am trying to query a DynamoDB table by a global secondary index from the AWS console.我正在尝试通过 AWS 控制台中的全局二级索引查询 DynamoDB 表。 The web UI gives me an option to "query" and "scan".
web 用户界面让我可以选择“查询”和“扫描”。 If I try the "query" tab, it requires the primary partition key.
如果我尝试“查询”选项卡,它需要主分区键。 If I try the "scan" tab, it proceeds to use up a lot of read capacity (and takes a long time).
如果我尝试“扫描”选项卡,它会继续耗尽大量读取容量(并且需要很长时间)。
How do I use the AWS Console to do a query by a global secondary index?如何使用 AWS 控制台通过全局二级索引进行查询?
I found it.我找到了。 In the query tab, the "table or index" can be changed to the global secondary index.
在查询选项卡中,可以将“表或索引”更改为全局二级索引。 I didn't notice that it was a drop down.
我没有注意到这是一个下拉。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.