Azat Khuzhin
bffd4cf576
Add a test for memory tracking via HTTP interface
2020-06-21 17:37:42 +03:00
Azat Khuzhin
844960195d
Fix memory accounting via HTTP interface
...
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
2020-06-21 17:27:54 +03:00
Alexey Milovidov
3f96bdaa24
Minor changes after merge
2020-06-21 15:16:08 +03:00
Alexey Milovidov
814c1019b2
Fix build after merge
2020-06-21 14:41:06 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
...
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
alexey-milovidov
f4a1872085
Update WriteHelpers.h
2020-06-21 14:32:54 +03:00
alexey-milovidov
5094a68157
Merge pull request #11793 from kas-kad/patch-2
...
Update replacingmergetree.md
2020-06-21 14:15:32 +03:00
alexey-milovidov
e6ab9b969e
Merge pull request #11830 from zlobober/fix_mmap_threshold
...
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-21 14:07:07 +03:00
alexey-milovidov
90b5e5d2f9
Merge pull request #11688 from ClickHouse/query-plan
...
Query plan
2020-06-21 14:05:13 +03:00
alexey-milovidov
bcf086e592
Merge pull request #11834 from ClickHouse/fix-test-always-merged
...
Fix bad integration test "always_fetch_merged"
2020-06-21 03:55:52 +03:00
alexey-milovidov
31dd02c45b
Merge pull request #11833 from ClickHouse/disable-bad-optimization
...
Disable bad optimization #10047
2020-06-21 02:03:50 +03:00
alexey-milovidov
48f2987cbd
Merge pull request #11835 from ClickHouse/fix-false-msan-report-dl
...
Fix false MSan report in SymbolIndex
2020-06-21 02:03:15 +03:00
Maxim Akhmedov
2ff7f34968
Make constants in cpp file extern.
2020-06-21 00:45:20 +03:00
alexey-milovidov
c8eabd8cec
Merge pull request #11829 from ClickHouse/improve-error-message-decimal-cast
...
Improve error message for Decimal CAST
2020-06-21 00:24:03 +03:00
alexey-milovidov
485c4c9055
Merge pull request #11828 from ClickHouse/fix-fixed-string-comparison
...
Fix FixedString comparison #11393
2020-06-21 00:21:13 +03:00
alexey-milovidov
45fbc96f19
Merge pull request #11827 from ClickHouse/remove-tzdata-dependency
...
Remove dependency on tzdata
2020-06-21 00:20:01 +03:00
alexey-milovidov
cd3d7c9155
Merge pull request #11806 from azat/optimize_aggregators_of_group_by_keys-fix-alias
...
Preserve column alias with optimize_aggregators_of_group_by_keys
2020-06-21 00:13:19 +03:00
Alexey Milovidov
961568e978
Fix false MSan report in SymbolIndex
2020-06-20 22:05:03 +03:00
alexey-milovidov
1f6427ba6f
Merge pull request #11825 from ClickHouse/fix-sleep-in-signal-handler
...
Fix sleep in signal handler
2020-06-20 21:55:06 +03:00
alexey-milovidov
603e690c18
Update Allocator.cpp
2020-06-20 21:52:36 +03:00
alexey-milovidov
87937e580e
Update Allocator.h
2020-06-20 21:52:13 +03:00
alexey-milovidov
017f55a715
Merge pull request #11821 from ClickHouse/hostname-alias
...
Added "hostname" as an alias to function "hostName"
2020-06-20 21:46:21 +03:00
Alexey Milovidov
25af2d0b0a
Fix bad integration test "always_fetch_merged"
2020-06-20 21:21:29 +03:00
Alexey Milovidov
14e29f2c11
Disable bad optimization #10047
2020-06-20 21:00:00 +03:00
alexey-milovidov
9bfefc99ab
Merge pull request #11599 from filimonov/better_kafka_states
...
Kafka work with formats based on PeekableReadBuffer and other improvements
2020-06-20 20:36:54 +03:00
alexey-milovidov
076fe8e8ba
Update KafkaBlockInputStream.cpp
2020-06-20 20:34:42 +03:00
alexey-milovidov
5d68dda35b
Merge pull request #11820 from ClickHouse/added-test-for-mutations-after-freeze
...
Added a test for #6549
2020-06-20 19:17:32 +03:00
alexey-milovidov
92d37efe18
Merge pull request #11736 from maxim-babenko/patch-1
...
Fix PODArrayBase::push_back_raw_many
2020-06-20 19:16:15 +03:00
Maxim Akhmedov
34fbc62033
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-20 19:01:16 +03:00
Alexey Milovidov
7b2b726c17
Fix bad types
2020-06-20 17:00:38 +03:00
alexey-milovidov
c6877371ac
Merge pull request #11816 from ClickHouse/better-code-agr-functions-optimize
...
Fix 10% of bad code #11756
2020-06-20 16:51:44 +03:00
alexey-milovidov
df0b66c75b
Merge pull request #11817 from ClickHouse/check-for-tests-with-fail-in-their-names
...
Check for tests with "fail" in their names
2020-06-20 16:50:42 +03:00
alexey-milovidov
f9372bfbbb
Merge pull request #11818 from ClickHouse/fix-bad-code-optimizations
...
Fix another 10% of bad code.
2020-06-20 16:49:23 +03:00
Nikolai Kochetov
819ea4fb89
Fix tests.
2020-06-20 16:48:21 +03:00
Alexey Milovidov
d9e7fe3735
Improve error message for Decimal CAST
2020-06-20 16:34:22 +03:00
Alexey Milovidov
3658ea6e55
Fix FixedString comparison #11393
2020-06-20 16:13:51 +03:00
Alexey Milovidov
25f55bb5dd
Remove duplicate entry
2020-06-20 15:39:02 +03:00
Alexey Milovidov
bba0cf6064
Remove dependency on tzdata
2020-06-20 15:31:18 +03:00
Alexey Milovidov
6eda152726
Remove dependency on tzdata
2020-06-20 15:26:44 +03:00
Nikolai Kochetov
a58b152140
Fix build.
2020-06-20 13:40:53 +03:00
Alexey Milovidov
beae4d5db1
Fix sleep in signal handler
2020-06-20 13:15:53 +03:00
Tom Bombadil
1b9e72f9ad
Update alter.md ( #11823 )
...
What a huge doc I have translated to Chinese!
2020-06-20 12:12:45 +03:00
Nikolai Kochetov
0c6129ac7c
Fix build.
2020-06-20 11:52:41 +03:00
Nikolai Kochetov
4d70cc34c1
Merge branch 'master' into query-plan
2020-06-20 10:53:48 +03:00
Nikolai Kochetov
e75091ab6c
Fix distinct for FinishSortingStep.
2020-06-20 10:50:45 +03:00
alexey-milovidov
c256682068
Update PODArray.h
2020-06-20 10:45:51 +03:00
Alexey Milovidov
f25416beb8
Added "hostname" as an alias to function "hostName"
2020-06-20 10:43:35 +03:00
Alexey Milovidov
a7cc800138
Added a test for #6549
2020-06-20 10:36:17 +03:00
alexey-milovidov
32c7ff7d2c
Update create.md
2020-06-20 10:33:41 +03:00
alexey-milovidov
8139ce5985
Update create.md
2020-06-20 10:32:33 +03:00