diff --git a/docs/en/administrator-guide/config/fe_config.md b/docs/en/administrator-guide/config/fe_config.md index 50e2634524..1135f4c0c0 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 6fdc1e56db..706bb456fc 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`。