ClickHouse® is a real-time analytics DBMS
Go to file
Jiebin Sun 1579ed83bb optimize the mutex with shared_mutex in MemoryTracker
The mutex lock `overcommit_m` has protected while read and write
the global variables in the OvercommitTracker of MemoryTracker.
But it will cause lots of `native_queued_spin_lock_slowpath` in
ClickBench Q8 and Q42 on large cores system. Most of time it will
only read, but not update. The patch will replace the mutex lock
with read/write lock.

Test the patch with clickbench on 256x2 vCPUs system. Overall geomean
has got 6.8% performance gain. Q8, 24, Q26 and Q42 have got 77%, 19.5%,
19.5% and 11.4%  performance gain.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2024-11-26 02:34:15 +08:00
.github
base
benchmark
ci_v2
cmake ... re-enable only the assertions (not full debug mode) 2024-10-15 21:37:39 +00:00
contrib Update contrib/grpc-cmake/CMakeLists.txt 2024-10-15 17:26:05 +02:00
docker
docs Merge pull request #70606 from Blargian/docs_timeSlot 2024-10-15 20:46:37 +00:00
packages
programs Merge pull request #70135 from ClickHouse/cache-for-object-storage-table-engines 2024-10-14 14:08:30 +00:00
rust
src optimize the mutex with shared_mutex in MemoryTracker 2024-11-26 02:34:15 +08:00
tests Merge pull request #70635 from CurtizJ/fix-parsing-to-sparse-column 2024-10-16 07:13:29 +00:00
utils
.clang-format
.clang-tidy
.clangd
.editorconfig
.exrc
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.snyk
.yamllint
AUTHORS
CHANGELOG.md
CITATION.cff
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
format_sources
LICENSE
PreLoad.cmake
pyproject.toml
README.md
SECURITY.md

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!