There's more...

DynamoDB also supports writing items in a batch using the batch-write-item command action. 

batch-write-item has the following characteristics:

  • Can write to one or more tables.
  • Can write up to 25 items. If we try to write more than 25 items, the whole set will fail.

  • Maximum request size is 16 MB.
  • Any unprocessed items are returned.
  • From a capacity unit calculation perspective, each item is treated separately. For example, if I have two items of 6 KB each, both items will take two units, making a total of four capacity units. See the throughput provisioning recipe for more clarity on throughput calculations. 
  • The batch-write-item can be used for put or delete. You cannot do put and delete for the same item.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.76.72