mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* feat: add insert mix test cases * feat: add insert mix auto create table cases * feat: delete unnecessary characters * feat: Adjust the code structure of benchCsv * feat: add stmt2 execInsert fail retry * feat: modify sml auto create table params * feat: modify bench csv case * feat: modfiy code format * feat: modify dmeters set drop yes * feat: modify insert Mix config * feat: delete unused parseLocaltimeWithDst * feat: modify cases list error * feat: Delete unused function in benchDataMix * feat: modify demters check sql * feat: modify sin mix range
79 lines
2.8 KiB
JSON
79 lines
2.8 KiB
JSON
{
|
|
"filetype": "insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"connection_pool_size": 8,
|
|
"thread_count": 5,
|
|
"create_table_thread_count": 8,
|
|
"result_file": "./insert_res.txt",
|
|
"confirm_parameter_prompt": "no",
|
|
"insert_interval": 0,
|
|
"num_of_records_per_req": 2000,
|
|
"prepared_rand": 10000,
|
|
"chinese": "no",
|
|
"escape_character": "yes",
|
|
"keep_trying": 10000,
|
|
"trying_interval": 10000,
|
|
"databases": [
|
|
{
|
|
"dbinfo": {
|
|
"name": "dmeters",
|
|
"drop": "no",
|
|
"vgroups": 4,
|
|
"duration": "5d",
|
|
"keep": "30d",
|
|
"pages": 512,
|
|
"wal_retention_period": 1,
|
|
"wal_retention_size": 10,
|
|
"cachemodel": "'both'",
|
|
"precision": "ms"
|
|
},
|
|
"super_tables": [
|
|
{
|
|
"name": "meters",
|
|
"child_table_exists": "no",
|
|
"childtable_count": 100000,
|
|
"childtable_prefix": "d",
|
|
"auto_create_table": "no",
|
|
"batch_create_tbl_num": 5,
|
|
"data_source": "rand",
|
|
"insert_mode": "taosc",
|
|
"non_stop_mode": "no",
|
|
"line_protocol": "line",
|
|
"insert_rows": 99999999999999,
|
|
"interlace_rows": 1,
|
|
"insert_interval": 10000,
|
|
"start_timestamp": "now",
|
|
"sample_format": "csv",
|
|
"sample_file": "./sample.csv",
|
|
"use_sample_ts": "no",
|
|
"tags_file": "",
|
|
"columns": [
|
|
{ "type": "FLOAT", "name": "current", "fun": "4*sin(x)+10*random(5)+10"},
|
|
{ "type": "INT", "name": "voltage", "fun": "1*square(0,60,50,0)+100*random(20)+120"},
|
|
{ "type": "FLOAT", "name": "phase", "fun": "1*saw(0,40,40,0)+50*random(10)+30"}
|
|
],
|
|
"tags": [
|
|
{
|
|
"type": "TINYINT",
|
|
"name": "groupid",
|
|
"max": 10,
|
|
"min": 1
|
|
},
|
|
{
|
|
"name": "location",
|
|
"type": "BINARY",
|
|
"len": 16,
|
|
"values": ["San Francisco", "Los Angles", "San Diego",
|
|
"San Jose", "Palo Alto", "Campbell", "Mountain View",
|
|
"Sunnyvale", "Santa Clara", "Cupertino"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|