You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/23 02:10:18 UTC

[GitHub] [doris] morningman commented on a diff in pull request #13577: [doc](random_sink) Add some doc content about random sink

morningman commented on code in PR #13577:
URL: https://github.com/apache/doris/pull/13577#discussion_r1002617472


##########
docs/zh-CN/docs/data-table/data-partition.md:
##########
@@ -338,12 +338,18 @@ Doris 支持两层的数据划分。第一层是 Partition,支持 Range 和 Li
 
    > 注:表的数据量可以通过 [`SHOW DATA`](../sql-manual/sql-reference/Show-Statements/SHOW-DATA.md) 命令查看,结果除以副本数,即表的数据量。
 
+4. **关于 Random Distribution 的设置以及使用场景。**   
+    - 如果 OLAP 表没有更新类型的字段,将表的数据分桶模式设置为 RANDOM,则可以避免严重的数据倾斜。

Review Comment:
   这里加一下 random distribution 的原理说明吧。比如设置random 后,数据是“如何”被指定到“哪一个”tablet的。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org