Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

ClickHouse administration and diagnostics tools

License

NotificationsYou must be signed in to change notification settings

yandex/ch-tools

Repository files navigation

licensetests statuschat

clickhouse-tools

clickhouse-tools is a set of tools for administration and diagnostics ofClickHouse DBMS.

Tools

clickhouse-tools consist of following components:

All of these tools must be run on the same host as ClickHouse server is running.

Local development (using poetry)

Requirements:

  • GNU Make version > 3.81
sudo make install-poetry# or to install in user's home directorymake POETRY_HOME=~/opt/poetry install-poetry# lintmake lint# unit testsmake test-unitmake test-unit PYTEST_ARGS="-k test_name"# integration tests (rebuild docker images using a .whl file)make test-integrationmake test-integration BEHAVE_ARGS="-i feature_name"# integration tests (supply a custom ClickHouse version to test against)CLICKHOUSE_VERSION="1.2.3.4" make test-integration# If you want to have containers running on failure, supply a flag:# BEHAVE_ARGS="-D no_stop_on_fail"# For building deb packagesmake prepare-build-debmake build-deb-package

Please note: base images for tests are pulled fromchtools Dockerhub.If you want to build base images locally, run

docker buildx bake -f tests/bake.hcl

If you want to build base images for multiple versions of ClickHouse, run:

CLICKHOUSE_VERSIONS='1.2.3.4, 5.6.7.8, latest' docker buildx bake -f tests/bake.hcl

[8]ページ先頭

©2009-2025 Movatter.jp