Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented By: Aarushi Chawla ( ) Shiv Kandikuppa ( )

Similar presentations


Presentation on theme: "Presented By: Aarushi Chawla ( ) Shiv Kandikuppa ( )"— Presentation transcript:

1 Presented By: Aarushi Chawla (2012002) Shiv Kandikuppa (2012095)
DynamoDB: NoSQL DB Presented By: Aarushi Chawla ( ) Shiv Kandikuppa ( )

2 DynamoDB: NoSql Database Service
Consistent and fast performance Eventually consistent reads Conditional updates Horizontally scalable AWS management console to monitor performance Eventually consistent reads - The data updated might not be available in the next read request as it takes time for this to propagate across multiple servers Conditional updates - Dynamo does not give the guarantee of any ACID properties since it has to be fast. However it manages concurrency issues by using the conditional updates. Horizontally scalable - Table can span across multiple servers unlike a traditional RDBMS where the servers have to be vertically scaled up.

3 DynamoDB Data Model Tables : A collection of items
Item: A collection of attributes { Id = 201 ProductName = “cyclone” Description = “201 description” BicycleType = “Road” Brand = “FireFox” Price = 100 Color = [“Red”, “Black”] Type = “Bike” } Item 1 { Id = 205 ProductName = “mercedes-cla” Brand = “Benz” Price = 3.5cr Color = [“Pink”, “Black”, “Golden”] Type = “Car” } Item 2

4 DynamoDB Indexes Primary Key Secondary Indexes Partition Key/Hash Key
Sort Key/Range Key Secondary Indexes Global Local Table Name Primary Key Type Partition Key name Sort Key Name Forum(Name, ...) Simple Name - Thread(ForumName, Subject...) Composite ForumName Subject Primary Key- The partition key is used to calculate the hash which gives the server in which the entry has to be stored. When both partition key and range key are used as indices, then partition key and range key must always be a unique combination Global secondary Index- Similar to the primary key where we need to have a partition key and an optional sort key. Local secondary Index- Very similar to our normal search queries. These must however be defined at the time of table creation and cannot be altered later.

5 Src: http://docs. aws. amazon

6 DynamoDB Operations Create/ Update/ Delete Table Src: aws.amazon.com
Dynamo provides a long list of operations. However we will only be discussing a few of them over here. Src: aws.amazon.com

7 DynamoDB Operations Read Item Write Item Scan Item Query Item
Dynamo provides a long list of operations. However we will only be discussing a few of them over here.

8 Scan & Query Src: aws.amazon.com

9 References duction.html Understanding-Query-and-Scan-operations/


Download ppt "Presented By: Aarushi Chawla ( ) Shiv Kandikuppa ( )"

Similar presentations


Ads by Google