From 3915fa6c293c3073b49dbe6ab4190c9cc3fa43dc Mon Sep 17 00:00:00 2001 From: kailixu Date: Tue, 10 Jan 2023 17:53:18 +0800 Subject: [PATCH] chore: docs update for dataDir --- docs/en/14-reference/12-config/index.md | 40 ++++++------------------- docs/zh/14-reference/12-config/index.md | 2 +- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/docs/en/14-reference/12-config/index.md b/docs/en/14-reference/12-config/index.md index 1488219bcf..c3d5de0213 100644 --- a/docs/en/14-reference/12-config/index.md +++ b/docs/en/14-reference/12-config/index.md @@ -142,6 +142,15 @@ The parameters described in this document by the effect that they have on the sy | Meaning | Switch for allowing TDengine to collect and report service usage information | | Value Range | 0: Not allowed; 1: Allowed | | Default Value | 1 | +### crashReporting + +| Attribute | Description | +| -------- | -------------------------------------------- | +| Applicable | Server Only | +| Meaning |Switch for allowing TDengine to collect and report crash related information | +| Value Range | 0,1 0: Not allowed;1:allowed | +| Default Value | 1 | + ## Query Parameters @@ -315,37 +324,6 @@ The charset that takes effect is UTF-8. | 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] ` -``` -dataDir: Configuration items in the configuration file (`taos.cfg`) -path: the directory to mount (cannot be omitted) -level: mount level, the value is 0, 1 or 2, if omitted, the default is 0. Up to 3 levels are supported, and each level supports up to 16 mount points, so a maximum of 48 mount points are supported. -primary: whether it is the primary mount point, 0 (no) or 1 (yes), the default is 1. The primary mount point is only allowed at level 0, and only one primary mount point is allowed (level=0, primary=1). -``` -Here is a normal configuration (3 storage tiers, each with 3 mount points): -``` -Data directory /mnt/data01 0 1 -Data directory /mnt/data02 0 0 -Data directory /mnt/data03 0 0 -Data directory /mnt/data10 1 0 -Data directory /mnt/data11 1 0 -Data directory /mnt/data12 1 0 -Data directory /mnt/data20 2 0 -Data directory /mnt/data21 2 0 -Data directory /mnt/data22 2 0 -``` -The community version does not support multi-tier storage, and the following three configurations are acceptable: -``` -Data directory /var/lib/taos -or dataDir /var/lib/taos 0 -or dataDir /var/lib/taos 0 1 -``` - -::: - ### tempDir | Attribute | Description | diff --git a/docs/zh/14-reference/12-config/index.md b/docs/zh/14-reference/12-config/index.md index 96612bf82f..8197a664ca 100644 --- a/docs/zh/14-reference/12-config/index.md +++ b/docs/zh/14-reference/12-config/index.md @@ -306,7 +306,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]