Skip to main content
In this lesson we demonstrate how to modify pricing and throughput settings for an existing Amazon DynamoDB table. When creating a table you set capacity options up front, but you can also edit them later in the console — for example, open a Products table, go to “Additional settings”, and click Edit to change capacity mode, provisioned throughput, and autoscaling. This guide covers:
  • DynamoDB capacity modes and use cases
  • How to estimate read and write capacity (RCUs/WCUs)
  • Provisioned throughput and autoscaling settings in the console
  • Using historical metrics to validate your configuration
For reference, see the official DynamoDB documentation and pricing:

Capacity modes: On-demand vs Provisioned

DynamoDB supports two capacity modes. Use the table below to quickly compare them and pick the one that matches your workload.
A screenshot of the AWS DynamoDB console on the "Edit read/write capacity" page showing capacity mode options, with "On-demand" selected. The page includes "Provisioned" vs "On-demand" choices and a "Save changes" button.

Estimating RCUs and WCUs (capacity calculator)

If you choose provisioned mode, you must set Read Capacity Units (RCUs) and Write Capacity Units (WCUs). Use the capacity calculator or the formulas below to estimate requirements based on item size and request pattern. Inputs for the example:
  • Average item size: 8 KB
  • Expected reads per second: 20 (strongly consistent)
  • Expected writes per second: 30
Calculation rules:
  • Strongly consistent read = ceil(item_size / 4 KB) RCUs per read
  • Eventually consistent read = half the RCUs of a strongly consistent read
  • Write = ceil(item_size / 1 KB) WCUs per write
Example calculation (8 KB items):
Use the calculator to get estimated monthly costs for those units to avoid surprises on your bill.
Use the capacity calculator to estimate RCUs and WCUs based on item sizes and read/write patterns. Note: eventual consistency reduces RCU consumption by half compared to strongly consistent reads.
Under the Table capacity section in the console, enter the provisioned values from the example: Read capacity = 40, Write capacity = 240.

Autoscaling for provisioned mode

Autoscaling lets DynamoDB adjust provisioned throughput automatically in response to traffic, keeping utilization near your target while respecting configured minimum and maximum bounds. Key autoscaling settings:
A screenshot of the AWS console showing DynamoDB table capacity settings. It displays read/write capacity units, autoscaling toggles, and fields for minimum/maximum capacity and target utilization.
Autoscaling adjusts capacity when observed usage consistently deviates from the target utilization:
  • If utilization > target, autoscaling increases provisioned units up to the maximum.
  • If utilization < target, it may scale down, but not below the minimum.
A screenshot of the AWS console showing DynamoDB write capacity auto-scaling settings (Auto scaling set to "On") with fields for minimum (1), maximum (10) capacity units and target utilization (70%). Below are panels for historical read and write usage vs current unit selection.
Use the console’s historical usage graphs alongside the capacity calculator to choose sensible minimums, maximums, and target utilization. If your table has no historical traffic, graphs will be empty until requests are observed.
Changing capacity mode or scaling limits can affect costs and throttling behavior. Review historical metrics and cost estimates before switching modes or setting large max capacity values.

Practical recommendations

  • Choose On-demand for unpredictable or early-stage workloads to avoid under-provisioning.
  • Choose Provisioned with autoscaling for predictable workloads where cost optimization is important.
  • Always validate with historical usage graphs and the capacity calculator to set realistic RCUs/WCUs and autoscaling bounds.
  • Monitor CloudWatch metrics (ConsumedCapacityUnits, ThrottledRequests) to ensure your configuration meets application needs.
Further reading:

Watch Video

Practice Lab