Commit Graph

45568 Commits

Author SHA1 Message Date
alesapin
479048cf69 Ugly code without races 2020-07-20 15:34:29 +03:00
Alexander Kuzmenkov
abec684daf query fuzzer 2020-07-20 14:57:16 +03:00
Alexander Kuzmenkov
232cd2648f
Merge pull request #12522 from ClickHouse/aku/std-logic-error
Abort on std::logic_error in debug builds
2020-07-20 14:50:03 +03:00
Alexander Kuzmenkov
40ee6eba19
Merge pull request #12545 from ClickHouse/fix_load_part_without_checksums
Fix loading parts without checksums
2020-07-20 14:40:53 +03:00
Ivan Blinkov
e865533d95
[website] experiment on improving cache purging 2020-07-20 14:08:01 +03:00
Ilya Yatsishin
60b844a87f
Update clickhouse-local.md (#12595) 2020-07-20 13:03:18 +03:00
BayoNet
21a1c5e8eb
DOCS-389: network_compression_method (#12581)
* DOCSUP-715 network_compression_method and network_zstd_compression_level (#141)

* Add network_compression_method and network_zstd_compression_level settings

* Some fixes

* Fix by comments

* Fix by comments

* Fix PR comment and add ru translation

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>

* CLICKHOUSEDOCS-389: Text fixes.

* Update docs/en/operations/settings/settings.md

Co-authored-by: Roman Bug <rrrrrroman@gmail.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-07-20 12:57:36 +03:00
Ilya Yatsishin
9bc545d807
Merge pull request #12590 from ClickHouse/blinkov-patch-22
[docs] this looks unused
2020-07-20 12:20:23 +03:00
Anton Popov
d4783f8f19 fix lack of aliases with function 'any' 2020-07-20 12:04:03 +03:00
Ilya Yatsishin
dad8d85b7d
Merge pull request #12582 from BayoNet/docs/CLICKHOUSEDOCS-680-max-server-memory-usage-to-ram
DOCS-680: max_server_memory_usage_to_ram
2020-07-20 11:21:13 +03:00
Ilya Yatsishin
f03d8b65ea
Merge pull request #12578 from BayoNet/docs/CLICKHOUSEDOCS-642-extractAllGroups
DOCS-642: extractAllGroups
2020-07-20 10:32:23 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
Update simdjson
2020-07-20 10:15:38 +03:00
Ivan Blinkov
76d2f53d86
[docs] this looks unused 2020-07-20 09:36:48 +03:00
philip.han
11de86074f Use range-based for loop and remove redundant call to 'c_str' 2020-07-20 15:33:23 +09:00
Ivan Babrou
72622a9b00 Parallelize PK range and skipping index stages
This runs PK lookup and skipping index stages on parts
in parallel, as described in #11564.

While #12277 sped up PK lookups, skipping index stage
may still be a bottleneck in a select query. Here we
parallelize both stages between parts.

On a query that uses a bloom filter skipping index to pick
2,688 rows out of 8,273,114,994 on a two day time span,
this change reduces latency from 10.5s to 1.5s.
2020-07-19 21:49:41 -07:00
Alexey Milovidov
a104934d2c Merge branch 'master' into deprecate-special-zero-datetime 2020-07-20 04:34:26 +03:00
Alexey Milovidov
10355a2850 Make behaviour of remainder of division for floating point numbers compatible with most of DBMS #7323 2020-07-20 04:03:46 +03:00
olgarev
ea6743225e
DOCSUP-1380 Document the max_server_memory_usage_to_ram_ratio setting (#142)
* Docs in en for max_server_memory_usage_to_ram_ratio setting added, for max_server_memory_usage setting slightly updated.

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Translated to Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-07-19 20:46:23 +03:00
philip.han
5e2d361dc8 Remove std::move 2020-07-20 00:12:58 +09:00
Vitaly Baranov
61e43c3ef9 Make conversion std::string_view => StringRef explicit. 2020-07-19 12:50:24 +03:00
Vitaly Baranov
8bcaf7908e Rework JSON functions to use the new simdjson interface. 2020-07-19 12:50:19 +03:00
Sergei Shtykov
364a7348f9 CLICKHOUSEDOCS-642: Fixed links 2020-07-19 12:42:14 +03:00
Sergei Shtykov
08734b0cf7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-642-extractAllGroups 2020-07-19 12:37:19 +03:00
Sergei Shtykov
3222d21703 CLICKHOUSEDOCS-642: Minor text update. 2020-07-19 12:37:09 +03:00
Evgenia Sudarikova
b9174ffa5a
DOCSUP-1110: document the extractAllGroups function (#138)
* add EN description

* changes in EN version after review

* add RU version
2020-07-19 12:33:50 +03:00
Alexey Milovidov
b8cc2bee53 Added a test from @ishirav #7404 2020-07-19 03:59:45 +03:00
alexey-milovidov
7aee5abb83
Merge pull request #12569 from ClickHouse/aku/numa-metric
Add perf metric for NUMA-local memory access
2020-07-19 03:21:24 +03:00
alexey-milovidov
504783fe2b
Update ProfileEvents.cpp 2020-07-19 03:20:45 +03:00
Alexander Tokmakov
cc25355989 fix 2020-07-18 19:33:39 +03:00
Alexander Kuzmenkov
37b3cef4cb
Update run-fuzzer.sh 2020-07-17 21:41:33 +03:00
Alexander Tokmakov
99f0adad0a fixes 2020-07-17 21:17:04 +03:00
Alexey Milovidov
0f102659c6 Added results from AWS c5.metal 2020-07-17 20:48:10 +03:00
alexey-milovidov
5775a8934a
Fix awful bug @blinkov 2020-07-17 20:34:43 +03:00
Alexander Kuzmenkov
ac01b8670e Correct the benchmark results for Pixel 3a and Dell XPS
I used a wrong data set, so the queries with the `CounterID = 62` filter
were completely off. Others are more or less the same.

Also fix the queries shown on web site to match the real queries.
2020-07-17 20:31:50 +03:00
alexey-milovidov
0e481ec0f8
Fix strange leading whitespaces @blinkov 2020-07-17 20:12:21 +03:00
Alexander Kuzmenkov
5a662ca48c Add perf metric for NUMA-local memory access 2020-07-17 20:10:59 +03:00
alexey-milovidov
4ac9a466c7
Fix data rot @blinkov 2020-07-17 20:04:19 +03:00
tavplubix
5634482393
Merge pull request #12556 from azat/distributed-remove-files-on-drop
Remove data for Distributed tables (blocks from async INSERTs) on DROP TABLE
2020-07-17 19:29:57 +03:00
Alexander Kuzmenkov
da5853f031
Update decimal_aggregates.xml 2020-07-17 18:27:05 +03:00
alesapin
9ed420442d remove comment 2020-07-17 18:26:11 +03:00
alesapin
dc05fbcfb3 Race condition test 2020-07-17 18:18:52 +03:00
BayoNet
71e7b94aa4
DOCS-586: The validate_polygons setting (#12555)
* asiana21-DOCSUP-979-validate_polygons (#136)

* docs(validate_polygons): added the setting description

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* docs(validate_polygons): added RU translation

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-586: Minor text edit.

Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-17 18:05:42 +03:00
BayoNet
cd621e4e63
DOCSUP-1315 Updated description of the 'parts' system table (#134) (#12535)
* Updated description of the 'parts' system table and 2 new settings for the MergeTree table

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Data part format description moved to the data storage section.

* An error fixed in english version and russian version added.

* Minor bug fixed in russian version.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-07-17 18:05:07 +03:00
Alexander Kuzmenkov
a4a23673cc fixup 2020-07-17 17:25:13 +03:00
Alexander Kuzmenkov
4089f761e1 fix one out_of_range 2020-07-17 17:20:33 +03:00
Alexey Milovidov
e207acf19a Merge branch 'master' into deprecate-special-zero-datetime 2020-07-17 17:06:31 +03:00
Alexander Kuzmenkov
fb7743d8f5 Merge remote-tracking branch 'origin/master' into HEAD 2020-07-17 16:19:05 +03:00
Alexander Tokmakov
c27de9b424 fixes 2020-07-17 16:11:44 +03:00
philip.han
cdd7755484 Remove unused code 2020-07-17 22:05:17 +09:00
Alexander Kuzmenkov
e095d04553
Update read_in_order_many_parts.xml 2020-07-17 15:12:49 +03:00