Prompt
Do I need to move off plain SQL for telemetry at scale?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
Not necessarily.
Plain SQL is often enough for telemetry at scale if:
- your write patterns are mostly append-only,
- you can partition by time,
- you’re okay with pre-aggregating or sampling some queries,
- and your query load is predictable.
A lot of teams run large telemetry systems on “just SQL” with:
- time partitioning,
- indexes tuned for recent data,
- rollups/materialized views,
- retention policies,
- compression,
- and sometimes a separate hot/cold storage tier.
You typically need to move beyond plain OLTP-style SQL when you hit one or more of these:
Signs SQL is starting to strain
- Write volume is very high: millions of events/sec or sustained heavy ingest.
- Cardinality is huge: many dimensions/tags causing index bloat.
- Query patterns are wide and analytical: scans across long time ranges, joins, percentiles, group-bys over billions of rows.
- Latency targets are tight: near-real-time dashboards with concurrent heavy queries.
- Retention is long: storing raw telemetry for months/years becomes expensive.
- Backfills/reprocessing are common: you need immutable, replayable pipelines.
- Operational burden is rising: vacuum, reindex, partition management, replica lag, etc.
What “moving off SQL” usually means
Not abandoning SQL entirely, but using a system better matched to telemetry:
- Columnar analytical DBs: ClickHouse, BigQuery, Snowflake, DuckDB (for local/embedded)
- Time-series DBs: TimescaleDB, InfluxDB, VictoriaMetrics
- Search/log systems: Elasticsearch/OpenSearch for log-style telemetry
- Streaming + lakehouse: Kafka/PubSub + Parquet/Iceberg/Delta + SQL engines
Practical rule of thumb
Stay on plain SQL if you can meet:
- ingest SLA,
- dashboard/query latency,
- cost,
- and retention requirements without constant manual tuning.
Move when the team spends more time fighting the database than using the data.
Common middle ground
Many systems use:
- SQL for ingestion metadata and operational queries
- columnar warehouse or TSDB for telemetry analytics
- pre-aggregations for dashboards
- raw data in object storage for replay
If you want, I can help you decide based on your specifics—e.g. event rate, retention, query types, and current SQL database.