From cae3532e58cedde9a01d03eccccd389d0a5bbca0 Mon Sep 17 00:00:00 2001 From: kailixu Date: Tue, 10 Jan 2023 17:11:55 +0800 Subject: [PATCH] docs: format optimization for dataDir --- docs/en/14-reference/12-config/index.md | 2 ++ docs/zh/14-reference/12-config/index.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/en/14-reference/12-config/index.md b/docs/en/14-reference/12-config/index.md index 9b06263073..51bac10f8d 100644 --- a/docs/en/14-reference/12-config/index.md +++ b/docs/en/14-reference/12-config/index.md @@ -314,6 +314,7 @@ The charset that takes effect is UTF-8. | Applicable | Server Only | | Meaning | All data files are stored in this directory | | Default Value | /var/lib/taos | + :::info The official version supports multi-tier storage (need to cooperate with [KEEP parameter](https://docs.tdengine.com/taos-sql/database/#create-a-database)). The configuration method is as follows. @@ -339,6 +340,7 @@ The community version does not support multi-tier storage, and the following thr Data directory /var/lib/taos or dataDir /var/lib/taos 0 or dataDir /var/lib/taos 0 1 + ::: ### tempDir diff --git a/docs/zh/14-reference/12-config/index.md b/docs/zh/14-reference/12-config/index.md index 2e3449e731..96612bf82f 100644 --- a/docs/zh/14-reference/12-config/index.md +++ b/docs/zh/14-reference/12-config/index.md @@ -305,6 +305,7 @@ charset 的有效值是 UTF-8。 | 适用范围 | 仅服务端适用 | | 含义 | 数据文件目录,所有的数据文件都将写入该目录 | | 缺省值 | /var/lib/taos | + :::info 企业版支持多级存储 (需要与[KEEP 参数](https://docs.taosdata.com/taos-sql/database/#%E5%88%9B%E5%BB%BA%E6%95%B0%E6%8D%AE%E5%BA%93)配合使用). 配置方法如下。 @@ -330,6 +331,7 @@ dataDir /mnt/data22 2 0 dataDir /var/lib/taos 或 dataDir /var/lib/taos 0 或 dataDir /var/lib/taos 0 1 + ::: ### tempDir