mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
50 lines
953 B
JSON
50 lines
953 B
JSON
{
|
|
"filetype":"insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"thread_count": 1,
|
|
"databases": [{
|
|
"dbinfo": {
|
|
"name": "db01",
|
|
"replica": 1,
|
|
"days": 10,
|
|
"cache": 16,
|
|
"blocks": 8,
|
|
"precision": "ms",
|
|
"update": 0,
|
|
"maxtablesPerVnode": 1000
|
|
},
|
|
"super_tables": [{
|
|
"name": "stb01",
|
|
"childtable_count": 100,
|
|
"childtable_prefix": "stb01_",
|
|
"auto_create_table": "no",
|
|
"data_source": "rand",
|
|
"insert_mode": "taosc",
|
|
"insert_rate": 0,
|
|
"insert_rows": 1000,
|
|
"timestamp_step": 1000,
|
|
"start_timestamp": "2020-10-01 00:00:00.000",
|
|
"sample_format": "csv",
|
|
"sample_file": "/home/data/sample.csv",
|
|
"tags_file": "",
|
|
"columns": [{
|
|
"type": "SMALLINT"
|
|
}, {
|
|
"type": "BOOL"
|
|
}, {
|
|
"type": "BINARY",
|
|
"len": 6
|
|
}],
|
|
"tags": [{
|
|
"type": "INT"
|
|
},{
|
|
"type": "BINARY",
|
|
"len": 4
|
|
}]
|
|
}]
|
|
}]
|
|
}
|