Skip to content
Discussion options

You must be logged in to vote

Hi @elmalakomar

From the Console, it is only possible to specify a numeric value within the TTL form, so is not possible to use handlebar syntax.

However, keep in mind that TTL indexes should be used with collections having a small size of documents due to their performances: when a collection has a great number of records, the deletion procedure triggered by the TTL expiration may happen during a peak of activity within your MongoDB cluster, slowing other operations happening.

Also, always from the MongoDB docs mentioned, TTL constraints are executed on the cluster every 60 seconds.

@albertotessarotto maybe we should consider adding a warning about TTL indexes on our docs.

So, if your us…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elmalakomar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Console CRUD Service Any question related to Mia Platform CRUD Service
2 participants