Module 8 - Section 2

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/31

flashcard set

Earn XP

Description and Tags

Amazon DynamoDB

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

relational database

works with structured data that is organized by tables, records, and columns

2
New cards

relational database

establish a well-defined relationship between database tables

3
New cards

relational database

use structured query language (SQL), which is a standard user application that provides a programming interface for database interaction

4
New cards

relational database

might have difficulties scaling out horizontally or working with semistructured data, and might also require many joins for normalized data.

5
New cards

non-relational database

any database that does not follow the relational model that is provided by traditional relational database management systems (RDBMS)

6
New cards

non-relational database

scale out horizontally, and they can work with unstructured and semistructured data.

7
New cards
  • rows and columns

  • key-value, document, graph

data storage

relational > ___ ::: non-relational > ___

8
New cards
  • fixed

  • dynamic

schema

relational > ___ ::: non-relational > ___

9
New cards
  • vertical

  • horizontal

scalability

relational > ___ ::: non-relational > ___

10
New cards

DynamoDB

a fast and flexible NoSQL database service for all applications that need consistent, single-digit-millisecond latency at any scale.

11
New cards

NoSQL database tables

Virtually unlimited storage

Items can have differing attributes

Low-latency queries

Scalable read/write throughput

DynamoDB features (?):

12
New cards

different attributes

One of the benefits of a NoSQL database is that items in the same table can have ___. This gives you the flexibility to add attributes as your application evolves. You can

13
New cards

schema migrations

In NoSQL databases, you can store newer format items side by side with older format items in the same table without needing to perform ___.

14
New cards

solid state drives (SSDs)

All the data in DynamoDB is stored on ___ and its simple query language enables consistent low-latency query performance

15
New cards

read or write throughput

In addition to scaling storage, DynamoDB also enables you to provision the amount of ___ that you need for your table

16
New cards

manual provisioning

As the number of application users grows, DynamoDB tables can be scaled to handle the increased numbers of read/write requests with ___

17
New cards

automatic scaling

Alternatively, you can enable ____ so that DynamoDB monitors the load on the table and automatically increases or decreases the provisioned throughput.

18
New cards
  • tables

  • items

  • attributes

DynamoDB core components:

19
New cards

table

DynamoDB core component: a collection of data

20
New cards

items

DynamoDB core component: a group of attributes that is uniquely identifiable among all the other items

21
New cards

attribute

DynamoDB core component: a fundamental data element

22
New cards
  • partition key

  • partition key and sort key (aka composite primary key)

DynamoDB supports two different kinds of primary keys:

23
New cards

partition key

DynamoDB primary key: a simple primary key, which is composed of one attribute called the sort key.

24
New cards

sort key

The partition key is a simple primary key, which is composed of one attribute called the ___.

25
New cards

partition key and sort key (aka composite primary key)

DynamoDB primary key: composed of two attributes

26
New cards

primary key

As data grows, table data is partitioned and indexed by the ___

27
New cards

In the first method, the query operation takes advantage of partitioning to effectively locate items by using the primary key.

The second method is via a scan, which enables you to locate items in the table by matching conditions on non-key attributes. The second method gives you the flexibility to locate items by other attributes. However, the operation is less efficient because DynamoDB will scan through all the items in the table to find the ones that match your criteria.

You can retrieve data from a DynamoDB table in two different ways:

28
New cards

partitioning

__ allows large tables to be scanned and queried quickly

29
New cards

Globally Unique Identifier (GUID)

You can set up a simple primary key that is based on a single attribute of the data values with a uniform distribution, such as the ___ or other random identifiers.

30
New cards

key

Items in a table must have a ___

31
New cards

single key

A ___ means the data is identified by an item in the data that uniquely identifies each record

32
New cards

compound key

A ___ is made up of a partition key and a second key that can be used for sorting data