How to insert and find data on dynamoDB?

Read more here : http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LowLevelJavaTableOperationsExample.html

  • Get aws key on reducer.

  •  Init dynamoDB

  •  If table of dynamoDB don’t have RangeKey you should use GetItemRequest to find data.
  •  Because there isn’t RangeKey so when we find data performance of query very lower than HashKey and RangeKey. Therefore ConsumedReadCapacityUnits (Read and Write Throught) very high.

  •  If table of dynamoDB have HashKey and RangeKey you should use QueryRequest to find data.

  •  Insert into dynamoDB

 

Leave a Reply

Your email address will not be published. Required fields are marked *