mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* fix: add unit test for taos-tools * fix: only .cpp include * fix: remove no use function * fix: restore toolsSys.c * fix: add toolsSys case * fix: rebuild error fixed * fix: fix build error * fix: support get vgroups with core and memory limit * fix: build error for strcasecmp * fix: add insertBasic.py case * fix: add command line set vgroups=3 * fix: change with ns database * toolscJson read with int replace float and add insertPrecison.py * fix: add insertBindVGroup.json case * fix: remove public fun removeQuotation * fix: vgroups change method * fix: memory leak for runInsertLimitThread slot * insertPrecision.py word write wrong * fix: check isFloat number * fix: vgroups change logic error * fix: insertBasic.py real and expect error * fix: adjust default vgroups * fix: adjust default vgroups modify comment
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"filetype": "insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"num_of_records_per_req": 6000,
|
|
"thread_count": 10,
|
|
"thread_bind_vgroup": "yes",
|
|
"create_table_thread_count": 1,
|
|
"confirm_parameter_prompt": "no",
|
|
"databases": [
|
|
{
|
|
"dbinfo": {
|
|
"name": "binddb",
|
|
"drop": "yes",
|
|
"vgroups": 10
|
|
},
|
|
"super_tables": [
|
|
{
|
|
"name": "meters",
|
|
"child_table_exists": "no",
|
|
"childtable_count": 20,
|
|
"insert_rows": 5000,
|
|
"childtable_prefix": "d",
|
|
"insert_mode": "stmt2",
|
|
"timestamp_step": 1000,
|
|
"start_timestamp":1600000000000,
|
|
"columns": [
|
|
{"type": "FLOAT", "name": "current", "count": 1, "max": 12, "min": 8 },
|
|
{ "type": "INT", "name": "voltage", "max": 225, "min": 100 },
|
|
{ "type": "FLOAT", "name": "phase", "max": 1, "min": 0 }
|
|
],
|
|
"tags": [
|
|
{"type": "tinyint", "name": "groupid","max": 10,"min": 1},
|
|
{"type": "binary", "name": "location", "len": 16,
|
|
"values": ["San Francisco", "Los Angles", "San Diego",
|
|
"San Jose", "Palo Alto", "Campbell", "Mountain View",
|
|
"Sunnyvale", "Santa Clara", "Cupertino"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|