Skip to main content
A ClickHouse version has four numbers, YY.M.patch.build, and the first two are a date. The release tag v26.8.2.7-lts belongs to version 26.8, which was released in August 2026, and is patch release number 2 of that version. The suffix of the tag is the release type.

The parts of a version

  • YY.M identifies a version, for example 26.8. A new version is released about once a month and is the only place where new features appear. It can also contain backward incompatible changes, which are listed at the top of its entry in the changelog.
  • patch increases with every patch release of that version. Patch releases contain bug fixes and security fixes that were backported from the development branch, and do not introduce breaking changes. They have no fixed schedule: a patch release is published when fixes have been backported to the version.
  • build counts the commits between two releases, so it starts again with every patch release. The first release of a version has a large build number because it counts the whole development cycle (v26.8.1.2041-lts); later patch releases have small ones (v26.8.2.7-lts). It carries no meaning of its own: to order two versions, compare YY, M and patch.
The upgrade guide calls an upgrade within the same YY.M a minor version upgrade; this article calls it a patch release.

Stable and LTS releases

There are two release types:
  • stable: the regular monthly versions, for example v26.11.1.2942-stable.
  • lts (long-term support): the versions released in March and August, that is YY.3 and YY.8, for example v26.8.2.7-lts.
An LTS version is the regular monthly version of March or August. What differs is how long a version receives patch releases:
  • the three most recent versions receive patch releases, which gives a stable version about three months of support;
  • the two most recent LTS versions receive patch releases as well, each for at least 12 months.
The current list of supported versions is in SECURITY.md in the ClickHouse repository. A version that is no longer on that list gets no fixes, including security fixes. For advice on choosing between the two kinds, see Which ClickHouse version to use in production?. ClickHouse Cloud services are upgraded for you; the schedule is described in Upgrades.

Find the version of your server

The full tag, including the release type, is in system.build_options:
This output comes from a development build, which has the type testing instead of stable or lts. GIT_HASH is the commit that the binary was built from.

Version and revision are different numbers

The server also has a revision:
The revision is a separate internal counter that is increased whenever the version number is changed. It is not part of the version string and has no relation to the build number. You meet it as the revision column of system.query_log and other log tables, where it records which binary wrote the row. To tell users or support which release you run, use version().