Question: What is the maximum number of partitions in DynamoDB?

Rafal Wilinski

Answered by Rafal Wilinski


The maximum number of partitions in Amazon DynamoDB depends on the size of the table, the provisioned throughput, and the partition key.

DynamoDB uses a partition key to distribute data across multiple storage partitions. Each partition can store a limited amount of data, and the maximum number of partitions created for a table depends on the amount of data and the provisioned throughput.

By default, DynamoDB automatically partitions your data and scales the number of partitions as your table grows. As a result, the maximum number of partitions that can be created for a table is not fixed.

The maximum number of partitions per table is determined by the total provisioned throughput for the table, with a maximum of 3,000 partitions per table or a maximum of 10 GB per partition.

It's important to note that the maximum number of partitions per table is also limited by the maximum amount of read and write throughput you can provision for a table. The more throughput you provision, the more partitions DynamoDB can create to handle the increased traffic.

If you are approaching the maximum number of partitions, you should consider increasing your provisioned throughput or redistributing your data across multiple tables to reduce the number of partitions.

You can also use AWS CloudWatch to monitor the number of partitions and the amount of data stored in each partition and use this information to optimize your table's performance and costs.

Spend less time in the AWS console, use Dynobase.

Try 7-day free trial. No credit card needed.

Product Features

Member Portal
© 2024 Dynobase
Still using AWS DynamoDB Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.