未验证 提交 5bbcb02a 编写于 作者: W wade zhang 提交者: GitHub

Update 02-database.md

上级 d8135e5d
...@@ -20,20 +20,20 @@ CREATE DATABASE [IF NOT EXISTS] db_name [KEEP keep] [DAYS days] [UPDATE 1]; ...@@ -20,20 +20,20 @@ CREATE DATABASE [IF NOT EXISTS] db_name [KEEP keep] [DAYS days] [UPDATE 1];
3. The maximum length of database name is 33 bytes. 3. The maximum length of database name is 33 bytes.
4. The maximum length of a SQL statement is 65,480 bytes. 4. The maximum length of a SQL statement is 65,480 bytes.
5. Below are the parameters that can be used when creating a database 5. Below are the parameters that can be used when creating a database
- cache: [Description](/reference/config/#cache) - cache: [Description](../../reference/config/#cache)
- blocks: [Description](/reference/config/#blocks) - blocks: [Description](../../reference/config/#blocks)
- days: [Description](/reference/config/#days) - days: [Description](../../reference/config/#days)
- keep: [Description](/reference/config/#keep) - keep: [Description](../../reference/config/#keep)
- minRows: [Description](/reference/config/#minrows) - minRows: [Description](../../reference/config/#minrows)
- maxRows: [Description](/reference/config/#maxrows) - maxRows: [Description](../../reference/config/#maxrows)
- wal: [Description](/reference/config/#wallevel) - wal: [Description](../../reference/config/#wallevel)
- fsync: [Description](/reference/config/#fsync) - fsync: [Description](../../reference/config/#fsync)
- update: [Description](/reference/config/#update) - update: [Description](../../reference/config/#update)
- cacheLast: [Description](/reference/config/#cachelast) - cacheLast: [Description](../../reference/config/#cachelast)
- replica: [Description](/reference/config/#replica) - replica: [Description](../../reference/config/#replica)
- quorum: [Description](/reference/config/#quorum) - quorum: [Description](../../reference/config/#quorum)
- comp: [Description](/reference/config/#comp) - comp: [Description](../../reference/config/#comp)
- precision: [Description](/reference/config/#precision) - precision: [Description](../../reference/config/#precision)
6. Please note that all of the parameters mentioned in this section are configured in configuration file `taos.cfg` on the TDengine server. If not specified in the `create database` statement, the values from taos.cfg are used by default. To override default parameters, they must be specified in the `create database` statement. 6. Please note that all of the parameters mentioned in this section are configured in configuration file `taos.cfg` on the TDengine server. If not specified in the `create database` statement, the values from taos.cfg are used by default. To override default parameters, they must be specified in the `create database` statement.
::: :::
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册