mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"filetype": "insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"thread_count": 4,
|
|
"connection_pool_size": 20,
|
|
"result_file": "./insert_res.txt",
|
|
"confirm_parameter_prompt": "no",
|
|
"prepared_rand": 10000,
|
|
"chinese": "no",
|
|
"escape_character": "yes",
|
|
"insert_interval": 0,
|
|
"num_of_records_per_req": 10,
|
|
"databases": [{
|
|
"dbinfo": {
|
|
"name": "test",
|
|
"drop": "yes",
|
|
"replica": 1,
|
|
"precision": "ms",
|
|
"keep": 36500,
|
|
"minRows": 100,
|
|
"maxRows": 4096,
|
|
"comp":2
|
|
},
|
|
"super_tables": [{
|
|
"name": "meters",
|
|
"child_table_exists":"no",
|
|
"childtable_count": 10000,
|
|
"childtable_prefix": "d",
|
|
"auto_create_table": "no",
|
|
"batch_create_tbl_num": 10,
|
|
"data_source": "sample",
|
|
"insert_mode": "taosc",
|
|
"line_protocol": "line",
|
|
"childtable_limit": 0,
|
|
"childtable_offset": 0,
|
|
"insert_rows": 10000,
|
|
"insert_interval": 0,
|
|
"interlace_rows": 0,
|
|
"disorder_ratio": 0,
|
|
"disorder_range": 1000,
|
|
"timestamp_step": 1,
|
|
"start_timestamp": "2020-10-01 00:00:00.000",
|
|
"sample_file": "./sample.csv",
|
|
"use_sample_ts": "no",
|
|
"tags_file": "./sample_tag.csv",
|
|
"partial_col_num": 0,
|
|
"columns": [{"type": "FLOAT", "name": "current"}, {"type": "INT", "name": "voltage"}, {"type": "FLOAT", "name": "phase"}],
|
|
"tags": [{"type": "INT","name": "groupid"}, {"type": "BINARY", "len": 16, "name": "location"}]
|
|
}]
|
|
}]
|
|
}
|