Is TimescaleDB a MongoDB Atlas alternative for your workload?
Choose TimescaleDB only when your workload is time-series or event data and your team is ready to work in PostgreSQL. TimescaleDB is a PostgreSQL extension for real-time analytics on time-series and event data. MongoDB Atlas fits document workloads that keep MongoDB drivers. TimescaleDB is not a drop-in MongoDB replacement: it uses SQL, so every query, driver call and index definition changes during a move. Four questions decide the fit. The first is the data model: sensor readings, logs and event streams keyed by time map well to hypertables, while varied documents do not. The second is whether the application keeps the MongoDB driver. The third is whether you will offer the software as a hosted service, because Community Edition cannot be offered that way. The fourth is which features you need.
The feature question catches many teams off guard. Continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill are available only in TimescaleDB Community Edition. The Apache 2 Edition omits them, so any retention or rollup logic would have to be built and scheduled elsewhere. Community Edition is licensed under the Timescale License. You may install it in your own on-premises or cloud infrastructure and run it for free, but you cannot offer it as a service. Source code outside the tsl directory is Apache 2.0, so read the LICENSE file for each build you ship. Confirm the edition choice with counsel and the TimescaleDB editions documentation before you sign customer contracts.
Before you commit, run three checks. First, export a representative sample of your Atlas collections and confirm their shape, then map each collection to either a hypertable with a time column or a relational table. Second, inventory every MongoDB driver call in your application, including aggregation pipelines and change stream consumers, because each one must be rewritten or replaced. Third, decide whether the application must keep the MongoDB driver. If it must, FerretDB on GitHub on PostgreSQL is the closer bridge, and TimescaleDB can serve as a separate store for the time-series tables. Ask your PostgreSQL team or DeployOpen to size the Community Edition deployment, including extension upgrades and backups, against the Atlas plan you are leaving.
Which option fits each MongoDB Atlas scenario
This table matches common MongoDB Atlas scenarios to the option that fits best, with the condition under which each choice holds. Read each row against your own driver usage, data volume and operating capacity, since the same team can reach different answers for different services. The main takeaway is that TimescaleDB suits time-series workloads on PostgreSQL, while applications that keep MongoDB drivers and document queries point to FerretDB instead.
| Scenario | Better fit | Why |
|---|---|---|
| Application uses MongoDB drivers and document queries | FerretDB hub (self-hosted FerretDB on PostgreSQL) | TimescaleDB does not keep the MongoDB driver, so application code changes. Holds while the app depends on driver-level document queries. |
| High-volume time-series or event data on a team that already runs PostgreSQL | Self-hosted TimescaleDB Community Edition | Holds when your team can operate PostgreSQL and needs continuous aggregates, columnstore or retention policies, which only Community Edition includes. |
| Product sold to customers as a hosted service | TimescaleDB Apache 2 Edition or Tiger Cloud | Holds when customers use it as a hosted service. Community Edition cannot be offered that way, and the Apache 2 Edition omits continuous aggregates. |
| No in-house database operations staff | Tiger Cloud, or keep MongoDB Atlas | Holds when nobody can own backups, upgrades and failover. Self-hosting moves that work to you, while Tiger Cloud includes email support on all plans. |
| Data must stay in your own infrastructure | Self-hosted TimescaleDB under Community Edition terms | Holds when you run it in your own cloud or data center. The Timescale License allows that free, but not hosting it for others. |
Why TimescaleDB is not a drop-in MongoDB replacement
TimescaleDB is a PostgreSQL extension, so it is not a MongoDB-compatible server. It installs into a PostgreSQL database and is queried with SQL through PostgreSQL drivers. Its central structure is the hypertable, a table the extension partitions automatically by time for time-stamped and event data, created with the tsdb.hypertable table option shown in the project's quick start. MongoDB Atlas stores BSON documents in collections and accepts requests over the MongoDB wire protocol. A client built on a MongoDB driver cannot connect to TimescaleDB, and TimescaleDB does not store documents in Atlas's format. Treat it as a different database with its own data model, chosen for time-series workloads, and evaluate it against your Atlas collections on that basis. The project README describes the extension and its documentation.
Moving an Atlas application means redesigning its data access layer and schema, and the connection string is the smallest part. Each collection needs a table design. Fields become typed columns where the shape is stable, while nested arrays and subdocuments become child tables or JSONB columns. Queries written as find filters or aggregation pipelines must be rewritten as SQL, and indexes must be planned again for PostgreSQL. The MongoDB driver is replaced by a PostgreSQL driver or ORM, which touches repositories, tests and error handling. Illustrative example: an order document with an embedded array of line items becomes an orders table and an order_lines table joined by a key. Atlas features your code depends on, such as change streams or ObjectId identifiers, need a replacement design before cutover.
If the application must keep the MongoDB driver, evaluate FerretDB before committing to a schema rewrite. FerretDB is an Apache-2.0 server that speaks the MongoDB 5.0+ wire protocol and stores data in PostgreSQL with the DocumentDB extension. The FerretDB pages on this site cover what that means for operations and migration. Before you decide, inventory every database command your applications, drivers and scheduled jobs send, then check each one against FerretDB's current compatibility list in its GitHub repository. Confirm that the commands you use are supported in the FerretDB and DocumentDB versions you plan to run. If your workload is time-series analytics and TimescaleDB remains a candidate, confirm the edition early, because continuous aggregates, the columnstore and data retention policies are available only in Community Edition.
How MongoDB Atlas and TimescaleDB compare on capabilities
This table compares how MongoDB Atlas and self-hosted TimescaleDB handle backup, time-series features, deployment and support. Read the TimescaleDB entries as a requirement check, because several analytics functions and job features exist only in Community Edition. Where documentation does not settle an answer, the cell names what to confirm with the vendor or in your own tests, so treat those rows as an evaluation checklist.
| Capability | MongoDB Atlas | TimescaleDB (self-hosted) |
|---|---|---|
| Backup and restore | Scheduled and on-demand snapshots, continuous cloud backup, downloaded snapshot files, and collection- and database-level restores. | Backups use your own PostgreSQL tooling. Confirm hypertable restore and extension versions in your own tests. |
| Logical export and restore | mongodump output restores only into deployments on the same major version or feature compatibility version. | Restore depends on PostgreSQL and extension versions. Confirm the target matches before cutover. |
| Time-series functions | Confirm which time-series features your Atlas tier supports and their limits with MongoDB. | time_bucket_gapfill and continuous aggregates are in Community Edition only, not the Apache 2 Edition. |
| Retention and job scheduling | Confirm retention and scheduled job options for your cluster tier with MongoDB. | Data retention policies, job scheduling and the columnstore are in Community Edition only. |
| Data model | Documents stored in collections and queried through the MongoDB query language. | PostgreSQL extension. Hypertables are created with the tsdb.hypertable table option. |
| Deployment and install | Clusters are hosted and provisioned by MongoDB, so no server install is needed on your side. | Runs in your infrastructure. Use the timescale/timescaledb-ha:pg18 Docker image; the one-line install script is for local development and testing only. |
| Latest release | Confirm the current Atlas server version and upgrade schedule in your project. | TimescaleDB 2.30.2, published September 29, 2026, is the latest release on GitHub. |
| Vendor support | Atlas support terms are not covered here. Confirm tiers, response times and escalation with MongoDB. | Tiger Cloud (managed service): developer email on all plans; 24x7 production support is a paid add-on; Enterprise includes a 1-hour Sev 1 response. |
| High availability | Confirm replica set failover behavior and region options for your tier with MongoDB. | Confirm the replication and failover design for your PostgreSQL setup in your own tests. |
Where the data lives and who can administer it
Each option answers two questions differently: which infrastructure holds your data, and who holds administrator rights over the database and its backups. The cards below set out where Atlas, self-hosted TimescaleDB and Tiger Cloud run, and what compliance evidence you can expect from each.
MongoDB operates Atlas
Atlas is a managed service in which MongoDB operates the clusters in cloud regions you select. Confirm the region for each cluster and for its backups and snapshots, since those copies are part of where your data sits. Ask what access MongoDB staff have to your deployments and under which support conditions. Confirm encryption at rest, key management, audit logging and access controls in your Atlas project settings before you rely on them.
Self-hosted TimescaleDB
Self-hosted TimescaleDB is a PostgreSQL extension that you install in your own cloud account, data center or private network, so your organization holds administrator access to the host, the database and its backups. Community Edition under the Timescale License can run on your own infrastructure for free, but you cannot offer it as a service. Continuous aggregates, the columnstore, retention policies and job scheduling are available only in that edition, so confirm which edition fits your use. Confirm encryption, key management, audit logging and access controls on your own servers.
TimescaleDB LICENSETiger Cloud as managed TimescaleDB
Tiger Cloud is the managed TimescaleDB service from Tiger Data, so the provider operates the instances and your team does not run the infrastructure. Confirm the cloud provider and region before loading production data, and ask where backups are stored. Developer email support comes with every plan, while 24x7 production support is a paid add-on, and only the Enterprise plan includes a 1-hour response time for Sev 1 issues. Confirm encryption, key management, audit logging and access controls against your own requirements.
Tiger Data pricingCompliance evidence and assessments
DeployOpen prepares systems, controls and evidence for compliance assessments, including configuration records and access reviews for self-hosted TimescaleDB. For Atlas and Tiger Cloud, the provider's own assurance reports and contract terms supply part of the evidence, so request them and map them to your controls. Independent auditors and certification bodies issue the reports, and DeployOpen does not issue audit reports, attestations or certifications. Ask each provider which reports cover the services you plan to use.
What a self-hosted TimescaleDB setup costs compared with Atlas
Community Edition carries no license fee when you run it in your own infrastructure, so the comparison is between a vendor subscription and the servers, staff and processes you pay for yourself. On the Atlas side, the MongoDB pricing page lists Atlas Free at $0 with 512 MB of storage, Flex from $0.011 per hour up to $30 a month with 5 GB, and Dedicated from $0.08 per hour, starting at $56.94 a month, with 10 GB to 4 TB of storage and 2 to 96 vCPUs. On the Tiger Cloud side, Tiger Data's pricing page lists Performance from $30 a month, Scale from $36 a month and Enterprise at custom pricing, with a free 30-day trial of Performance. Confirm what each published figure covers, including storage, backups, data transfer and support, because those items decide whether two monthly numbers are comparable.
Self-hosting moves the cost into components you can name. Community Edition lets you run TimescaleDB in your own infrastructure for free, but you pay for servers, storage, backups, a standby for high availability, PostgreSQL operations, monitoring, upgrades, staff time and any support contract. One-time costs include redesigning the schema, mapping Atlas collections to hypertables with the tsdb.hypertable table option, moving data, testing your application and completing a security review. Recurring costs are infrastructure, patching, on-call and support. Data volume, retention period, ingest rate, replica count and 24x7 coverage push these costs up. Continuous aggregates, the columnstore, retention policies and job scheduling exist only in Community Edition, so a team that chooses the Apache 2 Edition to avoid the Timescale License may lose features it needs.
Ask for a written quote that splits every item into one-time and recurring lines, with effort by role for database engineering, platform operations, on-call and security review. Ask for the hardware and storage sizing assumptions, the high availability design and the backup and restore test planned before cutover. Compare support like with like: Tiger Cloud includes developer support by email on all plans, while 24x7 production support is a paid add-on that the Enterprise plan includes with a 1-hour response time for Sev 1 issues (Tiger Data pricing page). A self-hosted setup needs a contract with a stated response time from whoever supports your PostgreSQL and TimescaleDB stack. DeployOpen agrees fixed scope and deliverables in writing before work starts, and a quote follows from that scope.
How to choose between the options, step by step
The diagram starts with the driver question. If the application must keep the MongoDB driver or document queries, the FerretDB pages are the next read. If not, ask whether the workload is time-stamped or event data on PostgreSQL. A no sends you to MongoDB Atlas or the other pages in this group. A yes asks whether your organization will offer the software to others as a hosted service. A yes leads to the Apache 2 Edition or Tiger Cloud, where you should check the license terms first. A no leads to the self hosted Community Edition, which you can run in your own infrastructure for free under the Timescale License.
Decision path from driver needs to hosting model.
What a move from MongoDB Atlas to TimescaleDB involves
Moving from MongoDB Atlas to TimescaleDB is a sequence of seven stages, each with an output that the next stage depends on. The work moves documents into PostgreSQL tables and hypertables, so the data model changes as well as the host. Confirm each step against your own environment, data volume and query load before you set a cutover plan.
Inventory collections, drivers and query patterns
Your team lists every Atlas collection, the indexes on each one, the drivers and services that connect, and the queries they run most often, including aggregation pipelines and scheduled reports. Assign an owner to each application so every query has someone accountable for it. The output is a written inventory that marks which collections hold time-stamped records and which hold reference data. Confirm the list against Atlas cluster metrics and application logs, because code review alone can miss queries that run from batch jobs.
Identify time-stamped data that suits hypertables
Review each collection for records keyed by a timestamp, such as sensor readings, events, logs or metrics, and note how they are written and queried, usually by time range. Hypertables suit append-heavy, time-ordered data, while entity records such as customers, accounts or configuration usually belong in ordinary PostgreSQL tables. Decide which Community Edition features you need, because continuous aggregates, the columnstore, data retention policies and job scheduling are not available in the Apache 2 Edition. The output is a list of tables tagged as hypertable or standard, with the reason for each choice. Confirm the list with the teams that own the queries.
Design the relational schema and hypertable options
Map each document shape to PostgreSQL tables, with typed columns for fields you filter or join on and JSONB for fields that vary between documents. Embedded arrays usually become child tables, and the MongoDB _id values need a stable key strategy in the new schema. For each hypertable, choose the time column, chunk interval and any partitioning that matches your query filters, then write the table options into the migration code (the TimescaleDB README shows the
tsdb.hypertableoption in its quick start). The output is a reviewed schema file that DBAs and application owners have approved in writing.Extract data and build the conversion step
Export from Atlas using a method your backup policy allows, such as mongodump or mongoexport, and record the MongoDB version and feature compatibility version of the source. mongodump output restores only into MongoDB deployments on the same major version or feature compatibility version, so it cannot be loaded into TimescaleDB as it is. Your team must build and test a conversion step that reads the exported documents and writes rows to the new schema, handling data types, nested arrays and missing fields. The output is a repeatable export and conversion job with a log of every document it could not convert.
Load data and validate counts and queries
Load the converted data into a staging TimescaleDB instance and compare row counts per collection and per time range. Run a fixed set of representative queries on both systems and check that results match after type conversions. Measure query performance on a full copy of production-sized data, since chunk layout and indexes matter at volume. Stage the deployment the way production will run. The one-line install script is for local development and testing only, so plan the production deployment separately. The output is a signed validation report listing each check that passed or failed.
Run a parallel period and cut over
Run the application against TimescaleDB alongside Atlas for an agreed period, with writes either dual-written or replayed from a change log, and compare outputs as they arrive. Build and test the dual-write or replay logic with your application owners before the period starts, since it is code the team must own. Write a cutover runbook that lists the steps to point connection strings at TimescaleDB, how writes made during the overlap are reconciled, and a rollback path back to Atlas with its own test. The output is a cutover decision signed by the accountable owner, with a rehearsed rollback.
Retire Atlas after the retention period
Keep the Atlas cluster, its backups and the final export archive for the retention period your compliance and legal teams agreed in writing, so you can answer questions about data that moved. Then revoke application access, remove database users and IP access entries, and delete the cluster. Confirm that copies held outside the cluster, including backup exports and key material, are also handled under the same policy. Update your data inventory and records of processing where they apply. The output is a closed Atlas project with a dated record of deletion.
Questions buyers ask before switching off MongoDB Atlas
Can TimescaleDB replace MongoDB Atlas for an existing application?
Not as a drop-in replacement for an application built on MongoDB drivers and document queries. TimescaleDB is an extension for PostgreSQL aimed at time-series and event data, so the application needs SQL queries and a relational data model, and the database engine changes to PostgreSQL. It fits best when the Atlas workload is mostly timestamped readings, events or metrics that are queried by time range and rolled up into summaries. Applications that depend on flexible nested documents and MongoDB's query language usually fit better on FerretDB, which keeps the MongoDB wire protocol and stores data in PostgreSQL, or on plain PostgreSQL with JSONB columns. Map each collection and its most frequent queries before choosing a path, and confirm the fit with a proof of concept that uses production data volumes.
How do cost and effort compare with Atlas, and what drives them?
Atlas bills you for managed clusters, storage and the operations MongoDB carries for you, while self-hosted TimescaleDB moves those costs onto your infrastructure and your staff. The Community Edition can be installed and run for free on your own infrastructure under the Timescale License, so the recurring costs are the servers or cloud instances for primary and standby nodes, storage, backup targets, monitoring, and the staff time to run and patch PostgreSQL. The one-time costs are the migration, schema design, application changes and testing. Costs rise with data volume, retention length, replica count and the amount of support you buy. For comparison, Tiger Data's pricing page lists its hosted Tiger Cloud Performance plan from $30 per month, which is a useful reference if you consider managed TimescaleDB. Ask any quote to separate one-time migration work from recurring infrastructure and support.
How long does a migration from Atlas to TimescaleDB take?
The timeline depends on your data and your schema work, and no general duration applies to every migration. The main drivers are the volume of data to copy and how long the cutover window can last, the number of collections and whether each maps to a time-series table or a relational table, and how much nested document structure must be flattened or redesigned. The number of application services and queries that need rewriting matters too, as does how thoroughly the team can test results against production-like data. Whether you need near-zero-downtime sync or can accept a scheduled stop changes the plan considerably. Compliance evidence, backup restore tests and rollback planning add time as well. A short proof of concept on one collection can show which drivers dominate your project, so ask for the timeline to come from that inventory and test.
What skills does the team need for a TimescaleDB migration?
A migration needs three skill sets: PostgreSQL operations, data engineering and application testing. Plan for them as parallel workstreams with named owners.
- PostgreSQL operations: installing and upgrading TimescaleDB, role and network configuration, replication, connection pooling, backup and restore testing, and monitoring.
- Data engineering: exporting Atlas data, transforming documents into tables, designing hypertables with the
tsdb.hypertabletable option, and checking row counts and sample values after each load. - Application testing: rewriting queries and driver calls, comparing results with the Atlas version, testing time zone handling, and load testing reports and dashboards.
Your team may already hold some of these skills. Confirm the gaps early, because they tend to surface at cutover, when the cost of fixing them is highest.
Can our team migrate alone, and where does outside help matter?
A team with solid PostgreSQL and application skills can migrate alone, but outside help matters most where the work is new to the team or the risk is high. Common points include hypertable design for your query patterns, cutover and rollback planning, hardening and backup restore tests, performance testing at production volume, and the evidence your compliance team will ask for. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support, upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list, so a quote follows from the written scope.
Can we offer TimescaleDB inside our own product as a service?
It depends on the edition: the Apache 2 Edition can be sold as a service, but the Community Edition cannot be offered as a service under the Timescale License. Under that license, you can install Community Edition in your own on-premises or cloud infrastructure and run it for free, but you cannot offer it as a service. The Apache 2 Edition is the option for a hosted product, but it omits features that Community Edition includes, such as continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill. Check the Tiger Data editions page before designing a product around either edition, and have your legal team review how your product uses each component.
Does the SSPL affect TimescaleDB if we self-host it?
The SSPL applies to MongoDB's server and tools, and TimescaleDB uses two licenses instead. MongoDB states that its server and tools released after October 16, 2018 are under the Server Side Public License v1.0, while earlier versions are under the GNU AGPL v3.0. The TimescaleDB LICENSE file splits the code: source outside the tsl directory is under the Apache License 2.0, while code inside that directory, and built shared object files with -tsl in their names, is under the Timescale License. Each file you ship therefore carries its own license. Review which files you distribute, and confirm with your legal team how the Timescale License applies to your deployment.
How DeployOpen evaluates and runs a TimescaleDB move
DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For a move from MongoDB Atlas to self-hosted TimescaleDB, we start by checking which workloads are a fit for PostgreSQL with time-series extensions and which stay on a document store. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope lists each Atlas database, collection and application connection that moves to TimescaleDB.
- Scope also records which TimescaleDB edition is needed, since continuous aggregates and the columnstore need Community Edition.
- Ongoing support, upgrades and continuous testing are available as retainers.
How we build
- We deploy TimescaleDB on PostgreSQL inside your cloud account, data center or air-gapped network.
- We map Atlas collections to PostgreSQL tables and hypertables, then test time-based queries, retention and aggregates.
- We review the license position of each TimescaleDB component, since code in the tsl directory uses the Timescale License.
How we hand over
- Handover includes the architecture, configuration, backup and restore runbooks, and the list of which Atlas features were replaced.
- Cutover steps cover exporting data from Atlas, loading it into hypertables and switching application connection strings.
- Compliance and security teams receive evidence for their own review, such as access settings, audit logs and backup test records.
How we support
- Retainers cover upgrades, backups and continuous testing of TimescaleDB and PostgreSQL after go-live.
- Each TimescaleDB version upgrade is checked against your queries, retention jobs and continuous aggregates before rollout.
- Confirm vendor support options for self-hosted TimescaleDB, since Tiger Cloud lists 24x7 production support as a paid add-on.

