This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 27f494d [docs][typo] Update fe_config.md (#7252)
27f494d is described below
commit 27f494dad36e85abc904a72d565470fe70dae49b
Author: renzhimin7 <[email protected]>
AuthorDate: Mon Dec 6 10:25:28 2021 +0800
[docs][typo] Update fe_config.md (#7252)
Int type should be 4 bytes and decimal should be 16 bytes
---
docs/en/administrator-guide/config/fe_config.md | 2 +-
docs/zh-CN/administrator-guide/config/fe_config.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/administrator-guide/config/fe_config.md
b/docs/en/administrator-guide/config/fe_config.md
index 50e2634..1135f4c 100644
--- a/docs/en/administrator-guide/config/fe_config.md
+++ b/docs/en/administrator-guide/config/fe_config.md
@@ -1554,7 +1554,7 @@ MasterOnly:true
Maximal memory layout length of a row. default is 100 KB. In BE, the maximal
size of a RowBlock is 100MB(Configure as max_unpacked_row_block_size in
be.conf). And each RowBlock contains 1024 rows. So the maximal size of a row is
approximately 100 KB.
eg.
schema: k1(int), v1(decimal), v2(varchar(2000))
- then the memory layout length of a row is: 8(int) + 40(decimal) +
2000(varchar) = 2048 (Bytes)
+ then the memory layout length of a row is: 4(int) + 16(decimal) +
2000(varchar) = 2020 (Bytes)
See memory layout length of all types, run 'help create table' in
mysql-client.
If you want to increase this number to support more columns in a row, you
also need to increase the
max_unpacked_row_block_size in be.conf. But the performance impact is
unknown.
diff --git a/docs/zh-CN/administrator-guide/config/fe_config.md
b/docs/zh-CN/administrator-guide/config/fe_config.md
index 6fdc1e5..706bb45 100644
--- a/docs/zh-CN/administrator-guide/config/fe_config.md
+++ b/docs/zh-CN/administrator-guide/config/fe_config.md
@@ -1566,7 +1566,7 @@ NORMAL 优先级挂起加载作业的并发数。
例如。
schema:k1(int), v1(decimal), v2(varchar(2000))
- 那么一行的内存布局长度为:8(int) + 40(decimal) + 2000(varchar) = 2048 (Bytes)
+ 那么一行的内存布局长度为:4(int) + 16(decimal) + 2000(varchar) = 2020 (Bytes)
查看所有类型的内存布局长度,在 mysql-client 中运行 `help create table`。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]