---
title: "Comment by Pablo Curell Mompo on \"How to model relational data in DynamoDB\" | Hashnode"
description: "Hey :) Good article explaining the how, but I am left curious about the why :/ Why would you use a dynamoDB for relational data in lieu of just a relational dat"
url: "https://hashnode.com/posts/how-to-model-relational-data-in-dynamodb/622f167d38e0a0d99d32f083/comment/62342e8dbef4c71aa6f0d880"
---

[Discussion](https://hashnode.com/posts/how-to-model-relational-data-in-dynamodb/622f167d38e0a0d99d32f083)

Comment [How to model relational data in DynamoDB](https://hashnode.com/posts/how-to-model-relational-data-in-dynamodb/622f167d38e0a0d99d32f083)

[Pablo Curell Mompo](https://hashnode.com/@pcurell)

[Mar 18, 2022](https://hashnode.com/posts/how-to-model-relational-data-in-dynamodb/622f167d38e0a0d99d32f083/comment/62342e8dbef4c71aa6f0d880)

Hey :)

Good article explaining the how, but I am left curious about the why :/

Why would you use a dynamoDB for relational data in lieu of just a relational database?

[Stefan Olaru](https://hashnode.com/@stefanolaru)

[Mar 18, 2022](https://hashnode.com/posts/how-to-model-relational-data-in-dynamodb/622f167d38e0a0d99d32f083/comment/62342e8dbef4c71aa6f0d880#reply-62343802bef4c71aa6f0d9a9)

Hey Pablo,

I picked DynamoDB because of the flexible schema and scalability, and it's also very Serverless-friendly. As a plus, the on-demand pricing worked better for my use case.

When a relational database makes more sense, use that by all means.

[Pablo Curell Mompo](https://hashnode.com/@pcurell)

[Mar 18, 2022](https://hashnode.com/posts/how-to-model-relational-data-in-dynamodb/622f167d38e0a0d99d32f083/comment/62342e8dbef4c71aa6f0d880#reply-623438646647c71acb64140c)

[Stefan Olaru](https://hashnode.com/@stefanolaru)

Ok, thanks for answering :)
