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-gen2-duration
| Default | 20 minutes |
| Allowed Values | Duration |
| Category | Compaction |
Note
IMMUTABLE AFTER INITIAL SETUP: This parameter is persisted in the catalog. Changing it after the cluster's first start causes silent data divergence. Set this at cluster creation time only. When cloning parameter groups, this value must be copied unchanged.
Detailed Explanation:
Defines the time span that each Gen2 compacted file should cover. InfluxDB 3 uses a tiered compaction strategy: Gen0 (raw WAL snapshots), Gen1 (controlled by gen1-duration), Gen2 (this parameter), Gen3+ (controlled by compaction-multipliers).
Recommendation: 20 minutes (default) for real-time monitoring. 1 hour for operational dashboards. 2–4 hours for analytical/batch queries.