TDengine/tools/auto/testBss/json/template.json
2025-08-22 14:27:09 +08:00

47 lines
1.5 KiB
JSON

{
"filetype": "insert",
"cfgdir": "/etc/taos",
"host": "127.0.0.1",
"port": 6030,
"user": "root",
"password": "taosdata",
"thread_count": 1,
"create_table_thread_count": 1,
"confirm_parameter_prompt": "no",
"num_of_records_per_req": 2000,
"prepared_rand": 100000,
"escape_character": "yes",
"databases": [
{
"dbinfo": {
"name": "dbrate",
"drop": "yes",
"vgroups": 1,
"stt_trigger": 1,
"wal_retention_size": 1,
"wal_retention_period": 1
},
"super_tables": [
{
"name": "meters",
"child_table_exists": "no",
"childtable_count": 1,
"childtable_prefix": "d",
"data_source": "sample",
"insert_mode": "taosc",
"insert_rows": 1000000,
"timestamp_step": 1,
"start_timestamp": "2020-10-01 00:00:00.000",
"sample_file": "./json/d0_100w_64.csv",
"use_sample_ts": "yes",
"columns": [
{ "type": "double", "encode": "@ENCODE", "compress":"@COMPRESS", "count": 64, "max": 1, "min": 0}
],
"tags": [
{"type": "TINYINT", "name": "groupid", "max": 10, "min": 1}
]
}
]
}
]
}