用TTL删除项目的WCU是什么?

发布于 2025-02-01 11:06:47 字数 228 浏览 2 评论 0原文

我想知道什么是删除小于1KB的物品的总WCU是什么,该项目在主桌和GSI中具有TTL?

关于TTL,我们知道,在指定时间戳的日期和时间之后,DynamoDB从表中删除该项目而不会消耗任何写入吞吐量。

但是,如果该项目也存在于GSI中怎么办? 是否会使用任何WCU从GSI 中删除该项目? 如果GSI中的该项目也有TTL怎么办?这是否意味着消耗0个WCU来从表和GSI中删除该项目?

I would like to know what are the total WCUs consumed to delete an item less than 1kb which has a TTL in the main table and GSI?

About TTL, we know that after the date and time of the specified timestamp, DynamoDB deletes the item from the table without consuming any write throughput.

But what if that item exists also in a GSI? Are any WCUs consumed to delete the item from GSI?
What if that item in GSI also had a TTL? Would that mean there are 0 WCUs consumed to delete the item from the table and GSI?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少女七分熟 2025-02-08 11:06:47

如果让TTL删除它,则没有成本。如果您自己删除它,那么您当然要为书写付费。

TTL设置仅适用于基础表。从基础表中删除的项目也将在GSIS中被删除,并且免费。

If you let TTL delete it then there’s no cost. If you delete it yourself then you pay for the write throughout, of course.

The TTL setting only applies to the base table. An item deleted from the base table will get deleted in the GSIs also, and at no charge.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文