Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Amazon DynamoDB by Aswin


Published on

Published in: Education, Travel, Business
  • Be the first to comment

  • Be the first to like this

Amazon DynamoDB by Aswin

  1. 1. @agatestudio DynamoDB Aswin Knight Agate Studio
  2. 2. Amazon DynamoDB (Introduction) Aswin Juari
  3. 3. Overview • Amazon DynamoDB • Getting Started • Best Practice
  4. 4. Amazon DynamoDB • Fully Managed NoSQL Database Service • Unlimited traffic & storage :D. • Scaling without downtime.
  5. 5. Getting Started with DynamoDB • Define Primary Keys – Hash – Hash and Range • Provisioned throughput: – Read Operation : Read Operation Per Second * Read Operation Data/ 4KB – Write Operation: Write Operation Per Second * size of item/1KB • Note: You will be charged priced per hour of provisioned throughput
  6. 6. Example
  7. 7. Getting Started with DynamoDB • Optional Element – Secondary Index • Local Secondary Index • Global Secondary Index • Transaction Item Level Transaction only. Puts, updates, deletes, are ACID.
  8. 8. Local Secondary Index • Hash key is the same with primary index • Consume Read & Write from table
  9. 9. Global Secondary Index • Hash Key can be different from hash Index • Every read & write has its own provisioned throughput setting • Notes: Global Secondary Index is like create a new table that has the same content, but different index. Meanwhile, local secondary index is the same table with the different range key.
  10. 10. Minus • Cannot Modify Table Index • You cannot query for not indexed attribute.
  11. 11. Best Practice • Big Data Upload to S3 – DynamoDB only for Pointer • Design Uniform Workload – Avoid limited hash key values, – Use distinct hash key values.
  12. 12. Further Research • Development API – How to Do Query