ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin fdeaf55b0f Increase lock timeout in attempt to fix 02125_many_mutations
Recent failures on CI [1]:

    2024.10.06 16:28:33.624022 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) system start merges many_mutations; (stage: Complete)
    2024.10.06 16:28:33.624022 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) system start merges many_mutations; (stage: Complete)
    2024.10.06 16:28:33.624408 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> TCPHandler: Processed in 0.00091483 sec.
    2024.10.06 16:28:33.624480 [ 929 ] {} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    ...
    2024.10.06 16:28:33.625358 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) optimize table many_mutations final SETTINGS optimize_throw_if_noop = 1; (stage: Complete)
    ...
    2024.10.06 16:28:37.765705 [ 929 ] {} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    2024.10.06 16:28:37.765881 [ 929 ] {} <Trace> DiskLocal: Reserved 1.00 MiB on local disk `default`, having unreserved 127.09 GiB.
    2024.10.06 16:28:37.765946 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Debug> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Waiting for currently running merges (1 parts are merging right now) to perform OPTIMIZE FINAL
    ...
    2024.10.06 16:28:37.968946 [ 1227 ] {32de70b8-ea0a-4766-ac95-8ebc7923205e::all_1_1_0_20001} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    ...
    2024.10.06 16:31:24.077825 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Information> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Cannot OPTIMIZE table: Timeout (120000 ms) while waiting for already running merges before running OPTIMIZE with FINAL. Cannot select pa>
    ...
    2024.10.06 16:31:33.473249 [ 1235 ] {32de70b8-ea0a-4766-ac95-8ebc7923205e::all_1_1_0_20001} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Renaming temporary part tmp_mut_all_1_1_0_20001 to all_1_1_0_20001 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
    ...
    2024.10.06 16:31:34.944518 [ 1268 ] {} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Removing mutation: mutation_2.txt
    2024.10.06 16:31:34.945149 [ 1268 ] {} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Removing mutation: mutation_3.txt

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/70358/eca9ec566a63a9046bb3f1c9373d671946a95ba4/stateless_tests__aarch64_.html

The problem is that after "start merges" all mutations will start, and
the OPTIMIZE may be blocked for too long due to too much mutations in
the queue.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-07 09:20:28 +02:00
.github CI: Enable Integration Tests for backport PRs 2024-10-03 17:18:30 +02:00
base Revert "Revert "Merge pull request #63279 from allmazz/mongodb_refactoring"" 2024-09-23 07:06:58 +00:00
benchmark Remove old file 2022-07-12 20:28:02 +02:00
ci_v2 Add words to dict 2024-10-06 11:35:27 +08:00
cmake Make it better 2024-10-06 02:09:30 +08:00
contrib Use libdivide v5.1 2024-10-05 14:51:23 +02:00
docker Better RabbitMQ 2024-10-03 18:39:59 +02:00
docs Fix typos 2024-10-06 11:33:59 +08:00
packages Merge pull request #60650 from peter279k/improve_init_script 2024-05-29 11:36:00 +00:00
programs Fix build with clang-19 2024-10-05 14:47:23 +02:00
rust Do not clear terminal after skim suggestions 2024-05-02 10:02:06 +02:00
src Merge pull request #70423 from ClickHouse/realtime-metrics-followup 2024-10-07 05:07:13 +00:00
tests Increase lock timeout in attempt to fix 02125_many_mutations 2024-10-07 09:20:28 +02:00
utils Add words to dict 2024-10-06 11:35:27 +08:00
.clang-format Stop clang-format trying to remove branches in for loops 2024-05-06 20:58:22 +02:00
.clang-tidy Allow to run clang-tidy with clang-19 2024-07-17 02:08:37 +02:00
.clangd Enable few slow clang-tidy checks for clangd 2023-05-13 14:08:25 +02:00
.editorconfig Do not remove trailing space in *.reference test files (by modern IDEs) by adding it to .editorconfig 2024-06-05 22:55:59 +02:00
.exrc Fix vim settings (wrong group for autocmd) 2022-12-03 21:23:24 +01:00
.git-blame-ignore-revs Add one more revision to ignore 2024-07-14 20:57:02 +02:00
.gitattributes avoid conflicts in SettingsChangesHistory 2024-07-03 15:25:12 +02:00
.gitignore xray: add global xray instrumentation support 2024-05-29 17:33:21 +03:00
.gitmodules Revert "Revert "Merge pull request #63279 from allmazz/mongodb_refactoring"" 2024-09-23 07:06:58 +00:00
.snyk Add exclusions from the Snyk scan 2022-10-31 17:47:02 +01:00
.yamllint move Check Descriptions to commit_status_helper 2024-08-05 13:18:37 +02:00
AUTHORS Update AUTHORS 2021-09-22 11:38:03 +03:00
CHANGELOG.md Merge pull request #70010 from ClickHouse/alexey-milovidov-patch-10 2024-09-26 11:30:45 +00:00
CITATION.cff Add CITATION.cff 2024-09-06 15:33:53 +00:00
CMakeLists.txt Make it better 2024-10-06 02:09:30 +08: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 License 2024-01-01 15:54:00 +01:00
PreLoad.cmake Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY) 2024-08-13 10:35:54 +02:00
pyproject.toml Sort pylint disables 2024-10-02 14:52:16 +02:00
README.md Update README.md 2024-09-30 22:45:25 +07:00
SECURITY.md Update version_date.tsv and changelogs after v24.9.1.3278-stable 2024-09-26 22:02:03 +00:00

Website Apache 2.0 License

The ClickHouse company logo.

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

How To Install (Linux, macOS, FreeBSD)

curl https://clickhouse.com/ | sh
  • Official website has a quick high-level overview of ClickHouse on the main page.
  • ClickHouse Cloud ClickHouse as a service, built by the creators and maintainers.
  • 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 (github.dev) with syntax highlighting, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.

Monthly Release & Community Call

Every month we get together with the community (users, contributors, customers, those interested in learning more about ClickHouse) to discuss what is coming in the latest release. If you are interested in sharing what you've built on ClickHouse, let us know.

Upcoming Events

Keep an eye out for upcoming meetups and events around the world. Somewhere else you want us to be? Please feel free to reach out to tyler <at> clickhouse <dot> com. You can also peruse ClickHouse Events for a list of all upcoming trainings, meetups, speaking engagements, etc.

Upcoming meetups

Recently completed meetups

Recent Recordings

  • Recent Meetup Videos: Meetup Playlist Whenever possible recordings of the ClickHouse Community Meetups are edited and presented as individual talks. Current featuring "Modern SQL in 2023", "Fast, Concurrent, and Consistent Asynchronous INSERTS in ClickHouse", and "Full-Text Indices: Design and Experiments"
  • Recording available: v24.8 LTS Release Call All the features of 24.8 LTS, one convenient video! Watch it now!

Interested in joining ClickHouse and making it your full-time job?

We are a globally diverse and distributed team, united behind a common goal of creating industry-leading, real-time analytics. Here, you will have an opportunity to solve some of the most cutting-edge technical challenges and have direct ownership of your work and vision. If you are a contributor by nature, a thinker and a doer - well definitely click!

Check out our current openings here: https://clickhouse.com/company/careers

Can't find what you are looking for, but want to let us know you are interested in joining ClickHouse? Email careers@clickhouse.com!