New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProfileEvents added ContextLockWaitMicroseconds #55029
ProfileEvents added ContextLockWaitMicroseconds #55029
Conversation
There is possible issue with scalability when we run a lot of concurrent queries because of shared context lock.
Run a lot of queries:
After some time, we can check
|
This is an automated comment for commit eb1b3e6 with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
Backport #55029 to 23.8: ProfileEvents added ContextLockWaitMicroseconds
porting ClickHouse/ClickHouse#55029 (on Sep 26, 2023)
* Fix parallel loading of data parts porting ClickHouse/ClickHouse#34310 on Feb 04, 2022 * Reset thread name in thread pool porting ClickHouse/ClickHouse#36115 on Apr 14, 2022 * ThreadPool fixes porting ClickHouse/ClickHouse#39160 on Jul 14, 2022 * Improve ThreadPool porting ClickHouse/ClickHouse#47657 on Mar 22, 2023 * Lower ThreadPool mutex contention and simplify porting ClickHouse/ClickHouse#48750 on Apr 14 * Fix ThreadPool::wait porting ClickHouse/ClickHouse#49572 on May 6 2023 * ProfileEvents added ContextLockWaitMicroseconds porting ClickHouse/ClickHouse#55029 (on Sep 26, 2023) * Fix race in Context::createCopy porting ClickHouse/ClickHouse#49663 * Use a separate mutex for query_factories_info in Context. porting ClickHouse/ClickHouse#37532 on May 26, 2022 * Avoid possible deadlock on server shutdown porting ClickHouse/ClickHouse#35081 on Mar 7, 2022 * Porting/issue 3238 context lock contention fix part 2 (#313)
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
ProfileEvents added ContextLockWaitMicroseconds event.