You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/07/21 02:39:39 UTC

[doris-website] branch master updated: table zstd compression

This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new da046c65dc table zstd compression
da046c65dc is described below

commit da046c65dc23c4a88c18e96e0706f3f307a2e344
Author: jiafeng.zhang <zh...@gmail.com>
AuthorDate: Thu Jul 21 10:37:36 2022 +0800

    table zstd compression
    
    table zstd compression
---
 .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md | 6 ++++++
 .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md b/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md
index a85c2cb947..cdc15e8141 100644
--- a/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md
+++ b/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md
@@ -298,6 +298,12 @@ distribution_info
 
         `"in_memory" = "true"`
 
+    * compression
+
+        The default compression method for Doris tables is LZ4. After version 1.1, it is supported to specify the compression method as ZSTD to obtain a higher compression ratio.
+
+        "compression"="zstd"
+
     * `function_column.sequence_type`
 
         When using the UNIQUE KEY model, you can specify a sequence column. When the KEY columns are the same, REPLACE will be performed according to the sequence column (the larger value replaces the smaller value, otherwise it cannot be replaced)
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md
index 580977625f..72ef86179b 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md
@@ -298,6 +298,11 @@ distribution_info
         这个属性设置成 `true`, Doris 会尽量将该表的数据块缓存在存储引擎的 PageCache 中,已减少磁盘IO。但这个属性不会保证数据块常驻在内存中,仅作为一种尽力而为的标识。
 
         `"in_memory" = "true"`
+    *  `compression`
+
+        Doris 表的默认压缩方式是 LZ4。1.1版本后,支持将压缩方式指定为ZSTD以获得更高的压缩比。
+
+        "compression"="zstd"
 
     * `function_column.sequence_type`
 


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