Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add info for ttlChangeOnWrite #22005

Merged
merged 1 commit into from Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 11 additions & 2 deletions docs/en/14-reference/12-config/index.md
Expand Up @@ -102,7 +102,7 @@ Ensure that your firewall rules do not block TCP port 6042 on any host in the c
| Value Range | 10-50000000 |
| Default Value | 5000 |

### numOfRpcSessions
### numOfRpcSessions

| Attribute | Description |
| ------------- | ------------------------------------------ |
Expand Down Expand Up @@ -202,7 +202,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
| Default Value | 0 |
| Notes | 0: Disable SMA indexing and perform all queries on non-indexed data; 1: Enable SMA indexing and perform queries from suitable statements on precomputation results. |

### countAlwaysReturnValue
### countAlwaysReturnValue

| Attribute | Description |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -713,6 +713,14 @@ The charset that takes effect is UTF-8.
| Value Range | 0: disable UDF; 1: enabled UDF |
| Default Value | 1 |

### ttlChangeOnWrite

| Attribute | Description |
| ------------- | ----------------------------------------------------------------------------- |
| Applicable | Server Only |
| Meaning | Whether the ttl expiration time changes with the table modification operation |
| Value Range | 0: not change; 1: change by modification |
| Default Value | 0 |

## 3.0 Parameters

Expand Down Expand Up @@ -770,3 +778,4 @@ The charset that takes effect is UTF-8.
| 52 | charset | Yes | Yes | |
| 53 | udf | Yes | Yes | |
| 54 | enableCoreFile | Yes | Yes | |
| 55 | ttlChangeOnWrite | No | Yes | |
14 changes: 12 additions & 2 deletions docs/zh/14-reference/12-config/index.md
Expand Up @@ -101,7 +101,7 @@ taos -C
| 取值范围 | 10-50000000 |
| 缺省值 | 5000 |

### numOfRpcSessions
### numOfRpcSessions

| 属性 | 说明 |
| --------| ---------------------- |
Expand All @@ -120,7 +120,7 @@ taos -C
| 缺省值 | 500000 |


### numOfRpcSessions
### numOfRpcSessions

| 属性 | 说明 |
| -------- | ---------------------------- |
Expand Down Expand Up @@ -717,6 +717,15 @@ charset 的有效值是 UTF-8。
| 取值范围 | 0: 不启动;1:启动 |
| 缺省值 | 1 |

### ttlChangeOnWrite

| 属性 | 说明 |
| -------- | ------------------ |
| 适用范围 | 仅服务端适用 |
| 含义 | ttl 到期时间是否伴随表的修改操作改变 |
| 取值范围 | 0: 不改变;1:改变 |
| 缺省值 | 0 |

## 压缩参数

### compressMsgSize
Expand Down Expand Up @@ -784,6 +793,7 @@ charset 的有效值是 UTF-8。
| 52 | charset | 是 | 是 | |
| 53 | udf | 是 | 是 | |
| 54 | enableCoreFile | 是 | 是 | |
| 55 | ttlChangeOnWrite | 否 | 是 | |

## 2.x->3.0 的废弃参数

Expand Down