Some DynamoDB questions

0

Hi @Everyone,

Could someone enlighten me?

  1. How does the concept of Index in DynamoDB from the concept of INdex Relational DBs?
  2. Can I partition tables like in transactional DB in DynamoDB?
  3. Are aggregation operations possible to do using a NoSQL like DynamoDB? Thank you in advance for the answers

Highly appreciate the clarifications.

Amy
質問済み 1年前214ビュー
1回答
1
承認された回答

Hi,

I hope below helps you.

How does the concept of Index in DynamoDB from the concept of INdex Relational DBs?

The concept of index between the two is roughly the same, though their implementations and types are fundamentally different. Both allow you to access data faster. In dynamo thought, there are some indexes that allow you to view data in different forms, based on your access patterns. The beginning of this article explains really well how: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SQLtoNoSQL.Indexes.Creating.html

Can I partition tables like in transactional DB in DynamoDB?

In dynamo partitions is done automatically. The way you influence it though, is via picking the right partition keys that match best the access pattern you need. A bit on partitions here: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.Partitions.html

Are aggregation operations possible to do using a NoSQL like DynamoDB?

No. It doesn’t support aggregations out of the box as dynamo is meant for low-key fast data access. To do that, you ll need to handle in your application code or move the data out of dynamo to components that support aggregation such as Redshift.

profile picture
エキスパート
回答済み 1年前
profile pictureAWS
エキスパート
kentrad
レビュー済み 1年前
  • Thank you very much for your answers. Have a great day!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ