Is there a way to query multiple hash keys in DynamoDB?

前端 未结 6 1332
借酒劲吻你
借酒劲吻你 2021-01-01 18:57

Is there a way to query multiple hash keys using a single query in Amazon\'s AWS SDK for Java?

Here\'s my issue; I have a DB table for project statuses. The Hash

6条回答
  •  醉酒成梦
    2021-01-01 19:17

    No, as of today there is no way to send multiple queries in the same request. If you're concerned about latency, you could make multiple requests simultaneously in different threads. This would require the same amount of network bandwidth as a "dual query" would if Dynamo offered it (assuming you're making 2, not hundreds).

提交回复
热议问题