Prompt
I'm building a telemetry pipeline and want SQL queries, what time-series store should I consider?
Latest observation
For a telemetry pipeline, a good time-series store depends on your main access pattern: high-ingest metrics, fast aggregations, retention/downsampling, or SQL-first analytics.
Good options to consider
1) TimescaleDB
Best if you want full SQL and a familiar PostgreSQL ecosystem.
- PostgreSQL-based, so you can use standard SQL, joins, window functions, CTEs, etc.
- Excellent for telemetry, metrics, and event data.
- Built-in time-series features:
- hypertables
- compression
- retention policies
- continuous aggregates
- Good choice if your team already knows Postgres.
Use it if: you want SQL, flexibility, and moderate-to-high scale without learning a new query language.
2) ClickHouse
Best if your telemetry is mostly for analytics at very high volume.
- Extremely fast columnar analytics store.
- Great for massive event/telemetry ingestion and long-range queries.
- SQL support is strong, though it’s more analytics-oriented than OLTP-style.
- Works very well for dashboards, rollups, and exploration.
Use it if: you expect very large data volumes and care about query speed over relational constraints.
3) InfluxDB
Best if you want a purpose-built time-series database.
- Optimized for time-series writes and retention.
- Good ecosystem for metrics/observability.
- SQL support varies by version and is not as general-purpose as PostgreSQL/ClickHouse.
Use it if: you want a traditional TSDB with built-in telemetry features, and don’t need heavy relational querying.
4) Apache Druid
Best for real-time analytics on event streams.
- Designed for sub-second OLAP queries.
- Great for time-based dashboards and slicing/dicing telemetry.
- SQL supported, but it’s primarily an analytics engine.
Use it if: you need low-latency analytics on streaming data at scale.
Quick recommendation
If you want SQL queries and telemetry and aren’t sure yet, I’d start with:
- TimescaleDB if you want PostgreSQL compatibility and simpler operational fit.
- ClickHouse if the data volume is very large and analytics performance is the top priority.
Rule of thumb
- Operational + SQL + easier app integration → TimescaleDB
- Massive telemetry analytics → ClickHouse
- Purpose-built metrics store → InfluxDB
- Real-time OLAP dashboards → Druid
If you want, I can also give you a decision matrix based on ingest rate, retention, and query types, or suggest a reference architecture for a telemetry pipeline.