TDengine/tests/army/tools/benchmark/basic/json/insertManyStb.json

151 lines
No EOL
6.3 KiB
JSON

{
"filetype": "insert",
"cfgdir": "/etc/taos",
"host": "127.0.0.1",
"port": 6030,
"user": "root",
"password": "taosdata",
"num_of_records_per_req": 3000,
"thread_count": 2,
"confirm_parameter_prompt": "no",
"databases": [
{
"dbinfo": {
"name": "test1",
"drop": "yes",
"precision": "us",
"vgroups": 1
},
"super_tables": [
{
"name": "meters1",
"child_table_exists": "no",
"childtable_count": 2,
"insert_rows": 1000,
"childtable_prefix": "da",
"insert_mode": "stmt",
"timestamp_step": 15,
"start_timestamp":1700000000000000,
"columns": [
{ "type": "double", "name": "dc", "max": 10, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": -100 },
{ "type": "binary", "name": "bin", "len": 4}
],
"tags": [
{ "type": "usmallint", "name": "tusi", "max": 100, "min": 0 },
{ "type": "uint", "name": "tui", "max": 1000, "min": 0 }
]
},
{
"name": "meters2",
"child_table_exists": "no",
"childtable_count": 3,
"insert_rows": 100,
"childtable_prefix": "db",
"insert_mode": "stmt",
"timestamp_step": 20,
"interlace_rows": 1,
"start_timestamp":1700000000000000,
"columns": [
{ "type": "double", "name": "dc", "max": 10, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": -100 },
{ "type": "binary", "name": "bin", "len": 4}
],
"tags": [
{ "type": "usmallint", "name": "tusi", "max": 100, "min": 0 },
{ "type": "uint", "name": "tui", "max": 1000, "min": 0 }
]
},
{
"name": "meters3",
"child_table_exists": "no",
"childtable_count": 5,
"insert_rows": 100,
"childtable_prefix": "dc",
"insert_mode": "stmt2",
"timestamp_step": 20,
"interlace_rows": 1,
"start_timestamp":1700000000000000,
"columns": [
{ "type": "double", "name": "dc", "max": 10, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": -100 },
{ "type": "binary", "name": "bin", "len": 4}
],
"tags": [
{ "type": "usmallint", "name": "tusi", "max": 100, "min": 0 },
{ "type": "uint", "name": "tui", "max": 1000, "min": 0 }
]
},
{
"name": "meters4",
"child_table_exists": "no",
"childtable_count": 2,
"insert_rows": 70,
"childtable_prefix": "dd",
"insert_mode": "stmt2",
"timestamp_step": 50,
"interlace_rows": 0,
"start_timestamp":1700000000000000,
"columns": [
{ "type": "double", "name": "dc", "max": 10, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": -100 },
{ "type": "binary", "name": "bin", "len": 4}
],
"tags": [
{ "type": "usmallint", "name": "tusi", "max": 100, "min": 0 },
{ "type": "uint", "name": "tui", "max": 1000, "min": 0 }
]
}
]
},
{
"dbinfo": {
"name": "test2",
"drop": "yes",
"precision": "ns",
"vgroups": 2
},
"super_tables": [
{
"name": "meters1",
"child_table_exists": "no",
"childtable_count": 3,
"insert_rows": 120,
"childtable_prefix": "de",
"insert_mode": "taosc",
"timestamp_step": 15,
"start_timestamp":1700000000000000000,
"columns": [
{ "type": "double", "name": "dc", "max": 10, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": -100 },
{ "type": "binary", "name": "bin", "len": 4}
],
"tags": [
{ "type": "usmallint", "name": "tusi", "max": 100, "min": 0 },
{ "type": "uint", "name": "tui", "max": 1000, "min": 0 }
]
},
{
"name": "meters2",
"child_table_exists": "no",
"childtable_count": 2,
"insert_rows": 200,
"childtable_prefix": "df",
"insert_mode": "taosc",
"timestamp_step": 2,
"interlace_rows": 4,
"start_timestamp":1700000000000000000,
"columns": [
{ "type": "double", "name": "dc", "max": 10, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": -100 },
{ "type": "binary", "name": "bin", "len": 4}
],
"tags": [
{ "type": "usmallint", "name": "tusi", "max": 100, "min": 0 },
{ "type": "uint", "name": "tui", "max": 1000, "min": 0 }
]
}
]
}
]
}