提交 b59da181 编写于 作者: dengyihao's avatar dengyihao

add parameter

上级 b344ad2f
......@@ -46,7 +46,7 @@ The parameters described in this document by the effect that they have on the sy
### firstEp
| Attribute | Description |
| -------- | -------------------------------------------------------------- |
| ---------- | ---------------------------------------------------------------------------------------------------- |
| Applicable | Server and Client |
| Meaning | The end point of the first dnode in the cluster to be connected to when `taosd` or `taos` is started |
| Default | localhost:6030 |
......@@ -54,7 +54,7 @@ The parameters described in this document by the effect that they have on the sy
### secondEp
| Attribute | Description |
| -------- | ------------------------------------------------------------------------------------- |
| ---------- | ---------------------------------------------------------------------------------------------------------------------- |
| Applicable | Server and Client |
| Meaning | The end point of the second dnode to be connected to if the firstEp is not available when `taosd` or `taos` is started |
| Default | None |
......@@ -71,7 +71,7 @@ The parameters described in this document by the effect that they have on the sy
### serverPort
| Attribute | Description |
| -------- | ----------------------------------------------------------------------------------------------------------------------- |
| ------------- | ----------------------------------------------------- |
| Applicable | Server Only |
| Meaning | The port for external access after `taosd` is started |
| Default Value | 6030 |
......@@ -80,12 +80,12 @@ The parameters described in this document by the effect that they have on the sy
- Ensure that your firewall rules do not block TCP port 6042 on any host in the cluster. Below table describes the ports used by TDengine in details.
:::
| Protocol | Default Port | Description | How to configure |
| :------- | :----------- | :----------------------------------------------- | :--------------------------------------------------------------------------------------------- |
| :------- | :----------- | :-------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
| TCP | 6030 | Communication between client and server. In a multi-node cluster, communication between nodes. serverPort |
| TCP | 6041 | REST connection between client and server | Prior to 2.4.0.0: serverPort+11; After 2.4.0.0 refer to [taosAdapter](/reference/taosadapter/) |
| TCP | 6043 | Service Port of taosKeeper | The parameter of taosKeeper |
| TCP | 6044 | Data access port for StatsD | Configurable through taosAdapter parameters.
| UDP | 6045 | Data access for statsd | Configurable through taosAdapter parameters.
| TCP | 6044 | Data access port for StatsD | Configurable through taosAdapter parameters. |
| UDP | 6045 | Data access for statsd | Configurable through taosAdapter parameters. |
| TCP | 6060 | Port of Monitoring Service in Enterprise version | |
### maxShellConns
......@@ -97,6 +97,24 @@ The parameters described in this document by the effect that they have on the sy
| Value Range | 10-50000000 |
| Default Value | 5000 |
### numOfRpcSessions
| Attribute | Description |
| ------------- | ------------------------------------------ |
| Applicable | Client/Server |
| Meaning | The maximum number of connection to create |
| Value Range | 100-100000 |
| Default Value | 10000 |
### timeToGetAvailableConn
| Attribute | Description |
| ------------- | ---------------------------------------------- |
| Applicable | Client/Server |
| Meaning | The maximum waiting time to get avaliable conn |
| Value Range | 10-50000000(ms) |
| Default Value | 500000 |
## Monitoring Parameters
:::note
......@@ -105,16 +123,16 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### monitor
| Attribute | Description |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Applicable | Server only |
| Meaning | The switch for monitoring inside server. The main object of monitoring is to collect information about load on physical nodes, including CPU usage, memory usage, disk usage, and network bandwidth. Monitoring information is sent over HTTP to the taosKeeper service specified by `monitorFqdn` and `monitorProt`.
| Meaning | The switch for monitoring inside server. The main object of monitoring is to collect information about load on physical nodes, including CPU usage, memory usage, disk usage, and network bandwidth. Monitoring information is sent over HTTP to the taosKeeper service specified by `monitorFqdn` and `monitorProt`. |
| Value Range | 0: monitoring disabled, 1: monitoring enabled |
| Default | 0 |
### monitorFqdn
| Attribute | Description |
| -------- | -------------------------- |
| ---------- | ------------------------------------- |
| Applicable | Server Only |
| Meaning | FQDN of taosKeeper monitoring service |
| Default | None |
......@@ -122,7 +140,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### monitorPort
| Attribute | Description |
| -------- | --------------------------- |
| ------------- | ------------------------------------- |
| Applicable | Server Only |
| Meaning | Port of taosKeeper monitoring service |
| Default Value | 6043 |
......@@ -130,7 +148,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### monitorInterval
| Attribute | Description |
| -------- | -------------------------------------------- |
| ------------- | ------------------------------------------ |
| Applicable | Server Only |
| Meaning | The interval of collecting system workload |
| Unit | second |
......@@ -140,7 +158,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### telemetryReporting
| Attribute | Description |
| -------- | ---------------------------------------- |
| ------------- | ---------------------------------------------------------------------------- |
| Applicable | Server Only |
| Meaning | Switch for allowing TDengine to collect and report service usage information |
| Value Range | 0: Not allowed; 1: Allowed |
......@@ -148,9 +166,9 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### crashReporting
| Attribute | Description |
| -------- | -------------------------------------------- |
| ------------- | ---------------------------------------------------------------------------- |
| Applicable | Server Only |
| Meaning |Switch for allowing TDengine to collect and report crash related information |
| Meaning | Switch for allowing TDengine to collect and report crash related information |
| Value Range | 0,1 0: Not allowed; 1: allowed |
| Default Value | 1 |
......@@ -160,7 +178,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### queryPolicy
| Attribute | Description |
| -------- | ----------------------------- |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Applicable | Client only |
| Meaning | Execution policy for query statements |
| Unit | None |
......@@ -170,17 +188,17 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### querySmaOptimize
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Applicable | Client only |
| Meaning | SMA index optimization policy |
| Unit | None |
| 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.|
| 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
| Attribute | Description |
| -------- | -------------------------------- |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Applicable | Server only |
| Meaning | count()/hyperloglog() return value or not if the input data is empty or NULL |
| Vlue Range | 0: Return empty line, 1: Return 0 |
......@@ -190,7 +208,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### maxNumOfDistinctRes
| Attribute | Description |
| -------- | -------------------------------- |
| ------------- | -------------------------------------------- |
| Applicable | Server Only |
| Meaning | The maximum number of distinct rows returned |
| Value Range | [100,000 - 100,000,000] |
......@@ -199,7 +217,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### keepColumnName
| Attribute | Description |
| -------- | -------------------------------- |
| ------------- | --------------------------------------------------------------------------------------------------------------- |
| Applicable | Client only |
| Meaning | When the Last, First, LastRow function is queried, whether the returned column name contains the function name. |
| Value Range | 0 means including the function name, 1 means not including the function name. |
......@@ -210,7 +228,7 @@ Please note the `taoskeeper` needs to be installed and running to create the `lo
### timezone
| Attribute | Description |
| -------- | ------------------------------ |
| ------------- | ------------------------------- |
| Applicable | Server and Client |
| Meaning | TimeZone |
| Default Value | TimeZone configured in the host |
......@@ -315,7 +333,7 @@ The charset that takes effect is UTF-8.
### dataDir
| Attribute | Description |
| -------- | ------------------------------------------ |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Applicable | Server Only |
| Meaning | All data files are stored in this directory |
| Default Value | /var/lib/taos |
......@@ -324,7 +342,7 @@ The charset that takes effect is UTF-8.
### tempDir
| Attribute | Description |
| -------- | ------------------------------------------ |
| ---------- | ---------------------------------------------------------------------------------- |
| Applicable | Server only |
| Meaning | The directory where to put all the temporary files generated during system running |
| Default | /tmp |
......@@ -332,7 +350,7 @@ The charset that takes effect is UTF-8.
### minimalTmpDirGB
| Attribute | Description |
| -------- | ------------------------------------------------ |
| ------------- | ----------------------------------------------------------------------------------------------- |
| Applicable | Server and Client |
| Meaning | When the available disk space in tmpDir is below this threshold, writing to tmpDir is suspended |
| Unit | GB |
......@@ -341,7 +359,7 @@ The charset that takes effect is UTF-8.
### minimalDataDirGB
| Attribute | Description |
| -------- | ------------------------------------------------ |
| ------------- | ------------------------------------------------------------------------------------------------- |
| Applicable | Server Only |
| Meaning | When the available disk space in dataDir is below this threshold, writing to dataDir is suspended |
| Unit | GB |
......@@ -352,7 +370,7 @@ The charset that takes effect is UTF-8.
### supportVnodes
| Attribute | Description |
| -------- | --------------------------- |
| ------------- | ---------------------------------- |
| Applicable | Server Only |
| Meaning | Maximum number of vnodes per dnode |
| Value Range | 0-4096 |
......@@ -374,7 +392,7 @@ The charset that takes effect is UTF-8.
### logDir
| Attribute | Description |
| -------- | -------------------------------------------------- |
| ------------- | ----------------------------------- |
| Applicable | Server and Client |
| Meaning | The directory for writing log files |
| Default Value | /var/log/taos |
......@@ -382,7 +400,7 @@ The charset that takes effect is UTF-8.
### minimalLogDirGB
| Attribute | Description |
| -------- | -------------------------------------------- |
| ------------- | -------------------------------------------------------------------------------------------------- |
| Applicable | Server and Client |
| Meaning | When the available disk space in logDir is below this threshold, writing to log files is suspended |
| Unit | GB |
......@@ -391,7 +409,7 @@ The charset that takes effect is UTF-8.
### numOfLogLines
| Attribute | Description |
| -------- | ---------------------------- |
| ------------- | ------------------------------------------ |
| Applicable | Server and Client |
| Meaning | Maximum number of lines in single log file |
| Default Value | 10000000 |
......@@ -399,7 +417,7 @@ The charset that takes effect is UTF-8.
### asyncLog
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ---------------------------- |
| Applicable | Server and Client |
| Meaning | The mode of writing log file |
| Value Range | 0: sync way; 1: async way |
......@@ -408,7 +426,7 @@ The charset that takes effect is UTF-8.
### logKeepDays
| Attribute | Description |
| -------- | ----------------------------------------------------------------------------------- |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Applicable | Server and Client |
| Meaning | The number of days for log files to be kept |
| Unit | day |
......@@ -418,7 +436,7 @@ The charset that takes effect is UTF-8.
### debugFlag
| Attribute | Description |
| -------- | ------------------------------------------------------------------------------------------------- |
| ------------- | --------------------------------------------------------- |
| Applicable | Server and Client |
| Meaning | Log level |
| Value Range | 131: INFO/WARNING/ERROR; 135: plus DEBUG; 143: plus TRACE |
......@@ -427,7 +445,7 @@ The charset that takes effect is UTF-8.
### tmrDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------------- |
| Applicable | Server and Client |
| Meaning | Log level of timer module |
| Value Range | same as debugFlag |
......@@ -436,7 +454,7 @@ The charset that takes effect is UTF-8.
### uDebugFlag
| Attribute | Description |
| -------- | ---------------------- |
| ------------- | -------------------------- |
| Applicable | Server and Client |
| Meaning | Log level of common module |
| Value Range | same as debugFlag |
......@@ -445,7 +463,7 @@ The charset that takes effect is UTF-8.
### rpcDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ----------------------- |
| Applicable | Server and Client |
| Meaning | Log level of rpc module |
| Value Range | same as debugFlag |
......@@ -454,7 +472,7 @@ The charset that takes effect is UTF-8.
### jniDebugFlag
| Attribute | Description |
| -------- | ------------------ |
| ------------- | ----------------------- |
| Applicable | Client Only |
| Meaning | Log level of jni module |
| Value Range | same as debugFlag |
......@@ -463,7 +481,7 @@ The charset that takes effect is UTF-8.
### qDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------------- |
| Applicable | Server and Client |
| Meaning | Log level of query module |
| Value Range | same as debugFlag |
......@@ -472,7 +490,7 @@ The charset that takes effect is UTF-8.
### cDebugFlag
| Attribute | Description |
| -------- | --------------------- |
| ------------- | ------------------- |
| Applicable | Client Only |
| Meaning | Log level of Client |
| Value Range | same as debugFlag |
......@@ -481,7 +499,7 @@ The charset that takes effect is UTF-8.
### dDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------ |
| Applicable | Server Only |
| Meaning | Log level of dnode |
| Value Range | same as debugFlag |
......@@ -490,7 +508,7 @@ The charset that takes effect is UTF-8.
### vDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------ |
| Applicable | Server Only |
| Meaning | Log level of vnode |
| Value Range | same as debugFlag |
......@@ -499,7 +517,7 @@ The charset that takes effect is UTF-8.
### mDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------------- |
| Applicable | Server Only |
| Meaning | Log level of mnode module |
| Value Range | same as debugFlag |
......@@ -508,7 +526,7 @@ The charset that takes effect is UTF-8.
### wDebugFlag
| Attribute | Description |
| -------- | ------------------ |
| ------------- | ----------------------- |
| Applicable | Server Only |
| Meaning | Log level of WAL module |
| Value Range | same as debugFlag |
......@@ -517,7 +535,7 @@ The charset that takes effect is UTF-8.
### sDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------------ |
| Applicable | Server and Client |
| Meaning | Log level of sync module |
| Value Range | same as debugFlag |
......@@ -526,7 +544,7 @@ The charset that takes effect is UTF-8.
### tsdbDebugFlag
| Attribute | Description |
| -------- | ------------------- |
| ------------- | ------------------------ |
| Applicable | Server Only |
| Meaning | Log level of TSDB module |
| Value Range | same as debugFlag |
......@@ -535,7 +553,7 @@ The charset that takes effect is UTF-8.
### tqDebugFlag
| Attribute | Description |
| -------- | ----------------- |
| ------------- | ---------------------- |
| Applicable | Server only |
| Meaning | Log level of TQ module |
| Value Range | same as debugFlag |
......@@ -544,7 +562,7 @@ The charset that takes effect is UTF-8.
### fsDebugFlag
| Attribute | Description |
| -------- | ----------------- |
| ------------- | ---------------------- |
| Applicable | Server only |
| Meaning | Log level of FS module |
| Value Range | same as debugFlag |
......@@ -553,7 +571,7 @@ The charset that takes effect is UTF-8.
### udfDebugFlag
| Attribute | Description |
| -------- | ------------------ |
| ------------- | ----------------------- |
| Applicable | Server Only |
| Meaning | Log level of UDF module |
| Value Range | same as debugFlag |
......@@ -562,7 +580,7 @@ The charset that takes effect is UTF-8.
### smaDebugFlag
| Attribute | Description |
| -------- | ------------------ |
| ------------- | ----------------------- |
| Applicable | Server Only |
| Meaning | Log level of SMA module |
| Value Range | same as debugFlag |
......@@ -571,7 +589,7 @@ The charset that takes effect is UTF-8.
### idxDebugFlag
| Attribute | Description |
| -------- | -------------------- |
| ------------- | ------------------------- |
| Applicable | Server Only |
| Meaning | Log level of index module |
| Value Range | same as debugFlag |
......@@ -580,7 +598,7 @@ The charset that takes effect is UTF-8.
### tdbDebugFlag
| Attribute | Description |
| -------- | ------------------ |
| ------------- | ----------------------- |
| Applicable | Server Only |
| Meaning | Log level of TDB module |
| Value Range | same as debugFlag |
......@@ -591,7 +609,7 @@ The charset that takes effect is UTF-8.
### smlChildTableName
| Attribute | Description |
| -------- | ------------------------- |
| ------------- | ------------------------------------------ |
| Applicable | Client only |
| Meaning | Custom subtable name for schemaless writes |
| Type | String |
......@@ -600,7 +618,7 @@ The charset that takes effect is UTF-8.
### smlTagName
| Attribute | Description |
| -------- | ------------------------------------ |
| ------------- | ------------------------------------------------------------- |
| Applicable | Client only |
| Meaning | Default tag for schemaless writes without tag value specified |
| Type | String |
......@@ -609,9 +627,9 @@ The charset that takes effect is UTF-8.
### smlDataFormat
| Attribute | Description |
| -------- | ----------------------------- |
| ----------- | ----------------------------------------------------------------------------------- |
| Applicable | Client only |
| Meaning | Whether schemaless columns are consistently ordered, depat, discarded since 3.0.3.0|
| Meaning | Whether schemaless columns are consistently ordered, depat, discarded since 3.0.3.0 |
| Value Range | 0: not consistent; 1: consistent. |
| Default | 0 |
......@@ -620,7 +638,7 @@ The charset that takes effect is UTF-8.
### compressMsgSize
| Attribute | Description |
| -------- | ----------------------------- |
| ----------- | ------------------------------------------------------------------------------------------------------------------ |
| Applicable | Both Client and Server side |
| Meaning | Whether RPC message is compressed |
| Value Range | -1: none message is compressed; 0: all messages are compressed; N (N>0): messages exceeding N bytes are compressed |
......@@ -632,7 +650,7 @@ The charset that takes effect is UTF-8.
### enableCoreFile
| Attribute | Description |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Applicable | Server and Client |
| Meaning | Whether to generate core file when server crashes |
| Value Range | 0: false, 1: true |
......@@ -642,7 +660,7 @@ The charset that takes effect is UTF-8.
### enableScience
| Attribute | Description |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| ------------- | ------------------------------------------------------------- |
| Applicable | Only taos-CLI client |
| Meaning | Whether to show float and double with the scientific notation |
| Value Range | 0: false, 1: true |
......@@ -652,7 +670,7 @@ The charset that takes effect is UTF-8.
### udf
| Attribute | Description |
| -------- | ------------------ |
| ------------- | ---------------------------------- |
| Applicable | Server Only |
| Meaning | Whether the UDF service is enabled |
| Value Range | 0: disable UDF; 1: enabled UDF |
......@@ -662,7 +680,7 @@ The charset that takes effect is UTF-8.
## 3.0 Parameters
| # | **Parameter** | **Applicable to 2.x ** | **Applicable to 3.0 ** | Current behavior in 3.0 |
| --- | :---------------------: | --------------- | --------------- | ------------------------------------------------- |
| --- | :--------------------: | ---------------------- | ---------------------------- | ----------------------- |
| 1 | firstEp | Yes | Yes | |
| 2 | secondEp | Yes | Yes | |
| 3 | fqdn | Yes | Yes | |
......
......@@ -80,11 +80,11 @@ taos --dump-config
确保集群中所有主机在端口 6030 上的 TCP 协议能够互通。(详细的端口情况请参见下表)
:::
| 协议 | 默认端口 | 用途说明 | 修改方法 |
| :--- | :-------- | :---------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------- |
| :--- | :------- | :----------------------------------------------- | :------------------------------------------------------------------------------------------------- |
| TCP | 6030 | 客户端与服务端之间通讯,多节点集群的节点间通讯。 | 由配置文件设置 serverPort 决定。 |
| TCP | 6041 | 客户端与服务端之间的 RESTful 通讯。 | 随 serverPort 端口变化。注意 taosAdapter 配置或有不同,请参考相应[文档](/reference/taosadapter/)。 |
| TCP | 6043 | taosKeeper 监控服务端口。 | 随 taosKeeper 启动参数设置变化。 |
| TCP | 6044 | 支持 StatsD 的数据接入端口。 | 随 taosAdapter 启动参数设置变化|
| TCP | 6044 | 支持 StatsD 的数据接入端口。 | 随 taosAdapter 启动参数设置变化 |
| UDP | 6045 | 支持 collectd 数据接入端口。 | 随 taosAdapter 启动参数设置变化 |
| TCP | 6060 | 企业版内 Monitor 服务的网络端口。 | |
......@@ -97,6 +97,24 @@ taos --dump-config
| 取值范围 | 10-50000000 |
| 缺省值 | 5000 |
### numOfRpcSessions
| 属性 | 说明 |
| -------- | ---------------------------- |
| 适用范围 | 客户端和服务端都适用 |
| 含义 | 一个客户端能创建的最大连接数 |
| 取值范围 | 100-100000 |
| 缺省值 | 10000 |
### timeToGetAvailableConn
| 属性 | 说明 |
| -------- | -------------------------- |
| 适用范围 | 客户端和服务端都适用 |
| 含义 | 获得可用连接的最长等待时间 |
| 取值范围 | 10-50000000(单位为毫秒) |
| 缺省值 | 500000 |
## 监控相关
:::note
......@@ -140,18 +158,18 @@ taos --dump-config
### telemetryReporting
| 属性 | 说明 |
| -------- | -------------------------------------------- |
| -------- | ------------------------ |
| 适用范围 | 仅服务端适用 |
| 含义 |是否上传 telemetry |
| 含义 | 是否上传 telemetry |
| 取值范围 | 0,1 0: 不上传;1:上传 |
| 缺省值 | 1 |
### crashReporting
| 属性 | 说明 |
| -------- | -------------------------------------------- |
| -------- | ------------------------ |
| 适用范围 | 仅服务端适用 |
| 含义 |是否上传 crash 信息 |
| 含义 | 是否上传 crash 信息 |
| 取值范围 | 0,1 0: 不上传;1:上传 |
| 缺省值 | 1 |
......@@ -160,7 +178,7 @@ taos --dump-config
### queryPolicy
| 属性 | 说明 |
| -------- | ----------------------------- |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 适用范围 | 仅客户端适用 |
| 含义 | 查询语句的执行策略 |
| 单位 | 无 |
......@@ -170,12 +188,12 @@ taos --dump-config
### querySmaOptimize
| 属性 | 说明 |
| -------- | -------------------- |
| -------- | ---------------------------------------------------------------------------------------------------------------- |
| 适用范围 | 仅客户端适用 |
| 含义 | sma index 的优化策略 |
| 单位 | 无 |
| 缺省值 | 0 |
| 补充说明 |0: 表示不使用 sma index,永远从原始数据进行查询; 1: 表示使用 sma index,对符合的语句,直接从预计算的结果进行查询 |
| 补充说明 | 0: 表示不使用 sma index,永远从原始数据进行查询; 1: 表示使用 sma index,对符合的语句,直接从预计算的结果进行查询 |
### maxNumOfDistinctRes
......@@ -189,7 +207,7 @@ taos --dump-config
### keepColumnName
| 属性 | 说明 |
| -------- | -------------------------------- |
| -------- | ----------------------------------------------------------- |
| 适用范围 | 仅客户端适用 |
| 含义 | Last、First、LastRow 函数查询时,返回的列名是否包含函数名。 |
| 取值范围 | 0 表示包含函数名,1 表示不包含函数名。 |
......@@ -198,7 +216,7 @@ taos --dump-config
### countAlwaysReturnValue
| 属性 | 说明 |
| -------- | -------------------------------- |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| 适用范围 | 仅服务端适用 |
| 含义 | count/hyperloglog函数在输入数据为空或者NULL的情况下是否返回值 |
| 取值范围 | 0:返回空行,1:返回 0 |
......@@ -315,7 +333,7 @@ charset 的有效值是 UTF-8。
### dataDir
| 属性 | 说明 |
| -------- | ------------------------------------------ |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 适用范围 | 仅服务端适用 |
| 含义 | 数据文件目录,所有的数据文件都将写入该目录 |
| 缺省值 | /var/lib/taos |
......@@ -324,7 +342,7 @@ charset 的有效值是 UTF-8。
### tempDir
| 属性 | 说明 |
| -------- | ------------------------------------------ |
| -------- | ------------------------------------------------ |
| 适用范围 | 仅服务端适用 |
| 含义 | 该参数指定所有系统运行过程中的临时文件生成的目录 |
| 缺省值 | /tmp |
......@@ -341,7 +359,7 @@ charset 的有效值是 UTF-8。
### minimalDataDirGB
| 属性 | 说明 |
| -------- | ------------------------------------------------ |
| -------- | ---------------------------------------------- |
| 适用范围 | 仅服务端适用 |
| 含义 | dataDir 指定的时序数据存储目录所需要保留的最小 |
| 单位 | GB |
......@@ -382,7 +400,7 @@ charset 的有效值是 UTF-8。
### minimalLogDirGB
| 属性 | 说明 |
| -------- | -------------------------------------------- |
| -------- | ------------------------------------------------------ |
| 适用范围 | 服务端和客户端均适用 |
| 含义 | 当日志文件夹所在磁盘可用空间大小小于该值时,停止写日志 |
| 单位 | GB |
......@@ -591,7 +609,7 @@ charset 的有效值是 UTF-8。
### smlChildTableName
| 属性 | 说明 |
| -------- | ------------------------- |
| -------- | ------------------------------- |
| 适用范围 | 仅客户端适用 |
| 含义 | schemaless 自定义的子表名的 key |
| 类型 | 字符串 |
......@@ -609,7 +627,7 @@ charset 的有效值是 UTF-8。
### smlDataFormat
| 属性 | 说明 |
| -------- | ----------------------------- |
| -------- | -------------------------------------------------------- |
| 适用范围 | 仅客户端适用 |
| 含义 | schemaless 列数据是否顺序一致,从3.0.3.0开始,该配置废弃 |
| 值域 | 0:不一致;1: 一致 |
......@@ -630,7 +648,7 @@ charset 的有效值是 UTF-8。
### enableScience
| 属性 | 说明 |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| -------- | ---------------------------- |
| 适用范围 | 仅客户端 TAOS-CLI 适用 |
| 含义 | 是否开启科学计数法显示浮点数 |
| 取值范围 | 0:否,1:是 |
......@@ -650,7 +668,7 @@ charset 的有效值是 UTF-8。
### compressMsgSize
| 属性 | 说明 |
| -------- | ----------------------------- |
| -------- | ------------------------------------------------------------------------------- |
| 适用于 | 服务端和客户端均适用 |
| 含义 | 是否对 RPC 消息进行压缩 |
| 取值范围 | -1: 所有消息都不压缩; 0: 所有消息都压缩; N (N>0): 只有大于 N 个字节的消息才压缩 |
......@@ -659,7 +677,7 @@ charset 的有效值是 UTF-8。
## 3.0 中有效的配置参数列表
| # | **参数** | **适用于 2.X ** | **适用于 3.0 ** | 3.0 版本的当前行为 |
| --- | :---------------------: | --------------- | --------------- | ------------------------------------------------- |
| --- | :--------------------: | --------------- | ------------------------------- | ------------------ |
| 1 | firstEp | 是 | 是 | |
| 2 | secondEp | 是 | 是 | |
| 3 | fqdn | 是 | 是 | |
......@@ -716,7 +734,7 @@ charset 的有效值是 UTF-8。
## 2.x->3.0 的废弃参数
| # | **参数** | **适用于 2.X ** | **适用于 3.0 ** | 3.0 版本的当前行为 |
| --- | :---------------------: | --------------- | --------------- | ------------------------------------------------- |
| --- | :---------------------: | --------------- | --------------- | ---------------------------------------------------- |
| 1 | arbitrator | 是 | 否 | 通过 RAFT 协议选主 |
| 2 | numOfThreadsPerCore | 是 | 否 | 有其它参数设置多种线程池的大小 |
| 3 | numOfMnodes | 是 | 否 | 通过 create mnode 命令动态创建 mnode |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册