How a ClickHouse major version upgrade works and what it involves
A ClickHouse cluster upgrades one replica at a time, with the ClickHouse server on each replica updated first and ClickHouse Keeper updated last. Nodes in the same cluster should not run versions more than one year apart, so the age gap between the oldest and newest binaries sets the order of the whole project. For a team on an older release line, check that gap before you plan. It decides whether you can move to the target in one step or must pass through intermediate versions, and it applies to every node, Keeper included, at each stage of the rolling sequence.
Confirm the current release before you choose a target. At the time of writing, the ClickHouse releases on GitHub page showed 26.9 stable and 26.8 LTS, and 26.3 LTS was still in security support on the October 16, 2026 release page and the December 2026 security policy. Those lists change faster than most change calendars, so check the security policy on the day you commit to a target. Stable releases ship about monthly, and LTS releases are supported for one year, so an LTS line you start from may leave its support window before your project ends.
We did not find a separate migration tool or a database migration step in the documented upgrade path, but confirm that in the update docs for your exact target version before you assume the binary swap is the whole job. Read the changelog for backward-incompatible changes, since the documentation asks you to review it before upgrading. Plan rollback around the same one-year rule: downgrade is documented only to a version less than one year old, and only if the cluster has not started using features that the newer version introduced. Test that rollback on a staging cluster. DeployOpen plans and runs rolling upgrades like this inside your own infrastructure. See the how-we-work page for how that work is scoped and handed over.
Which ClickHouse releases still get security updates before an upgrade
This table shows which ClickHouse lines receive security updates as of December 2026, so you can choose the version your upgrade should land on. Read the status column first, then use the confirm column to check the policy and release page before you commit. LTS lines get one year of support after release, and exact end dates are on the release page.
| Release line | Type | Security-update status | What to confirm |
|---|---|---|---|
| 26.11 | Confirm on release page | Supported. Listed in the December 2026 security policy | Re-check the policy on your planned upgrade date |
| 26.10 | Confirm on release page | Supported. Listed in the December 2026 security policy | Confirm the line type and the patch build you will install |
| 26.9 | Stable | Supported. Latest stable on the October 16, 2026 release page | Confirm the current patch build before you pin a version |
| 26.8 | LTS | Supported | Confirm the exact end-of-support date on the release page |
| 26.3 | LTS | Supported | Check the end date early, since it falls first among the listed LTS lines |
| 26.4 to 26.7 | Confirm on release page | Not listed as supported. Treat 26.7 as unconfirmed until verified | Check the current policy for each line, including 26.7, before choosing a target |
| All 25.x lines | Varies, confirm on release page | Not supported | Plan a stepped path, since one cluster should not mix versions more than one year apart |
Why the one-year rule sets how far a ClickHouse major version upgrade can jump
Stable releases ship roughly monthly, and ClickHouse supports the three latest of them with diagnostics and bug fix backports. LTS releases ship twice a year and are supported for one year after release. Those two cycles set how long a version stays in service, so the first check in any upgrade plan is which line each server runs and whether that line still appears in the supported versions list in the ClickHouse security policy. Teams on stable releases have to move on a much shorter clock than teams on LTS, because a new stable release arrives about every month. If you want a full year of support on each release, the LTS line gives you that window, at the cost of tracking a line that changes twice a year.
The one-year rule is the constraint that limits how far one upgrade can jump. ClickHouse's update guidance says that versions less than one year apart should work together in a cluster, and that you should never mix versions more than one year apart. During a rolling upgrade, replicas run mixed versions for as long as the rollout takes, so the oldest and newest binaries in the cluster must stay inside that window. Before you pick a target, run SELECT version() on every replica, then compare each running release date with the target's release date on the ClickHouse releases page. If any node sits more than one year behind the target, the upgrade cannot be done as one rolling step, and the plan has to account for that before a change window is booked. ClickHouse update docs
ClickHouse's published upgrade guidance does not describe a multi-step path that moves through several release lines, so do not assume you can hop through intermediate versions to close a gap. Before you schedule a jump from a line that is out of support or more than a year behind, confirm the path with ClickHouse in writing. Ask which intermediate versions, if any, must run, how Keeper nodes are sequenced after the servers, and which versions remain supported for the duration of the work. Also settle the rollback position now. The documentation allows a downgrade to a version less than one year old only if your cluster has not started using new features, so decide who approves enabling them and when.
The documented ClickHouse major version upgrade order for a replicated cluster
This sequence moves a replicated ClickHouse cluster to a newer major version one node at a time, so queries keep running and replicas stay compatible throughout. Each step closes with a check that tells you whether the next one is safe to start. A single server does not follow these replica steps and uses the single-node procedure in the update docs instead.
Read the changelog for breaking changes
Before anything changes, the platform owner reads the changelog for every release between the current version and the target version and lists each backward-incompatible change. ClickHouse's production guidance warns that minor backward-incompatible changes can occur, so the list should cover the full range, not only the headline release. For each item, record whether your table schemas, queries, settings or client code are affected and who will fix them. The step is done when every item on the list has an owner and a decision.
Rehearse on a pre-production cluster
The team runs the upgrade on a pre-production environment loaded with representative data and the queries production actually runs. ClickHouse's production guidance recommends this environment before any production change, because behavior differences tend to surface in the data and query shapes you use. Record query results, errors and run times on the current and target versions so the comparison rests on recorded evidence. The step is done when every difference found in the rehearsal has either a fix or a documented acceptance.
Confirm all nodes are within one year
Check the version of every ClickHouse server and Keeper node and confirm that no two versions are more than one year apart, including the target version. ClickHouse's update docs say versions less than one year apart should work together in a cluster, and that versions more than one year apart should never be mixed. If the gap to the target is too large, plan intermediate upgrades and confirm the path against the update docs before starting. Note the downgrade limit as well: ClickHouse's docs allow a downgrade only to a version less than one year old, and only if you have not started using new features. The step is done when a written version inventory shows every node inside the window.
Upgrade replicas one at a time, server first
Take one ClickHouse server replica through the upgrade, then wait for it to rejoin the cluster before starting the next. The ClickHouse update docs recommend upgrading replicas one at a time so the others keep serving data while one node is out. Repeat the pattern for every server replica in every shard, and do not start Keeper work during this phase. The step is done when every ClickHouse server replica reports the target version and has rejoined the cluster.
Upgrade Keeper nodes after server replicas
Once every ClickHouse server replica runs the target version, upgrade the ClickHouse Keeper nodes, one node at a time as with the server replicas. ClickHouse's update docs place Keeper last, after the server replicas are done. The replication guide recommends at least three Keeper nodes on dedicated hosts in production, so check that the quorum holds while each node is out and that the node has rejoined before moving to the next. The step is done when all Keeper nodes run the target version and the ensemble reports a healthy quorum again.
Confirm cluster state before closing
Before you call the upgrade finished or start follow-on work, confirm the cluster is in a known good state. Check that every server and Keeper node runs the target version, that each replica has rejoined and replication has caught up, and that the representative queries from the rehearsal return the results you recorded. Compare errors and run times against the rehearsal log. Store the final state and date in your change record so the next upgrade starts from evidence. The step is done when the checks pass and the platform owner signs off the record.
What to check for breaking changes before you move
The four checks below cover different failure points in the same move: what the new release changes, how old and new nodes coexist, what you lose if you need to roll back, and the order of restarts. Each check has a different owner, so assign them before the maintenance window opens. Treat them as gates that must pass before each stage starts.
Backward-incompatible changelog entries
Read the release notes for every version between your current server and the target, including minor releases. ClickHouse's production guidance warns that minor releases can change behavior, so a move within a stable line still needs a review. Look for changed defaults, removed or renamed settings, altered SQL behavior and changed table engine options, then match each entry against your schemas, queries and ingestion jobs. The platform or DBA lead usually owns the review, and the analytics team should confirm which dashboards and queries depend on the changed behavior.
ClickHouse releasesOne-year version gap across replicas
ClickHouse's update guidance says versions less than one year apart should work together in a cluster, and that you should never mix versions more than one year apart. Before the first restart, record the exact version on every replica and confirm that every pair falls inside that window. This check affects replication health and how long old and new nodes run side by side. The platform engineer running the rollout usually owns it, and the plan should state how long a mixed-version cluster may exist before the upgrade is finished.
ClickHouse update docsNew features that block downgrade
ClickHouse's docs say you may downgrade to a version less than one year old only if you have not started using new features. Once a table, setting or feature from the new release is in use, rolling back may stop being an option. Before enabling anything new, record the rollback point, list the features you plan to adopt, and decide which ones can wait until the upgraded cluster has been verified. The DBA or platform lead usually owns this decision, with sign-off from the data owner who requested the feature.
ClickHouse update docsKeeper and server upgrade order
ClickHouse's update guidance recommends upgrading replicas one at a time, with ClickHouse server first and Keeper only after. Keeper coordinates ReplicatedMergeTree tables, so the order determines which component is changed while the other still runs the old version. Write the sequence into the runbook, including how each node is taken out of service, checked and returned before the next one starts. The platform engineer running the change usually owns the runbook, and the on-call lead should confirm each check before the next step begins.
How the upgrade sequence and rollback points fit together
The diagram starts with changelog review, where the team lists backward-incompatible changes, and moves to a staging rehearsal on representative data. Rollback point one sits in staging, where nothing in production has changed yet. Once staging passes, replicas are upgraded one at a time, ClickHouse server first, and Keeper nodes follow only after every server replica is done. During the rolling upgrade, the documentation allows a downgrade only to a version less than one year old and only before new features are used, which is rollback point two. After new features are used, the documentation describes no downgrade path, so confirm recovery steps with ClickHouse. Finish with post-upgrade validation.
Upgrade sequence with two rollback points and a no-downgrade state.
Planning a ClickHouse major version upgrade by environment
A single ClickHouse server has no replica to take over while it restarts, so the upgrade is a planned outage on that host. Most of the effort goes into proving the target version before the window opens. Read the ClickHouse update docs before you plan, and keep the steps below in the change record.
- Staging with representative data: Restore a recent backup to a pre-production server with similar table sizes, settings and the queries your dashboards and jobs run. ClickHouse recommends a pre-production environment with representative data and queries before production upgrades.
- Changelog review: Read every release note between your current version and the target for backward-incompatible changes, because minor releases can contain them.
- Result and timing comparison: Run your critical queries on both versions, compare results and run times, and check every function, setting or format your applications depend on.
- Maintenance window: Book a window long enough for a verified backup, the stop, the binary change, startup and query checks. Size it from staging timings and name who decides on rollback before work starts.
- Rollback path: Keep the previous binary and a verified backup. Per the update docs, a downgrade is only sound to a version less than one year old, and only if you have not started using new features.
Before approving the window, confirm that staging matches production in data volume, settings and client versions.
In a replicated cluster, ReplicatedMergeTree tables depend on ClickHouse Keeper for coordination, so the coordination layer belongs in the upgrade plan from the start. The update docs recommend upgrading replicas one at a time, which keeps the rest of the cluster serving data while each node moves. Treat the order, the health checks and the version spread as the main risks.
- Keeper quorum in production: The replication guide recommends at least three Keeper nodes on dedicated hosts in production, with about 4 GB of RAM each. Check your current layout against that guidance before the first step.
- One replica at a time: Upgrade one replica, confirm it has rejoined and caught up on replication, then move to the next. Record the order so you always know which replicas run which version.
- ClickHouse server first, Keeper after: Upgrade ClickHouse server replicas first and upgrade Keeper only after, as the update docs recommend.
- Version gap rule: Versions less than one year apart should work together in a cluster, and you should never mix versions more than one year apart. If your nodes are further apart than that, plan a staged path that keeps every pair within the window and confirm it with ClickHouse before you start.
- Health checks between steps: Check replication queues, replica lag and Keeper health before each move. Set the acceptance thresholds from your staging results.
Before the first replica stops, confirm the Keeper layout, the version on every node and the rollback order in writing.
The self-hosted procedure in this topic does not describe ClickHouse Cloud. In the documentation for AWS, Azure and Google Cloud, no direct managed equivalent was found as of December 2026. ClickHouse Inc. sells ClickHouse Cloud as its own managed service, so the version change process there is set by the vendor and must be confirmed with ClickHouse Inc.
- Scope of the self-hosted guide: The server upgrade steps, Keeper planning and downgrade rules in the other tabs apply to ClickHouse you run on your own servers or clusters. Do not assume they apply to Cloud.
- Questions for ClickHouse Inc.: Ask how version changes are announced, whether you can choose the timing, how long older versions stay available and what test environment you receive before a change is applied.
- Rollback terms: Ask whether a version change can be reversed on the service, under what conditions, and what data state applies at that point.
- Your remaining responsibilities: Confirm which upgrade work stays with your team, such as client drivers, application queries and dashboards, and test those against the new version wherever you can.
- Written answers: Get the version change process in the contract or support terms so your change record can cite it.
Before you schedule any change, compare the vendor's written process with the self-hosted steps in the other tabs and note every gap.
What rollback allows during a ClickHouse major version upgrade
Rollback is narrower than most teams assume. The ClickHouse update documentation allows a downgrade only to a version less than one year old, and only if you have not started using new features. Both conditions must hold. The age check is simple: compare the release date of the version you would return to with the date of your planned downgrade. The feature check takes more work. Read the release notes for the target version, list every feature that is new in it, and confirm with ClickHouse which of those features could change how data is written to disk. That list is your decision point: once any listed feature runs in production, the downgrade option is closed.
Outside these conditions, the update documentation does not describe a rollback path, so do not plan on one. A downgrade that falls outside the one-year window, or that follows use of a new feature, has no documented route back, and a restore from backup is a separate question that the documentation does not answer for your environment. Before the upgrade, ask ClickHouse in writing which recovery options apply to your version pair and your replicated tables. Ask your backup owner whether backups taken before the upgrade can be restored to the prior server version, how long a restore would take at your data volume, and how Keeper state would be recovered, since the update order upgrades ClickHouse server first and Keeper only after. Record the answers in the change plan before the work starts.
Make the decision point a gate in the change plan, with one named owner who confirms, before any listed feature is enabled in production, that the team accepts losing the downgrade option. Assign a second person to review the release notes independently, because the list of new features decides whether the upgrade can be reversed at all. Test the upgrade on a copy of production data and check whether the new version writes anything the older server cannot read. Revisit the decision after the first production checks, and keep the upgrade reversible for as long as the team has not started using those features.
Questions buyers ask before upgrading ClickHouse
What drives the cost of upgrading ClickHouse?
Most of the cost is people time, plus the extra infrastructure that testing needs. It comes from four parts: staff time to read the changelog and find backward-incompatible changes, staff time to test queries and integrations, staging hardware close enough to production to be useful, and Keeper hosts, because replicated clusters coordinate through ClickHouse Keeper and those hosts are upgraded too. The largest swing factor is the scope of integrations, since every dashboard, ingestion job and client library that touches the cluster adds test cases. Who gets paid depends on the model. If your staff do the work, you pay internal hours. If a partner does it, you pay a fee agreed in writing for the scope you define. Staging hardware and Keeper hosts are mostly one-time costs, while the upgrade work recurs with each release, so ask any quote to separate setup from per-release effort.
How long does upgrading ClickHouse take?
No single duration fits every cluster, because the time depends on four drivers: node count, data size, test scope and the version gap. Illustratively, a small test cluster with a handful of queries is a very different job from a multi-shard cluster with dozens of dependent pipelines. The version gap matters because ClickHouse's update documentation says versions less than one year apart should work together in a cluster, and that versions more than one year apart should never be mixed, so a long-delayed upgrade needs planning around that limit. Ask for the timeline in the written scope, with the node count, data volume and test cases listed, so you can see what the estimate assumes. DeployOpen agrees scope, deliverables and timelines in writing before work starts.
What does upgrading ClickHouse need from our team?
Four inputs decide whether the upgrade stays on schedule, and each should be settled before the work starts:
- Staging access: a non-production cluster that matches production's version, topology and configuration closely enough to test against.
- Representative data and queries: a copy or sample of real data, plus the dashboards, ingestion jobs and application queries that run in production.
- A maintenance window: an agreed time when replicas can be restarted one at a time, with ClickHouse server upgraded before Keeper, as the update documentation recommends.
- A named owner for the changelog: one person who reads release notes for backward-incompatible changes and checks which ones affect your workloads.
ClickHouse's production guidance also recommends a pre-production environment with representative data and queries, so these inputs match what the vendor expects before a move to production.
Can our team run a ClickHouse upgrade without outside help?
Yes, if your team already has the skills to read the ClickHouse documentation and run the cluster. Staff who can read release notes, test queries, operate ReplicatedMergeTree replicas and run Keeper can handle a small cluster upgrade in-house. Outside help is worth weighing in three cases:
- Multi-replica clusters, where the order of server and Keeper restarts must be followed on every replica.
- Many dependent integrations, where each client, pipeline and dashboard needs a test case and someone must own the results.
- Compliance evidence, where you need documented test results, change records and rollback steps that an assessor can review. DeployOpen can prepare that evidence, but it does not issue audit reports or certifications, which independent auditors and certification bodies do.
Base the decision on your team's current skills and staffing, because the next release arrives on a similar cycle.
Should we run ClickHouse stable or LTS in production?
Stable is the default for most production use, and LTS suits teams that want a longer single release line. The ClickHouse production guidance recommends stable releases for most production use. Stable releases ship roughly monthly, and the three latest receive diagnostics and bug fix backports, so a stable team moves through versions regularly. LTS releases ship twice a year and are supported for one year after release, so an LTS team upgrades at least once a year in exchange for fewer version jumps. Choose LTS if your team wants a slower, predictable upgrade rhythm and can keep up with its support end date. Either way, read the changelog before each move, because minor backward-incompatible changes can occur. Confirm current support status against the ClickHouse production FAQ before you set a schedule.
How often do ClickHouse upgrades happen after go-live?
Upgrades recur throughout the life of the cluster, so plan them as a standing process. Stable releases ship roughly monthly, so a team that stays on stable sees new releases most months, and the security policy lists which versions receive security updates at any point. LTS releases ship twice a year and each line is supported for one year, so an LTS team still needs at least one planned move a year and must track each support end date. Each move carries the same work: changelog review, testing against representative queries, a rolling restart and evidence for your change records. Budget staff time and a maintenance window for that cycle from the start, and check the ClickHouse security policy for the current list of supported versions before you set the schedule.
Can we roll back a ClickHouse upgrade if something breaks?
Only within limits. ClickHouse's documentation says you may downgrade to a version less than one year old only if you have not started using new features. A rollback plan therefore depends on what the new version changed in your settings, schema and queries, and on whether your team has adopted any new features yet. Test the downgrade path on staging before production, not only the upgrade path. Keep the rollback steps in the change record, and decide in advance which new features you will hold back until the upgrade is confirmed. Restarting replicas one at a time limits the impact of a problem to one node at a time. Ask any partner to show the downgrade steps it will run and the point after which rollback is no longer possible.
How DeployOpen plans and runs ClickHouse upgrades
DeployOpen plans ClickHouse major version upgrades as a fixed-scope engagement inside your own infrastructure, with the scope, deliverables and timeline agreed in writing before work starts. The work covers the version path, a pre-production test on representative data and queries, the upgrade runbook and rollback plan, and the documentation your operations team keeps afterward. Ongoing upgrades and continuous testing are available as retainers.
How we scope
- We confirm your current ClickHouse version and the target release line, stable or LTS.
- The written scope lists which clusters, replicas, Keeper nodes and client applications are in the upgrade.
- Scope also states exclusions such as schema redesign or query rewrites, and who approves each step.
How we build
- We review the changelog for backward-incompatible changes and check each one against your queries, table engines and settings.
- We rehearse the upgrade on a pre-production environment loaded with representative data and your actual query workload.
- The runbook upgrades replicas one at a time, server first and Keeper afterward, with rollback points per step.
How we hand over
- Handover includes the runbook, the version compatibility plan, test results and the rollback procedure, with its limits documented.
- Rollback notes state that a downgrade is possible only within the documented window and before new features are used.
- Documentation is written so your team can repeat the next upgrade without us.
How we support
- Upgrades, continuous testing and ongoing support are available as retainers, scoped in writing separately.
- Retainers can track new ClickHouse releases, which ship stable builds roughly monthly and LTS builds twice a year.
- Security updates matter too: ClickHouse lists which versions still get security fixes, so check that before choosing a line.

