Home / Companies / Yugabyte / Blog / Post Details
Content Deep Dive

Unlocking Time to Live (TTL) in YSQL

Blog post from Yugabyte

Post Details
Company
Date Published
Author
Marko Rajcevic
Word Count
350
Company Posts That Month
10
Language
English
Hacker News Points
-
Summary

The YCQL API supports Time to Live (TTL) functionality, but YSQL does not currently offer this feature. However, database partitions can be used to achieve similar results in a straightforward manner. To implement TTL, you can create a table and partition it based on a date or time column, then detach the partition when a certain period has passed, allowing for automated management once pg_partman support is available.

Trends Found in this Post

No tracked trend matches for this post yet.