cockroachdb / cockroachdb/cockroach
For row-level TTL, provide a means to keep the last N days of data and, beyond that, retain the last M rows
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Customer would like to have a TTL which is flexible enough to perform joins if necessary and only delete rows if they are > 90 days old and then only if there are > 20 rows matching the criteria.
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Jira issue: CRDB-37303
Contributor guide
Assessment
This issue has not been assessed yet.