With rise in number of database it has become a big challenge to make the right selection. As data grows our database should also scale and perform equally well.
Now Organizations have started to move toward big data and working with real time applications we certainly need a non relational and a good performance database. For these types of challenges and work AWS has always been on the top and served various services which solves our problems and one such service is AWS DynamoDB which manages non-relational databases for you and can store unlimited data and perform very well. .
Table of content
- What is Relational database management system ?
- What is SQL and NO SQL database?
- What is Amazon DynamoDB ?
- Prerequisites
- How to Create tables in DynamoDB in AWS Account
- Conclusion
What is Relational database management system ?
- Relational database is based on tables and structured data
- They have relationships which are logically connected.
- Oracle Database, MySQL, Microsoft SQL Server, and IBM DB2. PostgreSQL , SQLite (for mobiles) are few example of RDMS.

What is SQL and NO SQL database?
SQL:
- The full form of SQL is structured query language which is used to manage data in relational database management system i.e RDMS.
- SQL database belongs to the relational database management system.
- The SQL type database follow structure pattern that’s why they are suitable for static or predefined schemas.
- They are good in solving complex queries and highly scalable in nature but in vertical direction.
- SQL database follows table based methodology and that’s the reason they are good for applications such as accounting systems.
NoSQL:
- The full form of NoSQL is non-sql or non-relational.
- This database is used for dynamic storage or those kind of managements where data is not fixed or static
- This database is not tabular in nature rather its a key pair values.
- They are good for big data and real time web application and scalable in nature but in horizontal direction
- Some of the NoSQL databases which are DynamoDB, Foundation DB, Infinity DB, MemcacheDB, , Oracle NoSQL Database, , Redis MongoDB, Cassandra, Scylla, HBase.
What is Amazon DynamoDB ?
DynamoDB is a NoSQL database service that means it is different from the relational database which consists of tables in tabular form. DynamoDB service has very fast performance and is very scalable. DynamoDB service is one of the AWS managed service where you don’t need to worry about capacity , workload , setup , configuration , software patches , replications or even cluster scaling.
With DynamoDB service you just need to create tables where you can add data or retrieve data otherwise DynamoDB takes care of everything else. If you wish to monitor your resources you can do it on AWS console.
Whenever there is a traffic or high request coming in DynamoDB scales up while maintaining the performance.
Basic components of Amazon DynamoDB
- Tables: It stores data.
- In below example we used a database table
- Items: Items are present in table. You can store as many item you wish in a table.
- In below example different Employee ID are items.
- Attributes: Each items contains one or more attributes.
- In below example office , designation and phone are attributes of EmployeeID.
{
"EmployeeID": "1"
"office": "USA"
"Designation": "Devops engineer"
"Phone": "1234567890"
}
{
"EmployeeID": "2"
"office": "UK"
"Designation": "Senior Devops Engineer"
"Phone": "0123456789"
}
To work with Amazon DynamoDB , applications will need API’s to communicate.
- Control Plane: It allows you to create and manage DynamoDB tables.
- Data lane: It allows you to perform actions on the data in DynamoDB tables.
Prerequisites
- You should have AWS account with Full access permissions on DynamoDB . If you don’t have AWS account, please create a account from here AWS account.
How to Create tables in DynamoDB in AWS Account
- Go to AWS account and search for DynamoDB on the top of the page.

- Click on Create Table and then you need to Enter the name of the Table and primary Key

- Now click on Organisation that is table name

- Now click on Items

- Add the list of items such address , designation and phone number.

- Verify if table has required details.

So this was the first way to use AWS provided web service and directly start creating DynamoDB tables . The other way is to download it manually on your machine , setup and then create you’re tables . You can find the steps here
Conclusion
You should now have a basic knowledge about relational database management system and non relational. We also learned about Amazon DynamoDB which is NO SQL database . We also covered on how to create tables on Amazon DynamoDB service & store the data .
This tutorial consists of all the practical’s which were done on our lab server with lots of hard work and efforts. Please share the word if you like it and hoping you get benefit out of this tutorial.