From ae1a82b0ed29afbc10446607cffa4c6aaa7e47b3 Mon Sep 17 00:00:00 2001 From: kailixu Date: Tue, 10 Jan 2023 17:10:33 +0800 Subject: [PATCH] docs: format optimization for dataDir --- docs/en/14-reference/12-config/index.md | 4 ++-- docs/zh/14-reference/12-config/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/14-reference/12-config/index.md b/docs/en/14-reference/12-config/index.md index b6e11de952..9b06263073 100644 --- a/docs/en/14-reference/12-config/index.md +++ b/docs/en/14-reference/12-config/index.md @@ -314,7 +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. The multi-tier storage directory is configured through dataDir, the format is: dataDir [path] @@ -339,7 +339,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 e3101830a1..2e3449e731 100644 --- a/docs/zh/14-reference/12-config/index.md +++ b/docs/zh/14-reference/12-config/index.md @@ -305,7 +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)配合使用). 配置方法如下。 多级存储目录通过 dataDir 配置。配置项格式: dataDir [path] @@ -330,7 +330,7 @@ dataDir /mnt/data22 2 0 dataDir /var/lib/taos 或 dataDir /var/lib/taos 0 或 dataDir /var/lib/taos 0 1 -``` +::: ### tempDir