Prompt
What should I use for time-series data storage?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
It depends on your workload, but here’s the practical rule of thumb:
Good defaults
Use a relational database if:
- your time-series volume is modest
- you need joins, transactions, and familiar SQL
- you’re mostly doing dashboarding, reporting, or app data
Examples: PostgreSQL, MySQL
Best add-on: TimescaleDB on PostgreSQL if you want time-series features without leaving SQL.
Use a dedicated time-series database if:
- you ingest a lot of metrics/events continuously
- you query by time ranges very often
- you need retention policies, downsampling, high write throughput, or compressed historical data
Examples: InfluxDB, TimescaleDB, QuestDB, VictoriaMetrics, ClickHouse
Use object storage / data lake if:
- the data is mostly for analytics, batch processing, or long-term archival
- you don’t need low-latency point queries
- you want cheap storage at scale
Examples: S3/GCS/Azure Blob with Parquet + query engines like Trino/Spark/Athena
Quick recommendations by use case
- Application metrics / monitoring: VictoriaMetrics, Prometheus for short-term, or InfluxDB
- Financial tick data / market data: QuestDB, ClickHouse, or TimescaleDB
- IoT sensor data: TimescaleDB or InfluxDB
- Logs and event analytics: ClickHouse
- Small/medium product analytics: PostgreSQL + partitioning or TimescaleDB
- Massive analytical workloads: ClickHouse
If you want the simplest answer
- Start with PostgreSQL
- If time-series becomes a performance or scale problem, move to TimescaleDB or ClickHouse depending on whether you need:
- SQL + operational database feel → TimescaleDB
- fast analytical scans and aggregation → ClickHouse
A few decision questions
If you answer these, I can recommend one specifically:
- How much data per day?
- Do you mostly do writes, reads, or both?
- Need real-time queries or batch analytics?
- Do you need joins with other business data?
- How long do you retain data?
If you want, I can give you a 1-minute decision tree or recommend the best option for your exact project.