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.Midentifies a version, for example26.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.patchincreases 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.buildcounts 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, compareYY,Mandpatch.
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 examplev26.11.1.2942-stable.lts(long-term support): the versions released in March and August, that isYY.3andYY.8, for examplev26.8.2.7-lts.
- 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.
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
system.build_options:
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: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().