mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
50 lines
1.8 KiB
JSON
50 lines
1.8 KiB
JSON
{
|
|
"filetype": "insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"num_of_records_per_req": 3,
|
|
"prepared_rand": 10,
|
|
"thread_count": 1,
|
|
"thread_bind_vgroup": "yes",
|
|
"create_table_thread_count": 1,
|
|
"confirm_parameter_prompt": "no",
|
|
"databases": [
|
|
{
|
|
"dbinfo": {
|
|
"name": "dbstmt2",
|
|
"drop": "yes",
|
|
"vgroups": 1
|
|
},
|
|
"super_tables": [
|
|
{
|
|
"name": "meters",
|
|
"child_table_exists": "no",
|
|
"childtable_count": 10,
|
|
"insert_rows": 20,
|
|
"interlace_rows": 0,
|
|
"childtable_prefix": "d",
|
|
"insert_mode": "stmt2",
|
|
"timestamp_step": 1000,
|
|
"start_timestamp":1700000000000,
|
|
"auto_create_table": "yes",
|
|
"columns": [
|
|
{"type": "FLOAT", "name": "current", "count": 1, "max": 12, "min": 8 },
|
|
{ "type": "INT", "name": "voltage", "max": 225, "min": 215 },
|
|
{ "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"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|