function perf_test()
{
time yes '127.1:8123/?wait_end_of_query=1' | head -n10000 | xargs -P10000 curl -s -d 'select 1' | grep -x -c 1
}
function server()
{
local limit=$1 && shift
clickhouse-server "$@" -- --max_server_memory_usage=$limit
}
perf_test:
- before this patch with 1G limit: succeed only ~800 queries
- after this patch with 1G limit: succeed ~8000 queries
- before this patch with 10G limit: succeed only ~3000 queries
- after this patch with 10G limit: succeed ~10000 queries
Fixes: #11153
* master: (29 commits)
DOCS-620: Background pools settings (#11358)
Update formats.md
ya.make
DOCS-611: background_buffer_flush_schedule_pool_size setting (#11176)
Remove structure lock on parts send
Update adopters.md
This word "collapse" in Chinese means "折叠” (#11353)
interval type link (#11351)
Try fix tets.
DOCS-573: system.data_type_families (#11344)
fix flacky test with ttl
Added test result
Fix error with Lazy database
Fix nullptr dereference in SYSTEM query and Lazy database
Better code
Added a test
Fix unit test with UBSan
Fix tests.
Try fix build.
Try fix build.
...
* master: (114 commits)
Update PushingToViewsBlockOutputStream.cpp
Update PushingToViewsBlockOutputStream.cpp
make clang-10 happy
Fix sync_async test (remove timeout)
CLICKHOUSEDOCS-631: temporary_files_codec, join_on_disk_max_files_to_merge settings. (#11242)
Suppress output of cancelled queries in clickhouse-client #9473
Better log messages in ConfigReloader
fix select from StorageJoin
Fix unit tests under MSan
Added test.
Fix build.
Fix arguments for AggregateFunctionQuantile/
Update style.md
Add a guide on error messages.
Report dictionary name on dictionary load errors.
more types in ASOF JOIN (#11301)
Fix part_log test
Update test.
Add perftest.
Parallel processing for PushingToViewsBlockOutputStream::writeSuffix
...