Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from  Amazon Web Services Bootcamp

Product type Book
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Pages 338 pages
Edition 1st Edition
Languages
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 €14.99/month. Cancel anytime