Prompt
What kind of storage do I need for sensor readings and telemetry?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
For sensor readings and telemetry, you usually want time-series storage rather than a generic relational database, especially if the data arrives continuously and you query it by time ranges.
Good storage options
1. Time-series database (best fit)
Use this if you need:
- high write rates
- timestamps on every reading
- queries like “last 24 hours,” “average per minute,” or “trend over time”
Examples:
- InfluxDB
- TimescaleDB (PostgreSQL extension)
- Prometheus (mostly for metrics, not general sensor archives)
2. Relational database
Use this if:
- your scale is modest
- you want simple setup
- you need joins with devices/users/configuration data
Examples:
- PostgreSQL
- MySQL
A common pattern is:
- sensor readings in a time-series table
- device metadata in normal relational tables
3. NoSQL / wide-column store
Use this if you have very high volume and distributed ingestion. Examples:
- Apache Cassandra
- DynamoDB
- Bigtable
Good when:
- you mostly read by device ID + time range
- you need horizontal scaling
4. Data lake / object storage
Use this for:
- long-term archival
- batch analytics
- cheap storage of raw telemetry
Examples:
- Amazon S3
- Azure Blob Storage
- Google Cloud Storage
Often paired with:
- Parquet/CSV/JSON files
- analytics tools like Spark, Athena, BigQuery, etc.
What to optimize for
For telemetry, the important things are:
- timestamp indexing
- fast append/writes
- retention policies (keep raw data for 30/90/365 days)
- downsampling/aggregation
- compression
- partitioning by time and device
Typical architecture
A practical setup is:
- ingest sensor data via MQTT/HTTP/Kafka
- store recent/queryable data in TimescaleDB or InfluxDB
- archive old raw data in S3/blob storage
- aggregate summaries for dashboards
Simple recommendation
- Small to medium project: PostgreSQL + time-partitioned tables, or TimescaleDB
- Metrics/dashboard-focused: InfluxDB
- Very large scale / distributed: Cassandra or DynamoDB
- Cheap long-term archive: S3/object storage
If you want, I can recommend a storage choice based on your expected:
- number of sensors
- readings per second
- retention period
- query patterns
- cloud/on-prem setup