ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin a75559aa36 Avoid recreation of system.asynchronous_metric_log (due to difference in codec)
From the log:

    2022.04.29 12:33:40.397528 [ 486 ] {} <Debug> SystemLog (system.asynchronous_metric_log): Existing table system.asynchronous_metric_log for system log has obsolete or different structure. Renaming it to asynchronous_metric_log_352.
    Old: CREATE TABLE system.asynchronous_metric_log (`event_date` Date CODEC(Delta(2), ZSTD(1)), `event_time` DateTime CODEC(Delta(4), ZSTD(1)), `metric` LowCardinality(String) CODEC(ZSTD(1)), `value` Float64 CODEC(Gorilla, ZSTD(3))) ENGINE = MergeTree PARTITION BY toYYYYMM(event_date) ORDER BY (metric, event_date, event_time) SETTINGS index_granularity = 8192
    New: CREATE TABLE system.asynchronous_metric_log (`event_date` Date CODEC(Delta(2), ZSTD), `event_time` DateTime CODEC(Delta(4), ZSTD), `metric` LowCardinality(String) CODEC(ZSTD), `value` Float64 CODEC(Gorilla, ZSTD(3))) ENGINE = MergeTree PARTITION BY toYYYYMM(event_date) ORDER BY (metric, event_date, event_time) SETTINGS index_granularity = 8192

As you can see the difference in default ZSTD level.

P.S. I decided not to fix the printer, since this may introduce changes
in metadata, that may lead to changes in metadata between ZooKeeper and
clickhouse server.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-30 12:19:29 +03:00
.github Update docs_check.yml 2022-04-30 11:55:39 +03:00
base Merge pull request #36715 from amosbird/refactorbase 2022-04-30 09:40:58 +03:00
benchmark Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
cmake Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup 2022-04-26 09:42:47 +02:00
contrib Merge pull request #35914 from DevTeamBK/FIPS_compliance 2022-04-29 21:08:51 +03:00
docker Fix GIT_DOCS_BRANCH with the same branch as checked out 2022-04-29 15:23:25 +02:00
docs Merge pull request #36425 from ClickHouse/pool-size-hot-reload 2022-04-29 17:24:12 +02:00
packages Fix strange whitespace (or I do not know YAML) 2022-04-24 22:38:59 +02:00
programs Merge pull request #36472 from ClickHouse/sanity-checks-message-fix 2022-04-30 09:44:21 +03:00
src Avoid recreation of system.asynchronous_metric_log (due to difference in codec) 2022-04-30 12:19:29 +03:00
tests Merge pull request #36731 from azat/fix-async_inserts_stress_long-test 2022-04-30 09:41:20 +03:00
tools/clickhouse-diagnostics Style fixes 2022-04-29 09:21:05 +01:00
utils Merge pull request #36715 from amosbird/refactorbase 2022-04-30 09:40:58 +03:00
website Merge pull request #36628 from qoega/versions-history 2022-04-26 09:22:14 +03:00
.clang-format add BeforeLambdaBody to .clang-format 2022-02-11 16:51:45 +01:00
.clang-tidy Merge pull request #36444 from rschu1ze/clang-tidy-fixes 2022-04-21 16:11:27 +02:00
.editorconfig Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.gitattributes mark test data as binary 2022-01-22 03:19:47 +03:00
.gitignore Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
.gitmodules Moved submodules from ClickHouse-Extras to ClickHouse 2022-03-12 02:11:07 +01:00
.pylintrc Add pylintrc config 2021-01-26 23:35:56 +03:00
.vimrc Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.yamllint Drop truthy.check-keys from yamllint (does not supported on CI) 2021-02-21 06:15:36 +03:00
AUTHORS Update AUTHORS 2021-09-22 11:38:03 +03:00
CHANGELOG.md Preparation 2022-04-22 03:34:57 +02:00
CMakeLists.txt Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup 2022-04-26 09:42:47 +02:00
CODE_OF_CONDUCT.md Add minimal code of conduct #9676 2020-03-16 12:44:28 +03:00
CONTRIBUTING.md Mention ClickHouse CLA in CONTRIBUTING.md (#32697) 2021-12-14 03:47:19 +03:00
format_sources allow several <graphite> targets (#603) 2017-03-21 23:08:09 +04:00
LICENSE Update year 2022-01-27 01:01:27 +03:00
PreLoad.cmake Hermetic shared build 2021-12-20 16:59:42 +08:00
README.md Move codebrowser out of Yandex 2022-03-01 20:15:43 +01:00
SECURITY.md Update SECURITY.md (#35375) 2022-03-18 00:35:03 +03:00

ClickHouse — open source distributed column-oriented DBMS

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time.

  • Official website has a quick high-level overview of ClickHouse on the main page.
  • Tutorial shows how to set up and query a small ClickHouse cluster.
  • Documentation provides more in-depth information.
  • YouTube channel has a lot of content about ClickHouse in video format.
  • Slack and Telegram allow chatting with ClickHouse users in real-time.
  • Blog contains various ClickHouse-related articles, as well as announcements and reports about events.
  • Code Browser (Woboq) with syntax highlight and navigation.
  • Code Browser (github.dev) with syntax highlight, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.