---
title: "Comment by hashnode on \"How to Store Large Attribute Values in DynamoDB\" | Hashnode"
description: "From - https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html#GSI.Writes If an update to the table changes the value of an indexed key attrib"
url: "https://hashnode.com/posts/how-to-store-large-attribute-values-in-dynamodb/604f049c37d84907f1329ea1/comment/618705e141f03514daf3f641"
---

[Discussion](https://hashnode.com/posts/how-to-store-large-attribute-values-in-dynamodb/604f049c37d84907f1329ea1)

Comment [How to Store Large Attribute Values in DynamoDB](https://hashnode.com/posts/how-to-store-large-attribute-values-in-dynamodb/604f049c37d84907f1329ea1)

[hashnode](https://hashnode.com/@hashnodemore)

[Nov 6, 2021](https://hashnode.com/posts/how-to-store-large-attribute-values-in-dynamodb/604f049c37d84907f1329ea1/comment/618705e141f03514daf3f641)

From - [docs.aws.amazon.com/amazondynamodb/latest/develop…](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html#GSI.Writes)

> If an update to the table changes the value of an indexed key attribute (from A to B), two writes are required, one to delete the previous item from the index and another write to put the new item into the index.
