Commit Graph

110633 Commits

Author SHA1 Message Date
iammagicc
08549c0a02
增加最后一个索引条目存储了上图中颗粒1082的主键列的最大值与图片不符的描述
为什么图中显示的数据与结论不符合?因为图中的数据是禁用了自适应索引粒度后得到的,默认情况下索引粒度是自适应的。
https://clickhouse.com/docs/en/optimize/sparse-primary-indexes
We mentioned in the beginning of this guide in the "DDL Statement Details", that we disabled adaptive index granularity (in order to simplify the discussions in this guide, as well as make the diagrams and results reproducible).
For tables with adaptive index granularity (index granularity is adaptive by default) the size of some granules can be less than 8192 rows depending on the row data sizes.
我们在本指南开头的“DDL 语句详细信息”中提到,我们禁用了自适应索引粒度(为了简化本指南中的讨论,并使图表和结果可重现)。
对于具有自适应索引粒度的表(默认情况下索引粒度是自适应的),某些粒度的大小可以小于 8192 行,具体取决于行数据大小。


https://clickhouse.com/docs/en/whats-new/changelog/2019#experimental-features-1
ClickHouse Release 19.6.3.18, 2019-06-13
Experimental Features:实验性特性   
Add setting index_granularity_bytes (adaptive index granularity) for MergeTree* tables family.
为合并树家族的表系列添加设置index_granularity_bytes(自适应索引粒度)。

ClickHouse Release 19.10.1.5, 2019-07-12
Performance Improvement:优化改进
Add the possibility to write the final mark at the end of MergeTree columns. It allows to avoid useless reads for keys that are out of table data range. It is enabled only if adaptive index granularity is in use.
添加在合并树列末尾写入最终标记的可能性。它允许避免对超出表数据范围的键进行无用的读取。仅当使用自适应索引粒度时,才会启用它。
2023-03-21 15:53:45 +08:00
Nikolay Degterinsky
1a06408b4a
Merge pull request #47793 from den-crane/patch-59
Doc. notILike
2023-03-20 23:53:42 +01:00
Robert Schulze
91e1de2d59
Merge pull request #47428 from ClickHouse/rs/qc-cachebase
Refactor query cache (make use of CacheBase)
2023-03-20 20:49:41 +01:00
Robert Schulze
82a4b307ae
Merge branch 'master' into rs/qc-cachebase 2023-03-20 20:44:34 +01:00
Denny Crane
1c9d72f114
Update string-search-functions.md 2023-03-20 15:20:40 -03:00
robot-clickhouse-ci-1
15893fa94e
Merge pull request #47789 from ClickHouse/proper-review-states
Only valid Reviews.STATES overwrite existing reviews
2023-03-20 19:05:24 +01:00
Anton Popov
158131053b
Merge pull request #47688 from ucasfl/fix-limit-offset
Fix limit offset
2023-03-20 18:47:41 +01:00
Mikhail f. Shiryaev
5eacb6b3be
Fix the keeping the latest review instead of the first 2023-03-20 18:40:39 +01:00
Mikhail f. Shiryaev
f881da249f
Only valid Reviews.STATES overwrite existing reviews 2023-03-20 18:39:58 +01:00
robot-ch-test-poll4
91f8901cd6
Merge pull request #47743 from ucasfl/remove
remove unused code
2023-03-20 17:43:41 +01:00
Robert Schulze
3b7f929001
Merge branch 'master' into rs/qc-cachebase 2023-03-20 17:08:47 +01:00
Alexander Gololobov
cb0065fba2
Merge pull request #47757 from Algunenano/fix_zk_retry_exception
Fix ZK exception error message
2023-03-20 16:05:16 +01:00
Mikhail f. Shiryaev
e39e0294de
Merge pull request #47760 from ClickHouse/backports-fuse
Add a fuse for backport branches w/o a created PR
2023-03-20 17:48:07 +03:00
Sergei Trifonov
b33e56a05f
Merge pull request #47522 from kolechenkov/patch-2 2023-03-20 14:28:36 +01:00
Vladimir C
0a215ec2d7
Merge pull request #47762 from iammagicc/patch-1 2023-03-20 14:07:07 +01:00
iammagicc
d7a3a6dd71
Update sparse-primary-indexes.md
line424:Processed 8.19 thousand rows
line428:ClickHouse客户端的输出显示,没有进行全表扫描,只有8.19万行流到ClickHouse。
修改8.19万行为8.19千行
2023-03-20 20:50:09 +08:00
Mikhail f. Shiryaev
ae88a31100
Add a fuse for backport branches w/o a created PR 2023-03-20 13:45:23 +01:00
alesapin
28525c7c21
Merge pull request #47755 from ClickHouse/cherry-pick-body
Clarify steps for reopened cherry-pick PRs
2023-03-20 13:42:22 +01:00
Vitaly Baranov
198409e12a
Merge pull request #46085 from aalexfvk/alexfvk/store_udf_in_zookeeper
Replication of user-defined SQL functions using ZooKeeper
2023-03-20 13:41:29 +01:00
robot-ch-test-poll1
f78e9dec49
Merge pull request #47736 from ClickHouse/add-test-21469
Add a test for #21469
2023-03-20 13:05:39 +01:00
Raúl Marín
fb6ce35ea2 Fix ZK exception error message 2023-03-20 13:00:24 +01:00
Mikhail f. Shiryaev
a3096a4583
Clarify steps for reopened cherry-pick PRs 2023-03-20 12:36:35 +01:00
flynn
cac37c8a3c
Merge branch 'master' into remove 2023-03-20 18:43:48 +08:00
Sema Checherinda
329a762ded
Merge pull request #47670 from ClickHouse/rs/parallel-tests
Enable parallel execution for two tests
2023-03-20 10:46:08 +01:00
flynn
8a6e4daefa remove unused code 2023-03-20 08:31:38 +00:00
Alexey Milovidov
e9e7f0f4f9
Merge pull request #47732 from kssenii/fix-mysql-leak
Fix memory leak in mysql
2023-03-20 10:40:40 +03:00
Alexey Milovidov
2b43adea6d Add a test for #21469 2023-03-20 07:39:17 +01:00
robot-ch-test-poll3
47d9244aae
Merge pull request #47733 from tbragin/patch-7
Clarify compression codec default
2023-03-20 06:07:58 +01:00
Alexey Milovidov
01ea011f60
Merge pull request #47728 from ClickHouse/fix-group-by-use-nulls-test
Disable setting in 02343_group_by_use_nulls_distributed (for new analyzer)
2023-03-20 07:46:04 +03:00
Alexey Milovidov
698fcba525
Merge branch 'master' into fix-mysql-leak 2023-03-20 07:37:01 +03:00
Alexey Milovidov
b514a4c70f
Merge pull request #47519 from ClickHouse/fuzzer-of-data-formats
Fuzzer of data formats
2023-03-20 07:20:23 +03:00
Tanya Bragin
2639767f4c
Clarify compression codec default
cc @alexey-milovidov
2023-03-19 19:55:51 -07:00
Alexey Milovidov
4f33033b4d
Merge pull request #47673 from ClickHouse/rs/restore-mac-build
Restore native macos build
2023-03-20 04:27:22 +03:00
Alexey Milovidov
b415a03aa4
Merge pull request #47714 from ClickHouse/maybe-faster-build
Speed up build
2023-03-20 04:11:46 +03:00
Alexey Milovidov
ddf29b69f9
Merge branch 'master' into fuzzer-of-data-formats 2023-03-20 03:26:51 +03:00
Alexey Milovidov
8d3349ca93
Merge pull request #47723 from den-crane/patch-58
Doc. Fix MODIFY QUERY description
2023-03-20 03:26:38 +03:00
Alexey Milovidov
e788bf0712
Merge pull request #47721 from ClickHouse/revert-47622-analyzer-planner-fixes-before-enable-by-default
Revert "Analyzer planner fixes before enable by default"
2023-03-20 03:24:03 +03:00
kssenii
ea375ef989 Fix memory leak 2023-03-20 00:40:06 +01:00
Alexander Gololobov
6fa0b0b459
Merge pull request #47722 from ClickHouse/rs/llvm-16-preparation
Preparation for libcxx(abi), llvm, clang-tidy 16
2023-03-20 00:03:32 +01:00
Dmitry Novik
a14cc8e275 Disable setting in 02343_group_by_use_nulls_distributed 2023-03-19 21:16:04 +01:00
Robert Schulze
1499b77592
Restore native macos build 2023-03-19 19:59:22 +01:00
Robert Schulze
0e01e912fe
Preparation for libcxx(abi), llvm, clang-tidy 16 2023-03-19 17:25:41 +00:00
Robert Schulze
67ebad488f
Small refactoring of linker selection code 2023-03-19 18:16:20 +01:00
Denny Crane
64e8d9d4d7
Update view.md 2023-03-19 14:10:18 -03:00
Denny Crane
35d2fb48de
Update view.md 2023-03-19 14:09:12 -03:00
Denny Crane
4629911e6e
Update view.md 2023-03-19 14:05:39 -03:00
Denny Crane
749daca64b
Update view.md 2023-03-19 14:01:47 -03:00
Alexey Milovidov
ed50378060
Merge pull request #47719 from ClickHouse/rs/fix-llvm-ref
Fixup git reference to LLVM
2023-03-19 19:26:58 +03:00
Alexey Milovidov
ef5e8462da
Revert "Analyzer planner fixes before enable by default" 2023-03-19 19:25:37 +03:00
Alexey Milovidov
6118b619a1 Fix style 2023-03-19 17:20:06 +01:00