enGMzizo / copy-dynamodb-table

Copy Dynamodb table to another in the same or different zone , It is 100% safe. Speed depends on your destination table user-defined write provisioned throughput
130 stars 38 forks source link

RCU and WCU not used #35

Open jprivillaso opened 3 years ago

jprivillaso commented 3 years ago

Hey there!

I'm sure that this is probably an issue on my end, but I wonder why my code is not working. I updated my tables to have 100 RCUs (source) and 200 WCU (target). However, the output is Copied 25 items at a time.

Am I missing a configuration here?

What can I do so that the lib actually uses the tables RCUs and WCUs?

Thank you

russ-marcie commented 2 years ago

You can only send up to 25 items in a single BatchWriteItem request, but you can send as many BatchWriteItem requests as you want at one time.