Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sunil Gulabani Sunil Gulabani
Author Profile Icon Sunil Gulabani
Sunil Gulabani
Arrow right icon
View More author details
Toc

Basic concepts


Let's look at the basic concepts of DynamoDB.

Tables

DynamoDB stores data in tables. A table contains multiple rows which are known as items. DynamoDB is not restricted to storing an amount of data in one table. While creating the DynamoDB table, we need to provide primary key attribute(s), which will identify the items uniquely:

Figure 6.1: Basic concepts

Items

Items are similar to relational database table rows or tuples. We can store any amount of items in one table. A table can contain only unique (single or composite) primary keys of each item. If the new item contains the same primary keys that are already present in a table, it will override the item with the new one. In the preceding sample table, we can see that two items are created in the table. The maximum size of a single item can be up to 400 KB, which includes all the attributes (columns).

Attributes

Attributes are similar to database columns or fields that hold the data. DynamoDB doesn't have a fixed schema where...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image