Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum size of DynamoDB item

Does anyone know what is the maximum size of Item payload that amazon dynamo DB supports? I am sure its buried in documentation somewhere.

My follow-up question is that when you upload large chunk of data if there is a connection drop (client or server), is there a way to resume the upload from where you left off?

like image 805
webjockey Avatar asked Feb 11 '17 21:02

webjockey


People also ask

Can we increase the item size in DynamoDB?

You can not store more than 400 KB worth of data in one DynamoDB item (or record). This link, that you shared in your comment, requires you to break larger records into multiple items and handle merges in your application layer.

Can DynamoDB handle big data?

DynamoDB is a key-value and document database that can support tables of virtually any size with horizontal scaling. This enables DynamoDB to scale to more than ten trillion requests per day with peaks greater than 20 million requests per second, over petabytes of storage.

How does DynamoDB determine item size?

The size of a number is approximately (length of attribute name) + (1 byte per two significant digits) + (1 byte). A binary value must be encoded in base64 format before it can be sent to DynamoDB, but the value's raw byte length is used for calculating size.

What is maximum provisioned capacity in DynamoDB?

If your application reads or writes larger items (up to the DynamoDB maximum item size of 400 KB), it will consume more capacity units. For example, suppose that you create a provisioned table with 6 read capacity units and 6 write capacity units.


2 Answers

The maximum size of a DynamoDB item is 400KB.

From the Limits in DynamoDB documentation:

The maximum item size in DynamoDB is 400 KB, which includes both attribute name binary length (UTF-8 length) and attribute value lengths (again binary length). The attribute name counts towards the size limit.

like image 127
John Rotenstein Avatar answered Oct 24 '22 06:10

John Rotenstein


This is what i could figure from documentation

  • Unlimited attributes /item
  • Unlimited item /table
  • 400KB max /attribute - 64KB max /item name [Edited per documentation --an item name must be at least one character long, but not greater than 64 KB long.]

Large data needs to be stored in Amazon S3 with url pointing to the data ?

like image 40
webjockey Avatar answered Oct 24 '22 05:10

webjockey