What if your database could pay only for what it actually uses, no more, no less?
On-demand vs provisioned cost comparison in DynamoDB - When to Use Which
Imagine running a small online store and trying to guess how many customers will visit each day. You decide to prepare a fixed number of checkout counters (servers) to handle the rush. Sometimes, many customers wait in long lines; other times, counters sit idle.
Manually guessing traffic means you either waste money paying for unused capacity or frustrate customers with slow service during busy times. Adjusting capacity constantly is tiring and error-prone.
With on-demand and provisioned capacity modes, DynamoDB lets you choose how to pay for database usage. On-demand automatically adjusts to traffic, charging only for what you use. Provisioned lets you set capacity ahead, saving money if traffic is steady and predictable.
Set fixed capacity: 100 reads/sec, 50 writes/sec Pay for all even if unused
Use on-demand mode Pay only for actual reads and writes Or provision capacity based on expected load
You can optimize costs and performance by matching your database capacity to real user demand without guesswork.
A mobile app with unpredictable user spikes uses on-demand mode to handle sudden traffic without downtime or overspending.
Manual capacity planning wastes money or causes slowdowns.
On-demand mode charges per actual use, perfect for variable traffic.
Provisioned mode saves cost when traffic is steady and predictable.