View a markdown version of this page

compaction-cleanup-wait - Amazon Timestream
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

For similar capabilities to Amazon Timestream for LiveAnalytics, consider Amazon Timestream for InfluxDB. It offers simplified data ingestion and single-digit millisecond query response times for real-time analytics. Learn more here.

compaction-cleanup-wait

Parameter Details
Default1 hour
Allowed ValuesDuration
CategoryCompaction

Detailed Explanation:

After compaction merges source files into a new compacted file, the original source files are not deleted immediately. This parameter defines the grace period before cleanup. The delay exists because in-flight queries may still hold references to the old files.

Recommendation: 30 minutes for short queries only. 1 hour (default) for mixed workloads. 1–2 hours for long analytical queries (30+ minutes).