jgq2008303393 commented on code in PR #3523:
URL: https://github.com/apache/doris-website/pull/3523#discussion_r3050904023
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/row-store.md:
##########
@@ -92,17 +131,21 @@ PROPERTIES (
"row_store_page_size" = "4096"
);
```
-` "store_row_column" = "true",` 是必须的
-查询 2(注意命中 TOPN 查询优化以及需要是`SELECT *`)
+:::note
+Duplicate 表必须设置 `"store_row_column" = "true"`,不支持 `row_store_columns`
指定部分列——所有列均会存入行存。
+:::
+执行 TOPN 查询:
+
+```sql
+SELECT * FROM tbl_duplicate WHERE k < 10 ORDER BY k LIMIT 10;
```
-SELECT * FROM tbl_duplicate WHERE k < 10 ORDER BY k LIMIT 10
-```
-explain 上述语句应该包含`FETCH ROW STORE` 相应的标记,以及`OPT TWO PHASE`标记
+对该语句执行 `EXPLAIN`,输出中应同时包含 `FETCH ROW STORE` 标记和 `OPT TWO PHASE` 标记。
## 注意事项
-1. 开启行存后占用的存储空间会增加,存储空间的增加和数据特点有关,一般是原来表的 2 到 10 倍,具体空间占用需要使用实际数据测试。
-2. 行存的 page_size 对存储空间的也有影响,可以根据前面的表属性参数 `row_store_page_size` 说明进行调整。
+1. **存储开销:** 开启行存会增加磁盘使用量。根据数据特点,额外存储通常为原表大小的 2–10 倍。建议使用实际数据测试以评估影响。
Review Comment:
这里确实2~10倍吗,之前有用户沟通反馈这里有点担心
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]