Merge pull request #22152 from taosdata/DuanKuanJun-patch-1

Update 05-taosbenchmark.md
This commit is contained in:
wade zhang 2023-07-24 08:57:34 +08:00 committed by GitHub
commit 94c4a93bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,8 @@ taosBenchmark -A INT,DOUBLE,NCHAR,BINARY\(16\)
- **max** : 数据类型的 列/标签 的最大值。生成的值将小于最小值。
- **fun** : 此列数据以函数填充,目前只支持 sin 和 cos 两函数输入参数为角度0~360度同时支持系数调节随机波动因子调节以固定格式的表达式展现如 fun=“10*sin(x)+100*random(5)” , x 表示角度,会从 0 增长至 360度然后再恢复至 0 继续增长至 360 度循环不断,每次增长步长为 1 度。10 表示乘的系数100 表示加或减的系数5 表示波动幅度在 5% 的随机范围内。目前支持的数据类型为 int , bigint, float , double 四种数据类型。注意:表达式为固定模式,不可前后颠倒,中间不能有空格,否则会解析失败。
- **values** : nchar/binary 列/标签的值域,将从值中随机选择。
- **sma**: 将该列加入 SMA 中,值为 "yes" 或者 "no",默认为 "no"。