Commit Graph

35 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
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
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
rfraposa
4c842e3dca Link fixes 2023-03-09 21:19:17 -07:00
robot-clickhouse
be043cd5a5
Merge pull request #47178 from houbaron/patch-2
Update sparse-primary-indexes.md
2023-03-04 11:34:15 +01:00
houbaron
1f7a0c70f0
Update sparse-primary-indexes.md 2023-03-03 12:00:42 +08:00
houbaron
29e396cc30
Update skipping-indexes.md 2023-03-03 11:57:03 +08:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
bit-ranger
1d16dde6ba
Update sparse-primary-indexes.md to correct typo 2022-11-24 21:00:39 +09:00
bit-ranger
6606bc7ede
Update sparse-primary-indexes.md to correct typo 2022-11-24 17:56:59 +09:00
Robert Schulze
c16707ff00
chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view
- The deleted function modelEvaluate() was superseded by
  catboostEvaluate().

- Also delete the external model repository, as modelEvaluate() was it's
  last user. Additionally remove the system view SYSTEM.MODELS for
  inspecting the repository.

- SYSTEM RELOAD MODELS is also obsolete. HOWEVER, it was retained and
  made a no-op instead of deleted.

  Why?
  The reason is that RBAC in distributed setups works by storing
  privileges (granted and revoked) as plain SQL statements in Keeper.
  Nodes read these statements at startup and parse them. If a privilege
  for SYSTEM RELOAD MODELS exists but parser doesn't recognize it
  nodes would fail to come up.

  Considered but rejected alternatives:
  - Ignore SYSTEM RELOAD MODELS during parsing RBAC privileges and
    return an error for regular SYSTEM RELOAD MODELS SQL. Special-case
    of no-op behavior, too brittle.
  - Remove SYSTEM RELOAD MODELS manually from Keeper via command-line
    manipulation of Keeper nodes or via SQL by dropping the privileges.
    Needs user intervention during upgrade.
2022-09-08 09:10:11 +00:00
Robert Schulze
912663b719
Revert "Move CatBoost evaluation into clickhouse-library-bridge" 2022-08-31 20:54:43 +02:00
Robert Schulze
64a6aa328e
fix: broken links in documentation (hopefully) 2022-08-29 20:27:06 +00:00
Robert Schulze
4d511332c4
chore: delete obsolete modelEvaluate() function
- superseded by catboostEvaluate() which no longer uses the internal
  repository for external models

- also removed was statement SYSTEM RELOAD MODELS and the monitoring view
  SYSTEM.SYSTEMMODELS
2022-08-29 20:27:06 +00:00
DanRoscigno
7f92006428 add slugs to all docs 2022-08-26 15:07:59 -04:00
DanRoscigno
0e6a0d589f moved image dir 2022-08-03 16:27:17 -04:00
DanRoscigno
8b1b059ae9 wrong directory 2022-08-03 15:56:32 -04:00
DanRoscigno
d0c3de9da9 wrong dir 2022-08-03 15:55:12 -04:00
DanRoscigno
ab455f3767 moving PR from clickhouse-docs 2022-08-03 14:47:31 -04:00
rfraposa
4feb622c9f Added /zh docs 2022-04-10 17:08:18 -06:00
Tiaonmmn
8d2791a1c3
Update apply-catboost-model.md 2022-01-16 00:30:37 +08:00
Ivan Blinkov
f429db1ee9 find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
su-houzhen
412fb28d4f
Update index.md 2021-07-21 17:26:55 +08:00
benbiti
3ae419f01c WIP update-aggregate-funcions-in-zh:fix links 2021-03-25 17:09:19 +08:00
Steve-金勇
d1e42a7e5f
Update apply-catboost-model.md 2020-12-13 00:38:19 +08:00
Arthur Wong
e428c5158d
Update apply-catboost-model.md 2020-09-28 16:12:14 +08:00
zhangshengyu
d666d4c449 fix zh translate 2020-09-07 15:00:47 +08:00
Ivan Blinkov
cd14f9ebcb
SQL reference refactoring (#10857)
* split up select.md

* array-join.md basic refactoring

* distinct.md basic refactoring

* format.md basic refactoring

* from.md basic refactoring

* group-by.md basic refactoring

* having.md basic refactoring

* additional index.md refactoring

* into-outfile.md basic refactoring

* join.md basic refactoring

* limit.md basic refactoring

* limit-by.md basic refactoring

* order-by.md basic refactoring

* prewhere.md basic refactoring

* adjust operators/index.md links

* adjust sample.md links

* adjust more links

* adjust operatots links

* fix some links

* adjust aggregate function article titles

* basic refactor of remaining select clauses

* absolute paths in make_links.sh

* run make_links.sh

* remove old select.md locations

* translate docs/es

* translate docs/fr

* translate docs/fa

* remove old operators.md location

* change operators.md links

* adjust links in docs/es

* adjust links in docs/es

* minor texts adjustments

* wip

* update machine translations to use new links

* fix changelog

* es build fixes

* get rid of some select.md links

* temporary adjust ru links

* temporary adjust more ru links

* improve curly brace handling

* adjust ru as well

* fa build fix

* ru link fixes

* zh link fixes

* temporary disable part of anchor checks
2020-05-15 07:34:54 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00
Ivan Blinkov
4d298fd420
Update zh docs and fix en docs (#10125) 2020-04-08 17:22:25 +03:00
Ivan Blinkov
b66c26d833
Get rid of toc_en.yml (#10023) 2020-04-03 16:23:32 +03:00
Ivan Blinkov
df3879d07a Introduce adopters page + fix a bunch of lost symlinks 2020-02-14 19:48:08 +03:00