DynamoDB Flashcards
What is Dynamo DB?
No Sql Database in AWS
What does Dynamo offers for CRUD operations?
PutItem, GetItem, UpdateItem and DeleteItem
PI, GI, UI and DI
What are the Batch Operation does Dynamo offers?
BatchGetItem and BatchWriteItem (BGI and BWI. These are parallel operations)
maximum item size in DynamoDB is _____
400KB
A single BatchGetItem operation can retrieve a maximum of ___ items and can not exceed ___ in size.
100 and 16MB
A single BatchWriteItem operation can write a maximum of ___ items and can not exceed ___ in size.
25 and 16MB
You don’t need to specify full primary key value to read an item if its a composite primary key in dynamo?
False
Dynamo DB uses ______ consistent reads by default?
eventually
Dynamo Batch request does not fail unless all the requests in the batch fails?
True
Can two items in a table have same partition key value?
No. If so, you have to use sort key as well
You can modify the local secondary index in dynamo?
No, they gets created during the table creation and can’t be changed.
You can modify the Global secondary index in dynamo?
Yes, we can
What index is same partition key + different sort key in dynamo?
Local Secondary Index
What index is different partition key + different sort key in dynamo?
Global Secondary Index
Dynamo Primary Key Concept?
- Single Attribute (Unique ID)
- —> Partition Key (Hash key) of one attribute
- Composite Key (Unique + Date Range)
- —>Partition & Sort Key (Hash and Range) of two attributes