Does DocumentDB support ttl?

0

Is DocumentDB compatible with mongo's TTL Settings? I need the data to expire automatically.

kds_t
質問済み 10ヶ月前1721ビュー
2回答
0

The TTL function itself is supported.
https://docs.aws.amazon.com/documentdb/latest/developerguide/best_practices.html#best_practices-ttl_timeseries

Basically, it can be used in the same way as MongoDB.
The following document describes the differences between Amazon DocumentDB and MongoDB.
https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html#functional-differences.with-mongodb

profile picture
エキスパート
回答済み 10ヶ月前
0

Yes TTL is supported in DocumentDB and function same as it does in Mongo. Please find the following documentation around that for reference. https://docs.aws.amazon.com/documentdb/latest/developerguide/how-it-works.html#how-it-works.ttl-deletes

AWS
回答済み 10ヶ月前

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

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

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

関連するコンテンツ