TDengine vs TimescaleDB

Choose TDengine for IoT and industrial telemetry on a purpose-built engine under AGPL-3.0. Choose TimescaleDB for time-series data inside PostgreSQL, and check which features need the Timescale License Community Edition.

On this page

TDengine vs TimescaleDB: when each database fits

If your team stores device or event telemetry and must pick one database, choose TDengine when you want a dedicated time-series engine for IoT, connected car and industrial telemetry. Choose TimescaleDB when you want time-series data inside PostgreSQL, so your team can keep writing SQL and using the PostgreSQL clients, drivers and operating habits it already has. TDengine's README describes it as an open source time-series database for those workloads, with built-in caching, stream processing and data subscription. TimescaleDB is a PostgreSQL extension for analytics on time-series and event data, so the right fit depends on how much PostgreSQL work your team already does.

License terms come first. TDengine's LICENSE file is the GNU Affero General Public License version 3. TimescaleDB is split: code outside the tsl directory is Apache License 2.0, while code inside it and built files with -tsl in their names fall under the Timescale License. Under that license you can run Community Edition in your own infrastructure for free, but you cannot offer it as a service. The Apache 2 Edition can be sold as a service, but continuous aggregates, the columnstore, data retention policies, job scheduling and time_bucket_gapfill are Community Edition only. The Tiger Data editions page sets out this split. A team that needs retention policies or continuous aggregates and also plans a hosted offering faces a direct tradeoff on TimescaleDB, while TDengine's AGPL-3.0 terms need legal review for the same offering.

Use five questions to decide. First, measure how much PostgreSQL experience your operators and developers already have, and whether they will run TDengine's own tooling instead. Second, have legal counsel review AGPL-3.0 for TDengine against Apache 2.0 plus the Timescale License for TimescaleDB, including whether you plan to offer the database to others as a service. Third, list the features you need now, such as continuous aggregates or retention policies, and confirm which edition includes them. Fourth, decide between self-hosting and a managed service: TDengine Cloud can be used without installation, and the Tiger Data pricing page lists Tiger Cloud's Performance plan from $30 per month and Scale from $36 per month, with Enterprise at custom pricing. Confirm current terms with each vendor before you commit to either.

Which time-series workloads fit TDengine, and which fit TimescaleDB

This table maps common time-series scenarios to the platform that fits them better, based on licensing, architecture and built-in features. Each row states the condition under which the fit holds, so check the confirm column before you shortlist either platform. The main takeaway is that TDengine suits IoT and built-in forecasting work, while TimescaleDB suits teams that want PostgreSQL compatibility, feature depth in the Community Edition and a documented managed support path.

ScenarioBetter fit and whyCondition and what to confirm
Sensor fleets and industrial IoTTDengine. Its README positions it for IoT and industrial IoT, with built-in caching, stream processing and data subscription.Holds when ingest volume and device counts drive the design. Confirm ingest and query performance on a test load.
Connected vehiclesTDengine. Its README names connected cars as a target use and states that it supports Kubernetes deployment.Holds when vehicle telemetry is the main workload. Confirm the data model and how the platform handles intermittent uplinks.
Teams already running PostgreSQLTimescaleDB. It is a PostgreSQL extension, so existing PostgreSQL skills carry over to the time-series workload.Holds when PostgreSQL operations are already in place. Confirm extension compatibility for your PostgreSQL version and your license edition.
Mixed time-series and relational analyticsTimescaleDB. Hypertables sit inside PostgreSQL, so joins with relational tables stay in one database.Holds when joins with reference data are frequent. Confirm query plans on your own schema before committing.
SaaS product offering the database to customersTimescaleDB Apache 2 Edition, if its feature set is enough. Its vendor says this edition can be sold as a service.Holds only for the Apache 2 Edition, which lacks continuous aggregates and retention policies. Confirm with counsel what AGPL-3.0 means for TDengine.
Teams that depend on continuous aggregates or retention policiesTimescaleDB Community Edition. Continuous aggregates, columnstore and retention policies are available only in this edition.Holds for in-house use only. Confirm the Timescale License terms and whether TDengine's stream processing covers your aggregations.
Teams that want a managed cloud with vendor supportTimescaleDB on Tiger Cloud. Developer email support comes with every plan, and Enterprise includes 24x7 production support with a 1-hour Sev 1 response.Holds when contract terms matter. Confirm support terms against the written order, and check TDengine Cloud's support terms separately.
Teams that want built-in AI forecasting and anomaly detectionTDengine. Its README describes TDgpt, a built-in AI agent for time-series forecasting and anomaly detection.Holds when built-in models are the goal. Confirm TDgpt's requirements and accuracy on your data, and ask TimescaleDB's vendor what it offers for this.

TDengine vs TimescaleDB architecture and what it means for operations

TDengine and TimescaleDB start from different designs, and that design sets who runs what. The cards cover each deployment route, the managed options and the day-two checks to confirm with each vendor.

TDengine as a standalone database

TDengine is a standalone time-series database. Its README says it separates compute from storage and supports Kubernetes, and you can deploy it by container, by installation package, or on Kubernetes. That makes it a second database engine for the platform team to run next to any PostgreSQL estate. Confirm the supported Kubernetes topology and how compute and storage scale independently with the vendor, since the README does not give those details. Check the AGPL-3.0 terms in the LICENSE file with counsel before you offer it to users over a network.

TDengine README

TimescaleDB as a PostgreSQL extension

TimescaleDB loads into PostgreSQL as an extension, so it adds to the PostgreSQL practices your team already runs. The timescale/timescaledb-ha image, with the pg18 tag used in the quick start, is one deployment route. The one-line install script is for local development and testing only. Confirm which features your edition includes: continuous aggregates, the columnstore, retention policies and job scheduling are in the Community Edition only, so the Apache 2 Edition lacks them. Confirm the upgrade path between extension versions before you pin a PostgreSQL major version.

TimescaleDB editions

Managed TDengine and Tiger Cloud

Both vendors offer managed services, and their terms differ. The TDengine README says you can try the fully managed TDengine Cloud without installation. Tiger Cloud's Performance plan starts at $30 per month and Scale at $36 per month, with Enterprise at custom pricing, according to the Tiger Data pricing page. Confirm where data is hosted and how long backups are kept for each plan before you sign. Developer email support is included on every Tiger Cloud plan, and 24x7 production support is a paid add-on.

Tiger Data pricing

Day-two operations and monitoring

Four day-two tasks shape the running effort: backup, upgrades, high availability and monitoring. For TDengine, ask the vendor for its backup and restore method, its upgrade steps between releases such as ver-3.4.4.2, its clustering and failover design, and its metrics export. For TimescaleDB, confirm which backup tooling, replication setup and monitoring integrations the vendor supports for your chosen image. Do not assume these carry over from another database, and write the answers into the scope before you compare running costs.

Four questions decide which database to pilot first

This decision aid starts with the workload and the team's existing estate. It asks whether the data is mainly IoT or industrial telemetry with no PostgreSQL estate, whether the database will be offered to customers as a service, whether the team already runs PostgreSQL, and whether it needs continuous aggregates or retention policies. Those two features are listed only for the TimescaleDB Community Edition, which cannot be offered as a service, so the service question comes before the feature question. Confirm each license with counsel before any hosted offer. The outcomes are a TDengine pilot, a TimescaleDB pilot on the Community Edition or Apache 2 Edition, or a side-by-side benchmark on your own data.

Decision aid for choosing which database to pilot first.

TDengine vs TimescaleDB capabilities side by side, and what to confirm

This table compares TDengine and TimescaleDB across purpose, license, architecture, built-in features, managed options and latest release. Where a cell says to confirm something, treat it as an open question for the vendor and get the answer in writing before you choose. The main takeaway is that the license terms and the PostgreSQL question will likely decide the shortlist, so check those two rows first.

CapabilityTDengineTimescaleDB
Core purposeOpen source time-series database for IoT, connected cars and industrial IoT workloads.PostgreSQL extension for high-performance analytics on time-series and event data.
LicenseGNU Affero General Public License version 3 (AGPL-3.0), per the repository LICENSE file. Confirm whether a commercial license applies to your use.Apache 2.0 outside the tsl directory, Timescale License for tsl code. Community Edition self-hosting is free, but you cannot offer it as a service.
Built-in cachingListed as built in on the README. Confirm cache scope, sizing and eviction behavior with TDengine.Confirm with Tiger Data whether built-in caching exists. Continuous aggregates are Community Edition only, so check that edition if you rely on precomputed results.
Stream processing and data subscriptionListed on the README. Confirm delivery guarantees, client languages and subscription throughput with TDengine before design.Ask Tiger Data which mechanism, if any, provides change feeds or subscriptions for downstream consumers, and which edition includes it.
Architecture and Kubernetes deploymentSeparates compute from storage and supports Kubernetes. Install by container, package or Kubernetes. Confirm cluster sizing and node roles with TDengine.Runs as a PostgreSQL extension. Its one-line install script is for local testing only. Confirm Kubernetes and compute-storage options with Tiger Data.
Built-in AI for forecasting and anomaly detectionTDgpt, a built-in AI agent for time-series forecasting and anomaly detection. Confirm model options and where inference runs.Ask Tiger Data whether any built-in AI or forecasting feature exists, and whether it runs inside the database or in external tools.
PostgreSQL ecosystemConfirm with TDengine which PostgreSQL wire protocol, SQL dialect, drivers and BI connectors it supports, and which you need.Built as a PostgreSQL extension, so standard PostgreSQL SQL and tooling apply. Hypertables are created with the tsdb.hypertable table option.
Managed cloud and support tiersTDengine Cloud is fully managed, with no installation needed. Ask TDengine for support tiers, response times and SLA terms in writing.Tiger Cloud Performance from $30/month (Tiger Data pricing). Developer email support on all plans. Enterprise adds 24x7 production support, 1-hour Sev 1 response.
Latest releasever-3.4.4.2, published 2026-11-30 on GitHub. Confirm the supported release line and upgrade path with TDengine.2.30.2, published September 29, 2026 on GitHub. Confirm the supported PostgreSQL major versions with Tiger Data before upgrading.

Licensing and editions: what each license allows and what is paid for

TDengine's repository LICENSE file is the GNU Affero General Public License version 3, a copyleft license. Running the open-source code unchanged inside your own network is the simplest case. The license becomes more demanding once you modify the code and make the modified version available to users over a network, which is why a hosted product built on TDengine needs a legal review before launch.

  • Internal use without modification: Running the unmodified software for your own systems is the least complicated pattern under the license, but confirm that your deployment matches it.
  • Modified versions offered over a network: The AGPL network-use condition can require you to offer the source of your modifications to users who interact with the software over a network.
  • Hosted service for customers: If customers reach a TDengine-based service you run, the network-use condition applies to that service, so the source offer must be planned before launch.
  • Commercial terms and support tiers: Commercial terms and support tiers come from the vendor, not from the open-source license, so request them in writing with your scope.

Before you build on TDengine, ask counsel to map each planned use against the network-use condition, and get the vendor's written commercial terms and support tiers for that use.

What drives the running cost of TDengine vs TimescaleDB

Infrastructure is usually the largest recurring cost for either database, and it scales with three inputs you can measure now: sustained ingest rate, retention period and the storage that retention implies. Compute is paid for twice, once in the nodes that absorb writes and again in the queries that read older data. Backups add storage and compute for every restore point you keep, so ask any vendor or partner for the backup copies and retention window behind their numbers. Both products can be self-hosted under their published licenses, so the recurring spend is mostly the cloud or data center capacity you run them on, plus the people who operate them. The one-time costs are design decisions: table layout, partitioning, cluster size and backup and restore tests. Those choices are cheap to make before data lands and expensive to reverse after years of history.

Skills and support decide who gets paid for the rest. A TimescaleDB deployment runs on PostgreSQL, so you need staff who already handle PostgreSQL backups, roles, connections and upgrades, plus the extension's own settings. A TDengine deployment needs operators who understand its storage, clustering and client model, which usually means training existing staff or hiring someone with time-series experience. On support, Tiger Data's pricing page says Tiger Cloud includes developer support by email on all plans, that 24x7 production support is a paid add-on, and that the Enterprise plan includes a 1-hour response time for Sev 1 issues. Confirm with TDengine what support tiers and response times it sells for your deployment model. If you run TimescaleDB yourself, confirm what vendor support exists at all. PostgreSQL 18 is supported until November 14, 2030, so a PostgreSQL estate has a dated runway, but someone must still schedule and test each upgrade.

Edition choice changes both what you build and what you pay to run it. TimescaleDB Community Edition can run on your own infrastructure for free under the Timescale License, but continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill are available only in Community Edition and are absent from the Apache 2 Edition. A team that picks the Apache 2 Edition to simplify licensing may end up building retention and rollups by hand, and that staff time recurs every month. Check this against the editions page before committing. For TDengine, the repository is under AGPL-3.0, and its README lists built-in caching and stream processing, so confirm which of those features your design relies on. In any quote, ask for the ingest rate and retention period used for pricing, storage and replica counts, backup retention, support tier and response times, who runs upgrades, and separate lines for one-time design and migration against recurring operations.

Moving data between TDengine and TimescaleDB, step by step

This sequence moves raw timestamped readings from TDengine to TimescaleDB, while queries, aggregates, stream jobs and access settings are rebuilt on the target and checked before anyone switches over. Each step ends with a check you can record, so the cutover decision rests on reconciled data and signed-off outputs.

  1. Inventory ingest sources, queries and jobs

    Your team lists every device, gateway or agent that writes to TDengine, every query that applications and dashboards run, and every stream, subscription, retention rule and scheduled job configured in the cluster. Application owners confirm their part of the list, and the platform team checks it against the live TDengine configuration. Done means each ingest path and consumer has a named owner in a shared inventory. Include license review in scope: the TDengine repository is under AGPL version 3, and TimescaleDB Community Edition runs under the Timescale License, so your legal team should review both before you deploy.

  2. Map data model and timestamps to TimescaleDB

    Compare how TDengine organizes devices, sub-tables and tags with how TimescaleDB organizes hypertables, columns and indexes. Then decide how each device identifier, measurement and timestamp precision will be represented on the target. Confirm every mapping against the current documentation for both products, because schema syntax and features change between releases. Illustrative example: a meter fleet might become one hypertable with a device column and a time column, with separate tables for readings sampled at different rates. The output is a mapping document approved by the data owner, plus a sample of rows that converts and reads back correctly in both systems.

  3. Load historical data in batches

    Deploy TimescaleDB on your own infrastructure as a production setup, since the project's one-line install script is meant for local development and testing only. Export raw timestamped rows from TDengine in time-bounded batches, using its export tooling or client queries, and bulk load each batch into the matching hypertable. Choose the TimescaleDB Community Edition if you plan to use continuous aggregates, the columnstore, retention policies or job scheduling, since the Apache 2 Edition does not include them. Keep each batch's row count and time range in a load log. Done when every batch reconciles against its source window and the log covers the full agreed history.

  4. Run parallel writes and reconcile results

    Write new readings to both systems through a dual-write or parallel ingest path for an agreed period. Compare row counts, earliest and latest timestamps and sampled values per device group between the two stores, and record every mismatch with its cause. Keep the TDengine path as the system of record until sign-off. Done when the reconciliation report shows no unexplained differences across the agreed windows, and the owner of each ingest path signs it off.

  5. Rebuild aggregates, retention and stream logic

    Recreate continuous aggregates, retention policies and scheduled jobs on TimescaleDB, since these must be rebuilt on the target. Rewrite each TDengine stream and subscription consumer as a TimescaleDB job or an application process, depending on what the consumer needs. Replay the rebuilt logic over validated history and compare outputs with TDengine results for the same windows. Review access roles and license terms for the rebuilt setup in the same pass. Done when each rebuilt job has a test, a documented schedule and matching output on the sample windows.

  6. Repoint applications and dashboards in staging

    Change connection settings, query syntax and dashboard data sources to TimescaleDB in a staging environment first. Application and dashboard owners test each query against the validated data, paying attention to time zone handling, aggregation windows and null handling. Illustrative example: a dashboard that shows hourly averages may return different bucket boundaries if the time zone setting differs between systems. Done when every item on the inventory list reads from TimescaleDB in staging and its owner accepts the results in writing.

  7. Cut over and keep TDengine read-only

    Switch production writes to TimescaleDB in an agreed change window, then confirm that no ingest path still writes to TDengine. Set the TDengine store to read-only and keep it queryable until your retention requirements for the old data are met. Record the cutover date and the retention owner's decision in the change log. Done when write access is verified closed, read-only access is tested, and the retention owner has signed off on retiring the old store.

Where TDengine and TimescaleDB projects usually run long

TDengine projects usually run long in two places: the deployment path and the data model. The README lists three install routes: container, installation package or Kubernetes. Choose one before sizing, because upgrades, storage handling and monitoring differ between them, and changing course later costs time. Sizing should come from a load test that matches your device count, sampling intervals and channel layout. Data modeling for devices and channels drives query cost, so confirm the table layout with a pilot before loading production history. Stream processing and data subscription consumers are the other common surprise. List every downstream application that reads from TDengine, and confirm how each one authenticates. The repository's LICENSE file is GNU AGPL-3.0, so have legal review the network-use obligations if you modify the server or make it available to outside users.

TimescaleDB projects run long because they are PostgreSQL projects first. The extension inherits the database hosting work: backups, high availability, connection management, patching and extension upgrades all fall to your team. The README quick start creates hypertables with the tsdb.hypertable table option and runs the timescale/timescaledb-ha:pg18 Docker image. It also warns that its one-line install script is for local development and testing only, so treat that script as a sandbox. Production needs a deliberate deployment, with the extension configured as the vendor documents it and the chunk interval chosen from your ingest test. Settle the edition before retention design. Continuous aggregates, the columnstore, data retention policies and job scheduling are Community Edition features, so an Apache 2 Edition deployment will need a different plan for rollups and expiry.

For both platforms, the long steps are the same: ingest load testing, retention and backup design, database access and SSO, monitoring, and upgrade windows. Load test with data shaped like production, using the write pattern your collectors actually produce, and keep the results so the sizing can be traced later. Design retention before the first production write, since adding expiry to years of history is harder. Rehearse restores as well as taking backups. For access, list every human role and service account, then confirm with the vendor whether SSO applies to the database login path you plan to use. Agree monitoring and upgrade windows with the teams that depend on the data. DeployOpen plans, implements and hardens these steps inside your own infrastructure, with scope, deliverables and timelines agreed in writing before work starts.

TDengine vs TimescaleDB: questions buyers ask before hiring help

How much does it cost to run TDengine versus TimescaleDB?

Both can be self-hosted at no license fee for the core product, so most of the recurring cost is infrastructure, staff time and support. TDengine is licensed under AGPL-3.0 and offers a fully managed TDengine Cloud, but its paid pricing comes from a vendor quote, so request written terms. TimescaleDB Community Edition can run for free in your own on-premises or cloud infrastructure under the Timescale License. For a hosted service, the Tiger Data pricing page lists Tiger Cloud Performance from $30 per month and Scale from $36 per month, with Enterprise at custom pricing. Cost drivers include data volume, retention, query load, support level and migration labor. Ask each vendor to split the quote into one-time items (migration, setup, training) and recurring items (hosting, subscriptions, support).

How long does it take to migrate between TDengine and TimescaleDB?

The duration depends on data volume, the number of queries and dashboards to rewrite, changes to ingestion, and how much validation your team requires, so no fixed timeline applies. Ask for a written scope that states each of these inputs, the cutover plan and the acceptance checks. Validation usually compares row counts, aggregate results and query output over the same time windows, run in parallel with live ingestion until the results match. Query translation takes the most judgment, because the two systems use different data models and query functions. TimescaleDB runs as a PostgreSQL extension, so standard SQL and PostgreSQL tooling carry over, but some features your queries depend on may exist only in Community Edition. DeployOpen's engagements are typically fixed-scope, with the scope agreed in writing before work starts.

Can our own team migrate and run TimescaleDB or TDengine alone?

Yes for TimescaleDB if your team already knows PostgreSQL, because it is a PostgreSQL extension that uses standard SQL and PostgreSQL operations. Plan training for hypertable design, data retention, job scheduling and the features your product depends on. TDengine needs staff comfortable with its own SQL dialect and data model, its stream processing and data subscription features and, for self-hosting, Linux, container and Kubernetes operations, since the project supports installation by container, package or Kubernetes. Whether one team can do it alone depends on how many systems rely on the database and how much migration validation you own. A practical test (illustrative): can two people restore from backup and run a failover without vendor help? If not, a scoped engagement can cover that gap.

Can we offer TimescaleDB inside our SaaS product?

Yes under the Apache 2 Edition, which the Tiger Data editions page says can be sold as a service. The Community Edition works differently: you can run it in your own on-premises or cloud infrastructure for free, but under the Timescale License you cannot offer it as a service. The split matters because continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and time_bucket_gapfill are available only in Community Edition. If your product relies on any of them, the Apache 2 Edition may not cover your design. Confirm with counsel which build you would ship, how the service uses it, and whether you modify or bundle any TimescaleDB code, since the answer depends on the license files and your contracts.

Does the AGPL-3.0 license on TDengine block our use?

It depends on how you use TDengine, so counsel should review your specific deployment. AGPL-3.0 obligations are typically triggered when you distribute TDengine or a modified version, or when users interact with a modified version over a network. Internal use of unmodified software usually creates fewer obligations, but that reading needs confirmation for your setup. Counsel should review any changes you make, any TDengine code you embed or distribute in your product, and any connectors or services you build on it. TDengine Cloud is a separate vendor-hosted option, so its own terms apply to that service. Start with the repository's LICENSE file and give counsel the exact version and deployment model you plan to use.

What support can we buy for TDengine and TimescaleDB?

For TimescaleDB, Tiger Cloud includes developer support by email on all plans, and 24x7 production support is a paid add-on. The Enterprise plan includes that production support with a 1-hour response time for Sev 1 issues, according to the Tiger Data pricing page. For TDengine, request the support tiers, response targets and escalation path from the vendor in writing before you compare. For self-hosted installs of either database, vendor support is separate from the team that operates your infrastructure, so define who handles incidents, upgrades and on-call. Ask each vendor which tier covers self-hosted installs, what response applies to each severity, whether upgrades are included, and how support applies to the version you run.

What would DeployOpen do if we hire it for either database?

A DeployOpen engagement on either database could cover planning, implementation, security hardening, backup and restore, upgrades and documentation for a self-hosted open-source platform, inside your own cloud accounts, data centers or air-gapped networks. For this decision, DeployOpen can help you define migration scope, test the setup and document operating procedures. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. 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. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue the audit reports, attestations and certifications.

How DeployOpen works on this

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For TDengine vs TimescaleDB, we start from the license and edition question, then scope, build, test and document the deployment your team will run.

How we scope

  • Scope confirms whether your workload needs TimescaleDB Community Edition features such as continuous aggregates and the columnstore.
  • Scope records which license terms apply to how you plan to run the database and whether you offer it as a service.
  • The written scope covers deployment target, data volumes, ingestion sources and named deliverables, agreed before work starts.

How we build

  • We build the TDengine or TimescaleDB environment in your cloud, data center or air-gapped network, using the install method your scope names.
  • We configure access control, identity integration where the chosen edition supports it, audit logging and backup for the database.
  • We test exposed interfaces, credentials and permissions before any production data moves into the environment.

How we hand over

  • Documentation covers architecture, edition decisions, configuration and the upgrade path, so your team can operate the platform.
  • For migrations, the handover includes a documented data mapping and cutover runbook, with steps agreed in the written scope.
  • Compliance evidence includes configuration records and access settings that your internal reviewers and external auditors can examine.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover upgrades when TDengine or TimescaleDB releases change, within the scope you agreed.
  • Tiger Cloud support terms are separate from DeployOpen's work, so confirm with Tiger Data which tier fits your production needs.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.