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
preguntada hace un año214 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace un año
profile pictureAWS
EXPERTO
kentrad
revisado hace un año
  • Thank you very much for your answers. Have a great day!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas