From 2123aa61200ce2114f6b8a740c70bf9f26ecab26 Mon Sep 17 00:00:00 2001 From: JadCham Date: Mon, 27 May 2019 23:26:48 -0700 Subject: [PATCH] Add dynamodb sample for overriding default provisioning capacity units --- docs/operations.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/operations.md b/docs/operations.md index e26c633f4269..d3284ebafb88 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -158,3 +158,16 @@ create the table manually you cannot easily erase old data and your index just g If you set your DynamoDB table manually, ensure you set the primary index key to `h` (string) and use `r` (binary) as the sort key. Also set the "period" attribute in the yaml to zero. Make sure adjust your throughput base on your usage. + +DynamoDB's table manager client defaults provisioning capacity units read to 300 and writes to 3000. +If you wish to override these defaults the config section should include: + +```yaml +table_manager: + index_tables_provisioning: + provisioned_write_throughput: 10 + provisioned_read_throughput: 10 + chunk_tables_provisioning: + provisioned_write_throughput: 10 + provisioned_read_throughput: 10 +```