Tables are the backbone of any Relational Database Management System. Tables are used to store data in an organized form so operation on the data and retrieval of data becomes seamless. The AWS DynamoDB provides both RDBMS and Non-relational databases. This article mainly focuses on the relational part of DynamoDB.
In this article, we will look into the process of creating a table in DynamoDB through the AWS Management Console. After logging into the AWS Management console follow the below steps to create a table (Say, Music). The Music table will have the following details:
- Partition key: Artist
- Sort key: SongTitle
Follow the below steps to create a table in the DynamoDB database:
Step 1: Sign in to the AWS Management Console and open the DynamoDB console.

Step 2: In the navigation pane on the left side of the console, choose Dashboard.

Step 3: On the right side of the console, choose Create Table.

Step 4: Fill in the table details as depicted below:

Step 5: After filling in the details click on Create:

At this point your table is ready and you can start adding data into it.

Capacity management in DynamoDB:
When creating a table in DynamoDB, you can specify the capacity mode for the table and its global secondary indexes. The capacity mode determines how you pay for read and write throughput for the table and its indexes. DynamoDB offers two capacity modes: on-demand and provisioned.
In on-demand capacity mode, DynamoDB automatically scales throughput capacity based on the workload demand. You pay for the actual reads and writes that you perform on the table. This can be a good option for unpredictable workloads or for getting started with DynamoDB.
In provisioned capacity mode, you specify the number of read and write capacity units that you want to allocate for the table and its indexes. You are charged for the allocated capacity units, even if you are not using them. This can be a good option for workloads with predictable or stable performance requirements.
It is important to carefully consider the capacity mode and capacity allocation for a DynamoDB table, as it can affect the cost and performance of the table. It is recommended to monitor the performance and capacity utilization of a DynamoDB table to ensure that it is configured optimally.
Similar Reads
AWS DynamoDB - Creating a Table DynamoDB allows users to create databases capable of storing and retrieving any amount of data and comes in handy while serving any amount of traffic. It dynamically manages each customerâs request and provides high performance by automatically distributing data and traffic over servers. It is a ful
2 min read
Delete Table In DynamoDB DynamoDB allows users to create databases capable of storing and retrieving any amount of data and comes in handy while serving any amount of traffic. It dynamically manages each customerâs request and provides high performance by automatically distributing data and traffic over servers. It is a ful
4 min read
DynamoDB - Creating Items Creating an item in a DynamoDB table is a vital operation in application development that allows you to upload data. We will explore how we can create items for tables using different methods used for different purposes. Amazon DynamoDB is a fully managed NoSQL database service that provides fast an
5 min read
DynamoDB - Data Types DynamoDB supports many different data types for attributes within a table. They can be categorized as follows: Scalar Types â A scalar type can represent exactly one value. The scalar types are number, string, binary, Boolean, and null.Document Types â A document type can represent a complex structu
6 min read
DynamoDB - Tables, Items, and Attributes In DynamoDB the Tables, Items, and Attributes are among the core components, and we will be discussing them in detail in this article. Tables A table in DynamoDB is a collection of items. The key factors that make it unique are listed below: Dynamodb stores data in a table which is nothing but a col
2 min read
DynamoDB - Aggregation In today's data-driven world, the ability to intelligently transform big data into actionable insights is crucial for the success of business. DynamoDB, offered by Amazon, act as a versatile and scalable NoSQL database solution known for its flexibility and performance levels. Aggregation plays a fu
7 min read