Migrated from MongoDb
The end result was excellent. Ingestion is faster than before, costs are lower than before, and we ended up ahead of our original timeline.
Relational power for time-series at scale
Tiger Data, from the creators of TimescaleDB, extends PostgreSQL for high-volume time-series and analytics. MongoDB is a flexible document database, but at high-ingest time-series scale, its query language, weak joins, and 16 MB document limits get in the way. TimescaleDB gives you standard SQL, hypertables, hybrid row-columnar storage, powerful compression, and real-time analytics in one database.
Built for time-series at scale. Trusted by real teams, including teams that moved off MongoDB.
MongoDB is fast to build on for flexible, document-shaped data. As workloads become high-ingest, with millions of time-series rows requiring analytics at scale, teams hit the document model's edges: no SQL, weak joins, schema drift, and 16 MB per-document limits.
No SQL → a query language to work around
MongoDB uses MQL and the aggregation pipeline, not SQL. BI tools, ORMs, and analysts built around SQL need adapters, and non-trivial analytics turn into multi-stage pipelines.
Document model → joins are a workaround
There are no foreign keys, and cross-collection joins run through $lookup in the aggregation pipeline. On normalized data this gets slow: in RTABench, MongoDB was the slowest system tested, with six queries timing out.
Aggregation pipeline → rollups get complex
Rollups and dashboards are built as multi-stage pipelines with a 100 MB per-stage memory limit and a 1000-stage cap. There are no Continuous Aggregates, so keeping pre-computed rollups fresh is on you.
Hard limits → schema gymnastics at scale
Documents are capped at 16 MB, and time-series buckets at 1000 measurements or 125 KB. You can't write to time-series collections inside a transaction, and their indexing is limited.
Flexible schema → drift over time
Schema-on-read is great early on, but without enforced structure, fields diverge across documents. Validation is a bolt-on, and analytics has to defend against inconsistent shapes.
Where MongoDB fits well
MongoDB suits flexible, document-shaped data and rapid iteration. It has a broad ecosystem, a managed cloud option, horizontal scale-out through sharding, and its own time-series collections and search and vector search. The trade-offs above apply mainly to relational, high-ingest time-series analytics.
Tiger Data is Postgres, purpose-built for time-series and analytics at scale.
Built by the team behind TimescaleDB. Everything Postgres, plus time-series power, without sharding or trade-offs.
PostgreSQL + time-series extensions
Full relational model with joins, foreign keys, and constraints
SQL for operational queries and complex analytics
PostgreSQL + time-series extensions
Everything in one database, one set of tools
Document database


Document model with JSON/BSON-style documents
Flexible schema and embedded nested data
Relationships often handled by denormalization or aggregation pipelines
Document-oriented queries and aggregations
Operational and analytical use cases may involve different modeling trade-offs
Tiger Data makes Postgres powerful for time-series with fast, affordable, and familiar database features.
Query language
100% standard SQL, no need to master a new query language
Works with existing drivers, ORMs, and BI tools
Data relationships
Native SQL joins, foreign keys, and constraints
Time-series and relational data in one database
Analytics & rollups
Built-in Continuous Aggregates with auto-refresh
Hypercore: Hybrid row and columnar storage for fast analytical queries
Native downsampling
Scale & storage limits
Hypertables with no per-row size ceiling, plus full transactional writes
Up to 95% compression, cutting storage footprint and cost
Tiered storage to low-cost object storage, still queryable in SQL
AI & vector
Vector (pgvector, pgvectorscale) and BM25 keyword search (pg_textsearch) built into the Postgres engine
Hybrid search across embeddings, time-series, and relational data in one SQL query
No separate search cluster to deploy or keep in sync
Challenge | MongoDB limitation | Tiger Data advantage |
|---|---|---|
Query language | MQL and the aggregation pipeline, not SQL BI tools and ORMs built around SQL need adapters | 100% standard SQL, no need to master a new query language Works with existing drivers, ORMs, and BI tools |
Data relationships | Document model with no foreign keys Cross-collection joins run through $lookup in the aggregation pipeline | Native SQL joins, foreign keys, and constraints Time-series and relational data in one database |
Analytics & rollups | Aggregation pipeline with a 100 MB per-stage memory limit and 1000-stage cap No Continuous Aggregates for auto-refreshed rollups | Built-in Continuous Aggregates with auto-refresh Hypercore: Hybrid row and columnar storage for fast analytical queries Native downsampling |
Scale & storage limits | 16 MB document cap; time-series buckets limited to 1000 measurements / 125 KB No write to time-series collection inside transactions | Hypertables with no per-row size ceiling, plus full transactional writes Up to 95% compression, cutting storage footprint and cost Tiered storage to low-cost object storage, still queryable in SQL |
AI & vector | Vector, full-text, and hybrid search are available across Atlas, Enterprise Advanced, and Community, but run as separate search nodes you deploy and keep in sync Retrieval lives in the document model, not alongside relational joins | Vector (pgvector, pgvectorscale) and BM25 keyword search (pg_textsearch) built into the Postgres engine Hybrid search across embeddings, time-series, and relational data in one SQL query No separate search cluster to deploy or keep in sync |
This table covers where Tiger Data leads. MongoDB has genuine strengths of its own, noted above. Choose based on your workload.
RTABench measures real-time analytics on a normalized, multi-table schema — joins, selective filtering, and pre-aggregations, the way real applications query.
Across the systems tested, MongoDB was the slowest, with six queries timing out; its document model isn't built for normalized, relational data. TimescaleDB, purpose-built for real-time analytics on relational schemas, completed the full query set.
RTABench is an open benchmark (rtabench.com) covering joins, filtering, and pre-aggregations; it does not test raw ingest or high-concurrency. Results are a guide, not a ranking.
Compression, joins, and materialized views out of the box
Full SQL compatibility
No sharding required