DynamoDB simple Primary Key Flashcards

1
Q

Primary Key with only a Partition Key

A

Chooses which partition data is written to.

Overview

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Partition Key uniqueness

A

Must be unique when using a simple primary key.

Important Points

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Partition Key Definition

A

Must be unique.

Important Points

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Partition Key Length

A

Can be 1 to 255 characters and is case-sensitive.

Important Points

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

New Data ID and Date

A

ID: 1002
Date: 1993-01-05

Data Partitioning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Existing Partitions

A

Partition A: ID: 1000 Date: 1993-01-03
Partition B: ID: 1001 Date: 1993-01-04
Partition C: ID: 1002 Date: 1993-01-05

Data Partitioning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DynamoDB’s Internal Hash Function

A

It’s a secret; the algorithm for deciding the partition for writing data is not disclosed.

Internal Mechanism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly