TimescaleDB major version upgrade: what changes

Upgrading self-hosted TimescaleDB means matching PostgreSQL and extension versions, running ALTER EXTENSION in each database, and backing up first. Here is the documented path and what to confirm before you start.

On this page

How a TimescaleDB major version upgrade runs and what to confirm first

The documented path for a TimescaleDB major version upgrade runs in four steps: check version pairing, take a backup, export policy settings, then run ALTER EXTENSION in each database. The most recent release at the time of writing is 2.32.2, published December 1, 2026, but confirm the current release on the TimescaleDB GitHub releases page before you plan, since the newest tag may change before your window. The guide treats a major upgrade mainly as a extension and PostgreSQL pairing question. No single TimescaleDB version supports every PostgreSQL version, so a PostgreSQL upgrade may need an intermediate TimescaleDB version first. Before you plan, decide which kind of move your target version is: an extension-only step on your current PostgreSQL major, or a combined extension and PostgreSQL move.

Run ALTER EXTENSION one database at a time. Databases in the same PostgreSQL instance can run different TimescaleDB versions during the transition, so you can move a lower-risk database first and observe it before you move the rest. Take the backup before the first ALTER EXTENSION so that you have a restore point that does not depend on the upgrade succeeding. Policy handling needs the most attention. Export your retention, chunk, reorder and continuous aggregate settings before you start, because the guide asks for that step explicitly. After the upgrade, check the server logs for failed retention policies. These features, including continuous aggregates, data retention policies and job scheduling, are available only in the Community Edition, so the Community Edition policies are the ones most exposed to this check. If you run the Apache 2 Edition, this check covers less, so confirm which edition each database uses before you write the runbook.

Plan the rollback before the window opens. The backup you took at the start is your restore point, so rehearse a restore from it on a copy of the database, and rehearse the upgrade itself on that copy as well. Run the whole sequence, including the policy export and the log check, and time it against your own data volumes, since the duration depends on your chunk count, your hardware and your maintenance window. If a managed provider runs your PostgreSQL, ask which TimescaleDB versions it offers for your PostgreSQL major and when each one becomes available, because those may trail the latest release. Confirm the exact verification and rollback steps in the Tiger Data major upgrade guide before you approve the runbook.

Which TimescaleDB and PostgreSQL versions are current and supported

This table lists the TimescaleDB releases, the Azure Database for PostgreSQL flexible server extension versions and the PostgreSQL majors that matter for a major upgrade. Read the status column for dates and the last column for what each entry means for your plan. The main takeaway is that the extension version and the PostgreSQL version have to be chosen together, and the 2.x support windows must be confirmed with the vendor.

Version or lineStatus or dateWhat it means for the upgrade
TimescaleDB 2.32.2Latest release, published December 1, 2026Newest extension build. Confirm it supports your PostgreSQL major version, since no single TimescaleDB version covers every PostgreSQL version.
TimescaleDB 2.30.2Published September 29, 2026Earlier release that may serve as an intermediate step if your PostgreSQL upgrade needs one. Check the upgrade guide for the pairing.
Azure flexible server: TimescaleDB 2.24.0Listed for PostgreSQL 15 to 18Managed route: confirm which extension version your server gets during the upgrade. Allowlisting and shared_preload_libraries are required.
Azure flexible server: TimescaleDB 2.15.3Listed for PostgreSQL 14Relevant if you still run PostgreSQL 14. Confirm the extension and PostgreSQL pairing before planning the next major step.
PostgreSQL 18First released September 25, 2025, supported until November 14, 2030Target major for the PostgreSQL side. Test your TimescaleDB version on it in staging before the cutover.
PostgreSQL 14Confirm the support window on the PostgreSQL versioning policyIf you are on this major, plan the PostgreSQL and TimescaleDB upgrades as one change.
TimescaleDB 2.x linesEnd-of-life date to be confirmedConfirm support windows with Tiger Data or your managed provider before setting a deadline.

The documented path for a TimescaleDB major version upgrade

This sequence moves each database in a self-hosted PostgreSQL instance from one TimescaleDB major version to the next, while keeping backups, policy settings and query behavior checkable at every stage. The order matters because the PostgreSQL and TimescaleDB pairing decides whether an intermediate version is needed, and each database is upgraded separately. The upgrade guide is the authority for exact commands, so confirm any step it does not cover with the vendor first.

  1. Confirm the PostgreSQL and TimescaleDB pairing

    Start by recording the PostgreSQL major version and the TimescaleDB version currently installed in each database, then check the target pairing in the major upgrade guide. The guide states that no single TimescaleDB version supports every PostgreSQL version, so an upgrade that also moves PostgreSQL may need an intermediate TimescaleDB version first. Your DBA or platform engineer owns this check. It is done when you have a written sequence of versions, from current to intermediate (if any) to target, that every database in the instance can follow.

  2. Take a backup before any change

    Take a backup of the PostgreSQL instance before any extension change, so the cluster can return to its pre-upgrade state if the upgrade fails. The database team takes it with the tooling already used for this instance. It is done when a restore to a separate environment has succeeded and the team has recorded the backup identifier and time, which the rollback plan will reference.

  3. Export policy settings for each database

    Export the retention, chunk, reorder and continuous aggregate policy settings from each database before the extension changes. The guide asks for this so that the same settings can be compared after the upgrade. Store the export with the backup, and record which database owner reviewed it. The step is done when every database has a stored export and the reviewer can open it without the live instance.

  4. Run ALTER EXTENSION in each database

    Run ALTER EXTENSION for timescaledb in each database, one database at a time, using the exact commands in the guide. Databases in one PostgreSQL instance can run different TimescaleDB versions during the work, so each database moves on its own schedule and the instance stays in a mixed state until the last one finishes. The database owner runs the command and records the version each database reports. The step is done when every database reports the target version and the record matches the pairing plan from the first step.

  5. Check logs for failed retention policies

    Read the PostgreSQL and TimescaleDB logs for each upgraded database and look for failed retention policies. The guide calls out this check specifically, so it should happen before anyone treats the upgrade as finished. The database owner compares any failure against the stored policy export and records the fix or the open issue. The step is done when the logs show no failed retention policies, or each failure has a recorded fix and a re-test.

  6. Verify queries, policies and jobs

    Run the application's key time-series queries against each upgraded database and compare the results with outputs your team recorded before the backup. Then confirm that scheduled jobs, continuous aggregates and policies match the exported settings and are still running. If no baseline was recorded, agree the expected outputs with the query owners before testing. The step is done when the agreed queries return the expected results, the jobs have run on schedule, and the analytics and platform owners both sign off.

Which upgrade changes affect your team most

No published change-by-change list of behavior changes is available for this comparison, so read the release notes for your target version before planning. The cards below cover the documented areas of risk, each tied to the team that carries it: database administrators, operations, platform owners and whoever chooses the edition.

PostgreSQL version pairing

No single TimescaleDB version supports every PostgreSQL version, so a PostgreSQL upgrade may need an intermediate TimescaleDB version before the final one. This affects the DBA and platform team that owns both engines, because the sequence of steps determines which versions you pass through. Check that your current TimescaleDB version supports your target PostgreSQL version, and schedule the intermediate step into your change window before you touch production.

Major upgrade guide

Per-database extension upgrades

The upgrade runs ALTER EXTENSION in each database, so databases in one PostgreSQL instance can run different TimescaleDB versions during the transition. This matters when several applications share one cluster, because a partly finished rollout leaves mixed TimescaleDB versions that application owners and monitoring must tolerate. Take a backup before the first command, and keep a written record of which database moved and when, so the rollback scope stays clear.

Exported policy settings

Export retention, chunk, reorder and continuous aggregate settings before a major upgrade, so you can compare them with the new version afterward. Export before you upgrade is the step most often skipped under time pressure, and retention is where a mistake costs data. The owner of each retention rule should review the export and sign off on it. Store the export with the change record, and confirm that each scheduled job appears and runs on the new version.

Failed retention policies in logs

The upgrade guidance says to check logs for failed retention policies. A retention job that did not run leaves data in place longer than your policy states, which affects storage capacity and any retention commitment you have made. Operations teams should search the PostgreSQL logs after cutover, list each failed job, and fix or rerun it before the change is closed. Add this check to the runbook so it runs on every future upgrade too.

Managed platforms set their own versions

Managed services publish their own TimescaleDB version lists. Microsoft's extension list for Azure Database for PostgreSQL flexible server shows timescaledb at 2.24.0 on PostgreSQL 15 to 18 and 2.15.3 on PostgreSQL 14. The extension also requires allowlisting and an entry in shared_preload_libraries, so the provider's list sets your target version. Check that list for your target PostgreSQL version, and confirm with AWS or Google Cloud whether they offer TimescaleDB before you plan around either.

Azure extension list

Community Edition features

Continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill are Community Edition only. The Apache 2 Edition does not include them, so a build change is a separate decision from the version upgrade. Confirm which edition each database runs, and ask your legal team how the Timescale License applies to your internal use and any service you offer.

Editions page

Which workloads depend on Community Edition features during the upgrade

Policy handling only matters if your workloads use Community Edition features. In TimescaleDB, those are continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling and functions such as time_bucket_gapfill. Tiger Data's editions page lists these as available only in Community Edition, and the Apache 2 Edition does not include them. A team on the Apache 2 build therefore has less policy state to export and verify after the upgrade. Before you set the upgrade window, check each database in the instance for these objects and record the result per database. The upgrade runs ALTER EXTENSION in each database, and databases in one PostgreSQL instance can run different TimescaleDB versions, so an instance-level answer hides the work.

Once you know which features are in use, the policy export becomes the core task. Tiger Data's major upgrade guide says to export retention, chunk, reorder and continuous aggregate policy settings before the upgrade, and to check logs for failed retention policies. Store the exported definitions with the upgrade runbook, then compare the job list after the upgrade against that export and confirm each policy runs on schedule. A retention policy that was already failing before the upgrade will still be failing after it, so make the log check a pre-upgrade gate and fix any failing policy before the window opens. Take a backup first, as the same guide advises, so you have a restore point if the policy export turns out to be incomplete.

The license question comes before the technical plan when the database supports a product your customers use. Under the Timescale 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 can be sold as a service, so it is the build to compare against if the platform is customer-facing. If it is, review the upgrade plan with counsel before you schedule it, and ask counsel to confirm how any hosted or managed delivery of your product fits the Timescale License terms. Also confirm that the features you depend on are available in the build you choose, since the Apache 2 build removes continuous aggregates, the columnstore and retention policies.

Backup and policy export are the restore points before any change

The sequence starts with a version pairing check, because no single TimescaleDB version supports every PostgreSQL version, so an intermediate TimescaleDB step may come first. Next comes the backup, the restore point Tiger Data's guidance centers on, followed by an export of retention, chunk, reorder and continuous aggregate policy settings, which is the second restore point. Then ALTER EXTENSION runs in each database. Check the logs for failed retention policies, verify the result, and decide to go or stop. A stop leads back to the backup. The sources reviewed do not document a downgrade procedure, so confirm one with Tiger Data before relying on it.

Upgrade sequence with the backup and policy export marked as restore points.

How to prepare backups, policies and extensions by environment

On your own servers or VMs you control every step, so most of the work is preparation. The upgrade runs ALTER EXTENSION database by database, so one PostgreSQL instance can host databases on different TimescaleDB versions while the upgrade is in progress.

  • Backups: Take a full backup and test a restore on a separate host before running any upgrade statement, because the Tiger Data guide says to back up first.
  • Staging copy: Restore a recent copy to staging on the target PostgreSQL version, run the upgrade there, and time it against data close to production volume.
  • Policy export: Export retention, chunk, reorder and continuous aggregate settings before the upgrade, then check logs for failed retention policies afterward.
  • Version pinning: Pin the TimescaleDB and PostgreSQL package versions in your configuration management so an OS update cannot move either one during the window.

Ask your package repository owner which TimescaleDB builds they carry for your target PostgreSQL version, then confirm the intermediate version step in the major upgrade guide. The latest release on GitHub is 2.32.2, published 2026-12-01, so check whether that line supports your target before you pick a release.

Testing and rollback for a TimescaleDB major version upgrade

Test the upgrade on a staging copy restored from a recent backup, and treat that run as the rehearsal for the change window. Repeat the production sequence exactly: run ALTER EXTENSION in each database that holds TimescaleDB, then compare the policy state against the export you took beforehand, covering retention, chunk, reorder and continuous aggregate policies. Check the logs for failed retention policies, which the Tiger Data guide tells you to do after the upgrade. Then confirm the jobs actually ran. A retention or continuous aggregate policy that exists but never executes fails silently, so check job run history, not only the policy definitions.

Next, test the application queries that depend on time_bucket_gapfill and continuous aggregates. Run each one against the upgraded staging copy and compare its output with the pre-upgrade baseline, checking row counts, gap-filled values and data freshness. Freshness matters because a continuous aggregate can return results that look plausible while reflecting older data. Both features belong to the Community Edition under the Timescale License, so if your fleet runs the Apache 2 Edition, confirm which functions your application calls before you build this test. Write the go or stop criterion before the window opens. For example (illustrative): any failed retention job, any mismatch against the policy export, or any query whose output differs from baseline means stop.

Plan rollback as a restore from the pre-upgrade backup. The Tiger Data major upgrade guide centers on that backup and does not document a separate downgrade path, so the backup is your rollback. Verify it before the change window by restoring it to a separate host and checking the extension version, the policy export and sample row counts. Because each database is upgraded with its own ALTER EXTENSION, an instance can end up with mixed TimescaleDB versions if the change stops partway, so log which databases changed and in what order. Confirm the rollback approach with Tiger Data before the window, including whether any other path is supported for your PostgreSQL and TimescaleDB versions.

What a TimescaleDB major upgrade costs and who should run it

What drives the cost of a TimescaleDB major upgrade?

The cost follows the amount of work in the agreed scope, and the main drivers are how many databases you run and how much must be tested. One-time work covers planning, the inventory of databases and policies, rehearsal on a staging copy, the production upgrade itself and the rollback preparation. Recurring work covers the next major upgrade, monitoring, and keeping PostgreSQL and the extension patched. Your internal team is paid for its time. An outside firm is paid for the scope it agrees to in writing. Costs rise with database count, hypertable and policy count, the number of PostgreSQL version steps and the amount of compliance evidence you need. Ask any provider for a quote that lists each phase, who performs it, what you must supply and which items recur. DeployOpen does not publish a price list, and a quote follows from the written scope.

How long does a TimescaleDB major upgrade take in practice?

The timeline depends on the scope, and no single duration fits every environment. The main variables are database size, the number of databases on each instance, the number of retention, compression, reorder and continuous aggregate policies, and how much testing you require before production. One small database with a current staging copy is a much shorter job than a fleet of databases that each need application regression tests. Ask for the timeline in the written scope, broken into phases: inventory, staging rehearsal, change window and post-upgrade checks. Confirm whether freeze periods or change board dates set the calendar, since those can add elapsed time beyond the technical work. Also ask who signs off each phase, because approvals often take longer than the upgrade commands.

What does a TimescaleDB major upgrade need from our team?

It needs access, a verified backup, named owners and an agreed change window before work starts. List these in the scope document so nothing blocks the window.

  • Access: administrative access to the PostgreSQL hosts or cloud console, plus read access to logs and policy definitions.
  • Backups: a backup taken before the upgrade, with a restore check your own team has run.
  • Owners: a named database owner, plus an owner for each application that reads the data, to confirm behavior after the upgrade.
  • Change window: a fixed window with a rollback decision point and a named person authorized to call the rollback.

Confirm in writing which of these your team supplies and which the outside provider expects to supply.

Can our internal DBA team run a TimescaleDB major upgrade alone?

Yes, if the team follows the documented upgrade guide, rehearses on a tested staging copy and owns the rollback plan. The guide runs ALTER EXTENSION in each database, so databases in one PostgreSQL instance can be checked and upgraded one at a time. Before you start, export policy settings for retention, chunk, reorder and continuous aggregate policies, and afterward check logs for failed retention policies. Your DBAs should also map the PostgreSQL version change, because no single TimescaleDB version supports every PostgreSQL version, and an intermediate extension step may be needed. If the team lacks a staging copy, a tested backup process or time inside the change window, bring in outside help for that part only, and keep the runbook in your own hands.

When should we bring in outside help for a TimescaleDB upgrade?

Bring in outside help when the upgrade carries more coordination or evidence than your team can absorb. The usual triggers are:

  • Many databases: a large number of databases on shared instances makes the sequencing and checks easy to get wrong.
  • A PostgreSQL version gap: the PostgreSQL upgrade and the TimescaleDB upgrade must be sequenced, possibly through an intermediate extension version.
  • Compliance evidence: assessors will ask for change records, test results and rollback proof.
  • No staging environment: there is no tested copy to rehearse on.

DeployOpen plans, implements, backs up, upgrades and documents self-hosted open-source platforms in your own infrastructure, and it prepares evidence for compliance assessments without issuing audit reports or certifications. Confirm that the scope covers the TimescaleDB edition you run before work starts.

Does a managed TimescaleDB service remove the upgrade work?

A managed service removes the self-run upgrade of the extension and PostgreSQL, but only within the provider's supported version list and feature set. Self-hosting means your team schedules, tests and reverses each upgrade, including backups and change windows. A managed provider takes over much of that cycle, but you still need to check which TimescaleDB versions it offers for your PostgreSQL version, when it schedules upgrades and whether its maintenance window fits your own. Cloud extension lists differ: Microsoft's list for Azure Database for PostgreSQL flexible server shows version ranges by PostgreSQL release and requires allowlisting and shared_preload_libraries, so check it against your target version. Tiger Cloud is Tiger Data's own managed service, so confirm which features your plan includes and where your data lives.

How DeployOpen plans and runs TimescaleDB upgrades

DeployOpen plans and runs TimescaleDB major version upgrades inside your own infrastructure, including cloud accounts, data centers or air-gapped networks. Scope, deliverables and timelines are agreed in writing before work starts, and most engagements are fixed-scope. Ongoing upgrades, support and continuous testing are available as retainers.

How we scope

  • The written scope names each PostgreSQL instance, database and TimescaleDB version involved in the upgrade.
  • Scope covers the PostgreSQL upgrade too, since one TimescaleDB version may not support every PostgreSQL version.
  • The scope lists the policy settings to export and the logs to check for failed retention policies.

How we build

  • Build a rehearsal environment that mirrors production PostgreSQL and TimescaleDB versions before any change.
  • Run ALTER EXTENSION in each database, so databases on one PostgreSQL instance can move at separate times.
  • Take a verified backup first, then script the upgrade steps so every change is repeatable and logged.

How we hand over

  • The written scope defines deliverables, such as a runbook, rollback steps and the post-upgrade check results.
  • Rollback steps are documented against the backup taken before the upgrade, with the restore tested in rehearsal.
  • Documentation and configuration stay in your environment, so your team can follow later upgrades.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement.
  • Confirm against Tiger Data's major upgrade guide which TimescaleDB release supports your target PostgreSQL version.
  • Ask whether your quote covers post-upgrade monitoring of retention jobs and logs, and who responds to failures.

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.