Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Add a Column in DynamoDB

Is there a way to add a new column to existing table in DynamoDB in Amazon's AWS?

Google didn't help,

UpdateTable Query in http://docs.aws.amazon.com/cli/latest/reference/dynamodb/update-table.html?highlight=update%20table doesn't have any information related to adding a new column.

like image 562
Arun Selva Kumar Avatar asked Sep 01 '14 12:09

Arun Selva Kumar


People also ask

How do I add a column in DynamoDB AWS?

Open Dynamodb and click on the tables option in the left sidebar menu. Search your table by name and click on your table. Now select the orange button named Explore table items. Scroll down and Click on Create item.

Can you add columns to DynamoDB table?

As there are no columns in DynamoDB, You can add a new item with a new attribute. An item can have one or more attributes. The maximum number of attributes per item must be 400KB.


1 Answers

DynamoDB does not require schema definition, and so there is no such thing as a "column". You can just add a new item with a new attribute.

like image 73
Julio Faerman Avatar answered Sep 23 '22 02:09

Julio Faerman