ClickHouse upgrades and support

Keeping self-hosted ClickHouse on a supported release takes a release track, tested upgrades and a clear owner for each step. This page shows what a partner covers and what it costs to keep in-house.

On this page

When ClickHouse upgrades and support work is worth outsourcing

Most teams running a self-hosted ClickHouse cluster handle upgrades in-house for routine stable releases, and bring in a partner when the upgrade carries risk they cannot absorb with their current staff and test capacity. The decision is less about whether the team can run an upgrade and more about whether it can do so on a predictable calendar while ingestion and analytics keep running. ClickHouse server is licensed under the Apache License 2.0, so the software is free to run in your own infrastructure, and that freedom comes with a clear consequence: nobody else sets your upgrade calendar. The upgrade calendar is your responsibility, including watching which versions remain supported and when.

The triggers are usually predictable. A version you run drops out of the list of versions receiving security updates in the ClickHouse security policy, a security fix ships that you must apply quickly, or your team plans a move to a new LTS line, which the production FAQ says ships twice a year and is supported for a year. An unplanned trigger is the most expensive: an outage that starts after an upgrade forces a rollback decision, and the rollback is only safe if you have a tested backup and a confirmed restore path. Confirm with your own engineers how long your current cluster would take to rebuild from backup, because that number, not the upgrade itself, usually determines how much risk the business accepts.

Before deciding, ask who on your team owns each step: reading the changelog for backward-incompatible changes, rehearsing the upgrade in a pre-production environment with representative data and queries, scheduling rolling restarts across replicas and Keeper nodes, and proving that restores still work. A partner's support agreement should state which of these it covers, which versions it supports, how quickly it responds to security advisories and whether it includes restore testing. Ask for those terms in writing and compare them with the staff hours your team can commit each quarter.

What an upgrade and support engagement covers

An upgrade and support engagement turns version choice into a repeatable process for your ClickHouse estate. Each component below produces a document or setup you keep, and the full scope is agreed in writing before work starts. Security certification and audit reports are not part of the engagement.

Version and support inventory

We record every ClickHouse server version in your estate, including shards, replicas, Keeper nodes and any test clusters, and compare each one against the versions the security policy lists as currently supported. Anything outside that list is flagged with its risk and a target version. You keep the inventory as a living record of versions, hosts and owners. Confirm with your team which clusters have drifted from the others, because mixed versions are often the first finding.

Security policy

Release track decision

We help you choose between the monthly stable track and the twice-yearly LTS track based on your change tolerance, your ability to test, and how quickly you need security fixes. The decision is written down with the reasons, the release line chosen, and the conditions that would trigger a change. You keep a one-page track policy that your change board can approve. Ask whether your workloads rely on any feature that is new in a release line you are considering.

Production FAQ

Upgrade runbook with rollback

We write a step-by-step runbook covering the order of upgrades across Keeper nodes and replicas, health checks between steps, and the criteria for stopping. Each step has a named rollback path, including what to do if a replica fails to sync after restart. You keep the runbook under version control with the commands, config keys and file names your operators will use. Confirm your maintenance window and who holds approval to stop the upgrade.

Pre-production upgrade tests

We run the target version against a pre-production environment loaded with representative data and your real query set, then compare results, performance and error logs with the current version. Changelog entries that could affect your queries are checked one by one, since minor backward-incompatible changes can occur. You keep the test report, the query comparison results and a list of required query or config changes. Ask for the dataset size and query coverage to be agreed in the scope.

Production upgrade window and post-upgrade checks

We carry out the production upgrade inside the agreed window, following the runbook and the tested order. After each node returns, we check replication status, replica sync, merge backlog and query latency against a baseline recorded before the change. You keep a signed-off change record with timings, checks and any deviations. A recovered replica syncs missing data from a healthy replica automatically, but we still verify that sync finished before moving on.

Ongoing support and retainer scope

Ongoing support covers tracking new releases in your chosen track, testing security updates, planning later upgrades, and responding to incidents within the retainer terms. The retainer defines response expectations, included upgrade cycles and what falls outside the agreement. You keep a support calendar and an escalation sheet. Ask for the response terms in writing, and confirm which items, such as backup restore tests, are included or priced separately.

Backup docs

Choosing between monthly stable and twice-yearly LTS releases

Stable releases suit most production clusters. ClickHouse ships stable releases roughly monthly, and the three latest stable releases receive diagnostics and bug fix backports. LTS releases ship twice a year and are supported for one year after release. The ClickHouse production FAQ recommends stable releases for most production use, so the default choice for a self-hosted cluster is the stable track, with an LTS line chosen when your change control process cannot absorb a release roughly every month. Choose the track deliberately, because it sets how often your team must test and roll out upgrades, and whether a fix for a security issue can be applied without moving to a newer feature line.

Confirm the supported list before you plan. The ClickHouse security policy currently lists versions 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and all other versions as unsupported. Support status changes as new releases ship, so check the list in the security policy and the ClickHouse releases page on the day you plan, and record the date you checked in your upgrade plan. Any cluster running a version outside that list should be scheduled for upgrade first, because it no longer receives security fixes and the planning window starts from that point.

Read the changelog before every move. The production FAQ warns that minor backward-incompatible changes can occur, even within a supported line. Before each upgrade, read the changelog entries between your current and target versions, look for changed defaults, removed settings and altered query behavior, and check whether any of your ingestion jobs, dashboards or application queries depend on them. Use that review to decide whether the target goes into pre-production first, and to set the rollback point you will rely on if the upgrade must be reversed.

What drives ClickHouse upgrade cost and duration

This table lists the factors that move the effort of a ClickHouse upgrade and the ongoing support load, with a note on how to keep each one manageable. Read it before asking for a quote, because the same upgrade can take very different effort depending on cluster layout and table count. The main takeaway is that consolidating clusters and standardizing table definitions usually reduce effort more than any single tuning change.

DriverWhy it moves effortHow to keep it down
Number of clusters and shardsEach cluster needs its own rolling upgrade order, health checks and rollback point, so effort grows with every separate cluster.Consolidate workloads where isolation allows it and document one upgrade runbook shared across clusters.
Number of ReplicatedMergeTree tablesEach replicated table must be checked for replication health and readiness after a version change, and more tables mean more checks to script and verify.Standardize table definitions and engine settings so one check pattern covers most tables.
Keeper topologyKeeper runs on dedicated hosts in production and must be upgraded and verified alongside the servers, with quorum kept during each restart.Keep the Keeper layout simple and confirm the replication guide's node count and host placement before scheduling work.
Data size and retention policyLarger datasets lengthen replica resync after restarts and make a full restore test slower and more expensive to run on spare hardware.Set retention and partitioning early and test restores on a representative subset rather than the full dataset.
Ingestion pipelines and external consumersEvery producer and dashboard that reads ClickHouse must be checked for query and format compatibility after changes in the changelog.Maintain an inventory of pipelines and consumers with owners, and test each against pre-production before the production window.
Custom settings and external authenticatorsCustom server configuration, LDAP, Kerberos, X.509 or JWT integrations each need retesting after an upgrade, since authentication failures often appear late.Keep configuration in version control and document which authenticators are in use.
Number of environmentsEach environment needs its own upgrade run, so pre-production copies with representative data add time before production work starts.Limit environments to what is needed and automate the upgrade steps so each run repeats the same sequence.
Release track (stable or LTS)Monthly stable releases mean more frequent upgrades, while LTS lines reduce frequency but still require moving to a supported line within the support window.Confirm the track against the production FAQ and the security policy, and plan upgrade cycles around the supported version list.
Compliance evidence neededAuditors often ask for change records, test results, backup restore evidence and version support status, which adds documentation work to each upgrade.Agree the evidence list in advance and capture it during each run instead of reconstructing it afterward.

How a ClickHouse upgrade moves from test to production

The sequence turns an upgrade from a version jump into a documented change: each phase produces a record that the next phase depends on, and production only changes after a restore test has proven the backups.

  1. Inventory the current version, configuration and clients

    Record the running server version on every node, the configuration files and settings profiles, the table engines and sort keys in use, and the client drivers and integrations that connect to the cluster. The team responsible for the platform does this work, with the database owner confirming which applications depend on which tables. The output is an inventory document that names the current version, the target version and every component that could break. The step is done when someone outside the platform team can read the inventory and identify what would be affected by a change.

  2. Review the changelog and write impact notes

    Read the release notes for every version between the current build and the target, paying attention to backward-incompatible changes, which the ClickHouse production guidance says can occur even in minor releases. Compare each item against the inventory and record which settings, functions, data types or client behaviors need action. Confirm the target line is still supported by checking the security policy. The output is a short impact note listing each change, its owner and the decision taken. The step is done when every flagged item has a disposition, even if that disposition is no action required.

  3. Upgrade a pre-production cluster with representative data

    Build or refresh a pre-production environment with a representative copy of the data and a replay of real queries and ingestion traffic, then upgrade it using the same procedure planned for production. Compare query results, error rates, memory use and ingestion throughput against the current version using the same workload. The platform team runs the upgrade and the application owners review the query results. The output is a test report with pass or fail results per query group and any configuration changes that were needed. The step is done when the team accepts the report and the change list for production is final.

  4. Verify a backup restore on a spare cluster

    Before touching production, restore a recent full or incremental backup to a spare cluster and confirm that the restored tables match the source in row counts, checksums and sample queries. The ClickHouse backup documentation warns that a backup never test-restored will probably not restore properly when needed, and replication alone does not protect against human error or corruption. The platform team performs the restore and the data owner signs off on the results. The output is a restore record naming the backup, the restore time and the comparison results. The upgrade is not treated as safe until this record exists.

  5. Roll the upgrade replica by replica in production

    Upgrade one replica at a time, starting with a node in a shard that has healthy peers. Before each node restarts, check that ClickHouse Keeper has a quorum, that the replication queue is draining and that no other replica in the same shard is down. A recovered replica automatically syncs missing data from a healthy replica, so sequencing matters: take down only one replica per shard at a time and wait for it to rejoin and catch up before moving on. The output is a change log showing each node, its version, the replication status after restart and the Keeper status. The step is done when every replica reports the target version and no replication lag remains.

  6. Run post-upgrade checks on queries, ingestion and backups

    After the last node is upgraded, rerun the query suite from pre-production against production, confirm that ingestion pipelines write without new errors and that dashboards and alerts still fire. Run a scheduled backup on the new version and confirm it completes and can be listed. Review server logs and system tables for new warnings. The output is a verification record that compares results with the baseline inventory. The step is done when the operations owner signs that the post-upgrade checks match the pre-production results.

  7. Hand over and set the support schedule

    Transfer the runbook, impact notes, test reports, restore record and change log to the operations team, and record the version in the support calendar. Decide whether the cluster will follow the monthly stable line or the twice-yearly LTS line, and note the date each version leaves support, using the security policy as the source. Confirm with the support provider what the agreement covers, including response, patch backports, and whether upgrades are included. The output is a handover pack and a dated support plan that the customer owns. Ask any support provider to name the versions they cover in writing before signing.

Which upgrade and support work stays in-house and what a partner takes

The platform or DBA team keeps ownership of the cluster, so it decides when a version changes and approves every production change. A partner can build the upgrade path around that decision, but the production window, rollback criteria and go or no-go call stay with your team. Your engineers also need to operate the result after handover, which means the work must be understood, not just delivered.

  • Change approval and windows: Your change board approves the target version, the production window and the rollback plan.
  • Inventory and version pinning: A partner can document running versions across nodes, Keeper and clients, but your team confirms what is actually deployed.
  • Changelog review: A partner can analyze release notes for backward-incompatible changes, while your DBAs judge their effect on your queries and settings.
  • Runbooks and rollout execution: A partner can write runbooks and support rollout, while your staff hold the operator role during production steps.
  • Skills required: ClickHouse operations, Linux administration, network and TLS configuration, and restore practice from tested backups.

Check that at least two named engineers on your side can run a rolling upgrade and a restore without outside help before the first production change.

What goes wrong in ClickHouse upgrades and how to prevent it

Most ClickHouse upgrade and recovery problems trace back to a few avoidable habits: running unsupported versions, changing without reading the release notes, testing on unrealistic data, and trusting replication as a backup. Each risk below pairs a prevention step with a check you can run to confirm it is in place.

Running a version that has left support

The security policy lists only specific versions as supported with security updates, and every other version is unsupported. A cluster that falls behind can keep running while silently losing security fixes. Prevention: record the exact server version on every node, compare it against the current support list, and schedule upgrades before a line drops out. Check: a monthly inventory query or script that reports each node's version and flags any that are not on the supported list.

Security policy

Upgrading without reading the changelog

The production guidance says to read the changelog before upgrading because minor backward-incompatible changes can occur. Settings defaults, function behavior and query output can change between releases, and these changes surface as broken dashboards or failed ingestion jobs rather than as errors at install time. Prevention: make changelog review a written gate in every upgrade ticket, listing the incompatible changes that touch your schema, queries and settings. Check: a signed-off checklist per upgrade that names each changelog item reviewed and its impact.

Production FAQ

Skipping pre-production tests with unrepresentative data

A pre-production cluster with a small sample of synthetic rows will not reveal slow queries, memory pressure or merge behavior that appear at production volume. The production guidance recommends an environment with representative data and queries. Prevention: keep a pre-production copy seeded with a recent, anonymized slice of real tables and replay the dashboards and ingestion jobs that matter. Check: a query replay report comparing run times and error counts before and after the upgrade, with any regression investigated before rollout.

Treating replication as a backup

Replicated tables keep copies in sync, so a bad DROP or a corrupted write is copied to every replica. The backup documentation states that replication alone does not protect against human error or corruption. Prevention: run scheduled BACKUP jobs to storage outside the cluster, with full and incremental backups defined for each critical table or database. Check: confirm that a backup completed for each target in the last cycle and that its destination is independent of the cluster's own disks.

Backup and restore docs

Never test-restoring backups

The backup documentation warns that a backup never test-restored will probably not restore properly when needed. Backup jobs can report success while the restore path fails because of missing permissions, changed schemas or unexpected dependencies. Prevention: restore regularly to a spare cluster, validate row counts and checksums against the source, and time the restore so the recovery estimate is measured rather than assumed. Check: a dated restore test record for each backup target, with the validation results attached.

Losing Keeper quorum during rolling changes

Replication depends on ClickHouse Keeper, and the replication guide recommends at least three Keeper nodes on dedicated hosts in production. Restarting or upgrading two of three nodes at once removes quorum, which stops replicated writes and merges across the cluster. Prevention: restart Keeper nodes one at a time, confirm each rejoins before touching the next, and keep Keeper hosts separate from data nodes where possible. Check: a runbook step that verifies Keeper membership and health between each node change, recorded in the change log.

Minimum Keeper count
3 nodes
Replication guide

Recurring cost of keeping ClickHouse supported after go-live

This table lists the recurring and one-time cost items that keep a self-hosted ClickHouse cluster on a supported version after go-live, with what drives each one and what to ask a partner to quote. DeployOpen does not publish a price list, so use the rows as a checklist for comparing written scopes. The main takeaway is that most of the ongoing cost is staff time, standby hosts and restore testing, not the software itself.

Cost itemOne-time or recurringWhat drives it and what to ask a partner to quote
Internal engineer time for monitoring and release trackingRecurringTracking monthly stable and twice-yearly LTS releases, reading changelogs and triaging security notices. Ask who owns release tracking and how many hours per month are included.
Pre-production environment hostingRecurringCompute and storage for a copy of production schema and representative data used to test each upgrade. Ask whether the quote includes hosting or only sets it up.
Keeper nodes on dedicated hostsRecurringThe replication guide recommends at least three Keeper nodes on dedicated hosts in production, each with about 4 GB of RAM. Ask what hosts, patching and monitoring are included.
Spare cluster capacity for restore testsRecurringThe backup documentation recommends regular restore tests on spare clusters, so capacity must match enough data to validate a real restore. Ask how often tests run and who runs them.
Object storage for backupsRecurringStorage grows with retention period and backup frequency, and incremental backups reduce the increase per run. Ask which storage target is used and how retention is enforced.
Support or retainer feesRecurringDeployOpen offers ongoing support, upgrades and continuous testing as retainers, and most engagements are fixed-scope. Ask for the written scope, response expectations and what happens when a version leaves support.
Initial upgrade test and runbookOne-timeBuilding the first upgrade test plan, rollback steps and runbook for your environment. Ask for it as a fixed deliverable in the written scope.

How upgrade and support work changes by starting point

A cluster on a version outside the supported list has no security updates, so the first task is a forward move to a supported line. The supplied facts do not define a jump path between specific versions, so the plan must come from the changelog for every release between your current version and the target, and from confirmation of the intermediate steps your environment needs.

  • Testing: Restore a recent backup onto a spare cluster and upgrade that copy first, using representative data and your heaviest queries.
  • Artifacts: Pull release builds from the ClickHouse releases page and record the exact version string used at each step.
  • Change windows: Expect more than one window if the jump crosses several releases, and agree rollback criteria for each one before it starts.
  • Evidence: Keep the changelog review, test results, restore test output and sign-off for every intermediate version.

Before scheduling the first window, confirm the upgrade path with ClickHouse documentation and your own test results.

What the client needs to provide before an upgrade engagement starts

Three decisions come before any inventory work starts. First, choose the release track: stable releases ship roughly monthly and the three latest get diagnostics and bug fix backports, while LTS releases ship twice a year and are supported for a year. The production FAQ recommends stable for most production use, so the choice should be recorded with the reasons. Second, set the support horizon by checking the current list in the ClickHouse security policy, because any version not on that list receives no security updates. Third, name who signs off production changes. That person, not the engineers running the upgrade, should own the go or no-go call.

The client should then supply an inventory: every cluster, its current server version, table definitions with their sort keys and partitioning, and the ClickHouse Keeper layout, including node count and whether the nodes are on dedicated hosts. The engagement also needs read access to server logs and the system tables used for pre-upgrade checks, and confirmed access to backup locations and their credentials. Confirm that the backups were tested by restoring them on a spare cluster, since the backup documentation warns that an untested backup will probably not restore when needed. Name an owner for data sign-off and an on-call contact for the change window.

Finally, provide a pre-production environment with representative data and a written set of queries that matter to users, such as dashboards, alert rules and ingestion checks. Agree the maintenance windows in advance, including how long rollback must remain possible. Confirm with your own team whether the pre-production hardware matches production closely enough for performance results to carry over. The changelog for each target version should be read before testing starts, because the production FAQ notes that minor backward-incompatible changes can occur.

Questions buyers ask about ClickHouse upgrades and support

How long does a ClickHouse upgrade take and what drives the duration?

The duration depends on cluster size, the number of versions being crossed, how much of the changelog touches your schemas and queries, and how many environments must be tested before production. Replica count matters because each node is upgraded and checked in turn, and a larger dataset makes the restore test and validation runs longer. The effort drivers table on this page sets out each factor. Ask any partner for a duration only after they have reviewed your topology, your release gap and your test scope, and make sure the quote states which environments and checks are included.

Can our own team upgrade ClickHouse without a partner?

Yes, a capable internal team can upgrade ClickHouse if it follows a disciplined process. The ClickHouse production FAQ recommends reading the changelog before upgrading, because minor backward-incompatible changes can occur, and running the upgrade first in a pre-production environment with representative data and queries. Your team should also confirm that backups can be restored on a spare cluster, since the backup documentation warns that a backup never test-restored will probably not restore properly when needed. A partner adds the most value when the team lacks time, rollback experience or a second pair of eyes on the changelog.

Should we run the monthly stable track or the twice-yearly LTS track?

The ClickHouse production FAQ recommends stable releases for most production use. Stable releases ship roughly monthly, and the three latest stable releases receive diagnostics and bug fix backports. LTS releases ship twice a year and are supported for one year after release, which suits organizations that want fewer upgrade cycles and can accept a slower pace of fixes. Check the security policy and the releases page before you pick a line, because only versions listed as supported receive security updates. Whichever track you choose, plan a fixed cadence for upgrades so you never drift onto an unsupported version.

What does a support agreement cover compared with a fixed-scope upgrade?

A fixed-scope upgrade is a one-time project with written scope, deliverables and a timeline, covering a defined version move, the pre-production test, the production change and handover. A support agreement is a recurring arrangement, typically a retainer, covering ongoing monitoring, periodic upgrades, incident response within agreed hours and continuous testing. Ask for the exact list of covered versions, response expectations, what happens when a release leaves the supported list, and whether restore tests are included. DeployOpen offers fixed-scope engagements and retainers, and the written scope defines which of these items apply to your environment.

What does our organization need to provide for an upgrade project?

The partner needs access to the environment and the people who know it. Typical inputs include a current topology description, the ClickHouse versions and configuration files in use, a pre-production environment that resembles production, representative data and a set of critical queries, backup locations with restore permissions, and a change window approved by your operations team. You also need a named owner who can approve scope changes and sign off the test results. Clarify these inputs before quoting, because missing access is one of the most common causes of schedule slippage.

Can a partner guarantee that our ClickHouse deployment is secure?

No. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms in your infrastructure, and it runs security testing. It prepares controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications, and independent auditors and certification bodies perform those reviews. Security outcomes also depend on your ongoing operations, such as applying supported releases, managing credentials and reviewing access. Ask any provider to define the controls it will implement and the evidence it will deliver, rather than an outcome it cannot control.

How do we get a quote for an upgrade from a written scope?

DeployOpen does not publish a price list. Most engagements are fixed-scope, so a quote follows from a written scope that names the current and target versions, the environments in scope, the test and restore checks, the change window, the handover material and your inputs. Include your cluster topology, Keeper layout, backup setup and any custom settings or integrations so the provider can account for them. Ask the provider to separate one-time project work from recurring support, and confirm in writing what is excluded, such as application changes in dependent systems.

How DeployOpen scopes, delivers and supports ClickHouse upgrades

DeployOpen plans, implements, tests, documents and supports self-hosted open-source platforms inside your own infrastructure, and ClickHouse upgrades follow the same pattern. Each engagement starts from a written scope that names the cluster, the release line you will run and the test evidence you need before production.

How we scope

  • Inventory of running ClickHouse versions, cluster topology, Keeper nodes and the release line you intend to follow.
  • Written decision on stable or LTS releases, based on your support window and change tolerance.
  • Agreed fixed-scope deliverables, pre-production environment requirements and the list of changelog items to review.

How we build

  • Pre-production cluster built with representative data volumes and your production query set.
  • Upgrade rehearsal run in order across replicas, with replication health and query results checked after each step.
  • Backup and restore test on a spare cluster before any production upgrade window is approved.

How we hand over

  • Written upgrade runbook covering rollback steps, Keeper handling and version pinning in your configuration management.
  • Changelog review notes listing backward-incompatible changes that affect your schemas, queries or settings.
  • Documented support calendar showing which versions are on security updates, so your team can plan the next upgrade.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • Retainer scope can cover monitoring of new stable and LTS releases and rehearsal of each upgrade before rollout.
  • Ask any provider to confirm response times, named contacts and what the retainer excludes before signing.

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.