Your SlideShare is downloading. ×
0
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Dynamo db
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Dynamo db

1,623

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,623
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. DynamoDB 13年9月22⽇日星期⽇日
  • 2. What is DynamoDB • 讓我們來看一段官方介紹影片 13年9月22⽇日星期⽇日
  • 3. What is DynamoDB • Managed NoSQL database service • Features • Schemaless • Fast - SSD •Reserved IOPS for R/W 13年9月22⽇日星期⽇日
  • 4. Data Model • Table - collection of items • Items - Any number of attributes, up to 64k 13年9月22⽇日星期⽇日
  • 5. Data Model • No schema - Just provide PK • Items are indexed by PK • Single hash key & composite key 13年9月22⽇日星期⽇日
  • 6. Working with Tables • Specifying PK • Hash PK - ex. ProductID • Hash and Range PK - ex. ForumName and Subject • Specifying Read/Write requirements 13年9月22⽇日星期⽇日
  • 7. R/W Requirements • Read capacity units • Strongly consistent read per second of items up to 4KB 13年9月22⽇日星期⽇日
  • 8. R/W Requirements • Write capacity units • The number of 1KB writes per second 13年9月22⽇日星期⽇日
  • 9. Pricing • Based on Provisioned Throughput Capacity + Indexed Storages 13年9月22⽇日星期⽇日
  • 10. Working with Items • Documentations 13年9月22⽇日星期⽇日
  • 11. Index 13年9月22⽇日星期⽇日
  • 12. Query • A Query operation directly accesses items from a table using the table primary key, , or from an index using the index key. • Example 13年9月22⽇日星期⽇日
  • 13. Scan • The Scan operation returns one or more items and item attributes by accessing every item in the table.To have Amazon DynamoDB return fewer items, you can provide a ScanFilter. • Example 13年9月22⽇日星期⽇日
  • 14. Query & Scan cost • For Query, all items returned are treated as a single read operation. As a result, Amazon DynamoDB computes the total size of all items and then rounds up to the next 4 KB boundary. • In the case of a Scan operation,Amazon DynamoDB considers the size of the items that are evaluated. 13年9月22⽇日星期⽇日
  • 15. Reference • Getting Started • Local Secondary Index • Best Practice 13年9月22⽇日星期⽇日
  • 16. DEMO 13年9月22⽇日星期⽇日
  • 17. When to use DynamoDB? • If your application can fit into DynamoDB... • If you hate to tune the database... 13年9月22⽇日星期⽇日

×