Prompt
What should I use for 24-month metric retention?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
For 24-month metric retention, the right storage depends on what you mean by “metric retention”:
If you’re talking about time-series metrics
Use a time-series database / metrics backend with a 2-year retention policy, such as:
- Prometheus + long-term storage (Thanos, Cortex, Mimir)
- VictoriaMetrics
- InfluxDB
- TimescaleDB
These are built for:
- high write volume
- timestamped data
- downsampling / compaction
- retention policies
If you mean analytics/event metrics
Use a data warehouse or columnar store:
- BigQuery
- Snowflake
- Redshift
- ClickHouse
These are better if you need:
- historical reporting
- aggregations over long periods
- ad hoc queries across many dimensions
If you need something simple
For moderate scale, PostgreSQL + partitioning + retention jobs can work, especially with:
- monthly partitions
- compression (if available)
- archiving older data
Practical recommendation
- Operational monitoring metrics: Prometheus + Thanos/Mimir or VictoriaMetrics
- Business/usage metrics: BigQuery, Snowflake, or ClickHouse
- Small/medium custom app metrics: Postgres with partitioning
If you tell me:
- metric volume,
- query pattern, and
- whether this is monitoring vs analytics,
I can recommend the best option more specifically.