• Latest
  • All
  • News
  • Business

Before You Start With AWS DynamoDB

Mar 6, 2017
Booking a Private Jet: A Step-by-Step Guide

Booking a Private Jet: A Step-by-Step Guide

Mar 30, 2023
Going Paperless: How Electronic Records Management Can Revolutionize Your Workplace

Going Paperless: How Electronic Records Management Can Revolutionize Your Workplace

Mar 30, 2023
Easy Ways to Keep Your Computer Safe from Viruses

Tips For Optimizing IT Services

Mar 25, 2023
Esports FAQs: Everything You Need to Know About Professional Gaming

What You Can Learn By Playing Video Games

Mar 25, 2023
Will Artificial Intelligence Make an Impact on Online Gambling?

Why Regression Testing Should Be Automated

Mar 25, 2023
Discovery Phase For Software Development: How Much Does It Cost?

The 3 Main Reasons To Identify Security Problems in Software Code

Mar 15, 2023
The Evolution Of Air Conditioning Technology And Its Impact on the Way We Live And Consume

The Evolution Of Air Conditioning Technology And Its Impact on the Way We Live And Consume

Mar 14, 2023
What You Should Know About The Maker Protocol: A Comprehensive Guide

What You Should Know About The Maker Protocol: A Comprehensive Guide

Mar 14, 2023
Tableau Developer Career Path in 2023

Tableau Developer Career Path in 2023

Mar 13, 2023
5 Best Data Security Practices

Digital transformation trends businesses need to watch in 2023

Mar 13, 2023
The Biggest Innovations in Business Communication Technology

How to Leverage the Power of Intelligent Leadership

Feb 23, 2023
What is Linear Finance (LINA)?

What is Linear Finance (LINA)?

Feb 23, 2023
  • Guest Posts
  • Advertise
  • Contact Us
  • Privacy Policy
Saturday, April 1, 2023
Tech Featured
  • Home
  • Latest Tech
  • Apple
  • How to’s
  • Apps
  • Automobiles
  • Gadgets
  • Gaming
  • Reviews
  • Tech Tips
No Result
View All Result
No Result
View All Result
Tech Featured
No Result
View All Result
Home News

Before You Start With AWS DynamoDB

by techfeatured
Mar 6, 2017
in News
0
0
SHARES
5
VIEWS
Share on FacebookShare on Twitter

AWS DynamoDB is a NoSQL database service that provides consistent performance and seamless scalability. The service is fully managed by Amazon and we can store any amount of data in the DynamoDb tables. The data is stored in SSD disks and replicated across Multiple Availability Zones in a region, thus providing high durability.

The Basics:

  1. DynamoDb is an AWS managed service, you don’t have to worry about hardware, setup and configuration, replication, patching, and scaling. Data is replicated over three availability zones in a region and stored in SSD drives.
  2. AWS charges for using DynamoDb table depends on provisioned capacity (in addition to storage). To reduce your AWS bill, you may reduce the provisioned capacity during light traffic and bring it back to appropriate values during normal traffic conditions. This activity does not interrupt the service.
  3. To get most out of provisioned throughput, design partition key of the table to have of distinct values (larger the number of distinct values, the better).
  4. If you don’t have a proper partition key design, your requests for read/write items can be throttled, if the keys belong to the same partition, called “hot partition”.

Things to remember:

  1. There is a 1MB limit on Query and Scan API calls. If the query results in more than 1MB of results set, the query stops and returns the results. If you also include ‘FilterExpression’ in the query params, the filter is applied on the result set, but before result data is sent back to the caller. Because of this, depending on where your items are positioned within the table, it is possible that your query may not return any data at all using query/scan operations even though there is more data in the table. You must use ‘LastEvaluatedKey’ in this case.
  2. Lack of ability to have multiple keys per index. You can create DynamoDb table with one primary partition key and one sort key (optional) only. It is not possible to have multiple keys per index, but you can create additional secondary indexes on the table. Even then, the secondary index can contain only one sort key.
  3. Cannot add a secondary index after table creation. If your requirements change and need to add/modify a secondary index on the table, you are out of luck. You must export existing table data, drop and recreate the table with the correct index and import data.
  4. There is no backup & restore of DynamoDb tables out of the box. There isn’t a provision similar to AWS RDS daily backups. The recommended way is to use ‘AWS Date Pipeline’ service. But Data pipeline is not available in all regions. Eventually, you will end-up doing backup & restore using NodeJs or similar programs.
  5. Managing tables when you have multiple environments( such as Dev, QA, Live) is a hassle. One of the following solutions need to be adopted:
    • Use different table names for each environment (e.g., Dev_Products, Live_Products).
    • Use different AWS region for each environment.
    • Use different AWS accounts for each environment along with billing consolidation.
  6. ‘Limit’ is the number of items to be evaluated by DynamoDb and not the number of rows to return to the caller.
Tags: androidimaciphonemacbooktechnology news
ShareTweetShareSendShare

For any queries, you can reach us at [email protected]

Latest Posts

  • Booking a Private Jet: A Step-by-Step Guide
  • Going Paperless: How Electronic Records Management Can Revolutionize Your Workplace
  • Tips For Optimizing IT Services
  • What You Can Learn By Playing Video Games
  • Why Regression Testing Should Be Automated
Tech Featured

© 2022. All Rights Reserved.

Navigate Site

  • Guest Posts
  • Advertise
  • Contact Us
  • Privacy Policy

Follow Us

No Result
View All Result
  • Home
  • Latest Tech
  • Apple
  • How to’s
  • Apps
  • Automobiles
  • Gadgets
  • Gaming
  • Reviews
  • Tech Tips

© 2022. All Rights Reserved.