docs: resolve a few broken links
This commit is contained in:
parent
07d0a3a52a
commit
be0ff35697
|
@ -33,7 +33,7 @@ TDengine 提供了丰富的应用程序开发接口,为了便于用户快速
|
||||||
关键不同点在于:
|
关键不同点在于:
|
||||||
|
|
||||||
1. 使用 REST 连接,用户无需安装客户端驱动程序 taosc,具有跨平台易用的优势,但性能要下降 30%左右。
|
1. 使用 REST 连接,用户无需安装客户端驱动程序 taosc,具有跨平台易用的优势,但性能要下降 30%左右。
|
||||||
2. 使用原生连接可以体验 TDengine 的全部功能,如[参数绑定接口](/reference/connector/cpp#参数绑定-api)、[订阅](reference/connector/cpp#数据订阅接口)等等。
|
2. 使用原生连接可以体验 TDengine 的全部功能,如[参数绑定接口](/reference/connector/cpp#参数绑定-api)、[订阅](/reference/connector/cpp#订阅和消费-api)等等。
|
||||||
|
|
||||||
## 安装客户端驱动 taosc
|
## 安装客户端驱动 taosc
|
||||||
|
|
||||||
|
|
|
@ -20,21 +20,21 @@ CREATE DATABASE [IF NOT EXISTS] db_name [KEEP keep] [DAYS days] [UPDATE 1];
|
||||||
3. 数据库名最大长度为 33;
|
3. 数据库名最大长度为 33;
|
||||||
4. 一条 SQL 语句的最大长度为 65480 个字符;
|
4. 一条 SQL 语句的最大长度为 65480 个字符;
|
||||||
5. 创建数据库时可用的参数有:
|
5. 创建数据库时可用的参数有:
|
||||||
- cache: [Description](/reference/config/#cache)
|
- cache: [详细说明](/reference/config/#cache)
|
||||||
- blocks: [Description](/reference/config/#blocks)
|
- blocks: [详细说明](/reference/config/#blocks)
|
||||||
- days: [Description](/reference/config/#days)
|
- days: [详细说明](/reference/config/#days)
|
||||||
- keep: [Description](/reference/config/#keep)
|
- keep: [详细说明](/reference/config/#keep)
|
||||||
- minRows: [Description](/reference/config/#minrows)
|
- minRows: [详细说明](/reference/config/#minrows)
|
||||||
- maxRows: [Description](/reference/config/#maxrows)
|
- maxRows: [详细说明](/reference/config/#maxrows)
|
||||||
- wal: [Description](/reference/config/#wallevel)
|
- wal: [详细说明](/reference/config/#wallevel)
|
||||||
- fsync: [Description](/reference/config/#fsync)
|
- fsync: [详细说明](/reference/config/#fsync)
|
||||||
- update: [Description](/reference/config/#update)
|
- update: [详细说明](/reference/config/#update)
|
||||||
- cacheLast: [Description](/reference/config/#cachelast)
|
- cacheLast: [详细说明](/reference/config/#cachelast)
|
||||||
- replica: [Description](/reference/config/#replica)
|
- replica: [详细说明](/reference/config/#replica)
|
||||||
- quorum: [Description](/reference/config/#quorum)
|
- quorum: [详细说明](/reference/config/#quorum)
|
||||||
- maxVgroupsPerDb: [Description](/reference/config/#maxvgroupsperdb)
|
- maxVgroupsPerDb: [详细说明](/reference/config/#maxvgroupsperdb)
|
||||||
- comp: [Description](/reference/config/#comp)
|
- comp: [详细说明](/reference/config/#comp)
|
||||||
- precision: [Description](/reference/config/#precision)
|
- precision: [详细说明](/reference/config/#precision)
|
||||||
6. 请注意上面列出的所有参数都可以配置在配置文件 `taosd.cfg` 中作为创建数据库时使用的默认配置, `create database` 的参数中明确指定的会覆盖配置文件中的设置。
|
6. 请注意上面列出的所有参数都可以配置在配置文件 `taosd.cfg` 中作为创建数据库时使用的默认配置, `create database` 的参数中明确指定的会覆盖配置文件中的设置。
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
|
@ -33,7 +33,7 @@ Either way, same or similar APIs are provided by connectors to access database o
|
||||||
Key differences:
|
Key differences:
|
||||||
|
|
||||||
1. With REST connection, it's not necessary to install TDengine client driver (taosc), it's more friendly for cross-platform with the cost of 30% performance downgrade. When taosc has an upgrade, application does not need to make changes.
|
1. With REST connection, it's not necessary to install TDengine client driver (taosc), it's more friendly for cross-platform with the cost of 30% performance downgrade. When taosc has an upgrade, application does not need to make changes.
|
||||||
2. With native connection, full compatibility of TDengine can be utilized, like [Parameter Binding](/reference/connector/cpp#Parameter Binding-api), [Subscription](reference/connector/cpp#Subscription), etc. But taosc has to be installed, some platforms may not be supported.
|
2. With native connection, full compatibility of TDengine can be utilized, like [Parameter Binding](/reference/connector/cpp#parameter-binding-api), [Subscription](/reference/connector/cpp#subscription-and-consumption-api), etc. But taosc has to be installed, some platforms may not be supported.
|
||||||
|
|
||||||
## Install Client Driver taosc
|
## Install Client Driver taosc
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ CREATE DATABASE [IF NOT EXISTS] db_name [KEEP keep] [DAYS days] [UPDATE 1];
|
||||||
- quorum: [Description](/reference/config/#quorum)
|
- quorum: [Description](/reference/config/#quorum)
|
||||||
- maxVgroupsPerDb: [Description](/reference/config/#maxvgroupsperdb)
|
- maxVgroupsPerDb: [Description](/reference/config/#maxvgroupsperdb)
|
||||||
- comp: [Description](/reference/config/#comp)
|
- comp: [Description](/reference/config/#comp)
|
||||||
- precision: [Description](reference/config/#precision)
|
- precision: [Description](/reference/config/#precision)
|
||||||
6. Please be noted that all of the parameters mentioned in this section can be configured in configuration file `taosd.cfg` at server side and used by default, can be override if they are specified in `create database` statement.
|
6. Please be noted that all of the parameters mentioned in this section can be configured in configuration file `taosd.cfg` at server side and used by default, can be override if they are specified in `create database` statement.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
Loading…
Reference in New Issue