Limitations of DynamoDB
DynamoDB has size limits on its components, described in the following list. This may vary from region to region:
- Capacity unit:
- One read capacity unit = one strongly consistent read per second or two eventually consistent reads per second, for items up to 4 KB in size
- One write capacity unit = one write per second for items up to 1 KB in size
- Table size: There is no practical limit on table size. Tables are unconstrained for the number of items and number of bytes. But for any AWS account, there is an initial limit of 256 tables per region. To increase the limit, you have to raise the request.
- Secondary indexes:
You can define a maximum of five local secondary indexes per table. You can project up to 20 attributes into all of the table's local and global secondary indexes. These should be used to define the attributes. While creating the table operation, if you specify the
ProjectionType
ofINCLUDE
, then the number ofNonKeyAttribute
for all of the secondary indexes...