Prompt
AWS Timestream pricing is getting out of control
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
Yeah — Timestream can get expensive fast, especially when write volume, query scans, retention, or high-cardinality dimensions start climbing.
Here are the most common cost drivers and what to do about them:
What usually drives the bill up
-
Too much data ingested
- High-frequency writes from lots of devices/services
- Duplicate or noisy telemetry
- Sending every raw event instead of aggregating first
-
High-cardinality dimensions
- Things like
request_id,session_id, or per-user/per-device tags - These can explode the number of unique time series and increase cost/performance pressure
- Things like
-
Queries scanning too much data
SELECT *over large time ranges- Missing
WHEREfilters on time and dimensions - Repeated dashboard queries hitting the same data over and over
-
Retention too long
- Keeping data in memory store longer than needed
- Storing everything in magnetic store when you only need a small subset long term
-
No downsampling/rollups
- Keeping raw 1-second data forever instead of 1-minute / 5-minute aggregates
How to cut cost quickly
1. Reduce ingestion at the source
- Filter out junk/duplicate events
- Batch writes
- Sample high-volume metrics
- Aggregate before writing if you don’t need raw granularity
2. Rework your schema
- Keep dimensions low-cardinality
- Move volatile identifiers out of dimensions if possible
- Store only what you actually query
3. Use retention tiers aggressively
- Short memory store retention
- Move older data to magnetic store only if needed
- Delete data sooner if it has no business value
4. Create rollup tables
Instead of storing only raw data:
- Raw table: short retention, for debugging/forensics
- Aggregated table: 1m/5m/1h rollups for dashboards and trends
5. Optimize queries
- Always filter by time range
- Filter by partition-like dimensions where possible
- Avoid broad scans in dashboards
- Precompute common dashboard metrics
6. Put guardrails on dashboards and alerts
- Limit refresh frequency
- Cache results
- Avoid multiple widgets issuing similar expensive queries
If you want a fast triage plan
Check these in order:
- Top ingestors: which service/device is writing the most?
- Top queries: which queries scan the most data?
- Dimension cardinality: are you using IDs as dimensions?
- Retention settings: are you storing raw data too long?
- Dashboard refresh rate: are users hammering the same queries?
Practical alternative patterns
If your use case is mainly:
- metrics dashboards → consider CloudWatch / Prometheus / Grafana stack
- ad hoc analytics → S3 + Athena / Glue / Iceberg
- high-volume telemetry with aggregations → store raw in S3, roll up into Timestream only for recent operational views
If you want, I can help you with one of these:
- Figure out why your Timestream bill is high
- Design a cheaper architecture
- Review your schema/queries for cost leaks
If you paste a sample table schema + a couple of typical queries, I can point out the likely cost drivers.