mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
155 lines
No EOL
5.3 KiB
JSON
155 lines
No EOL
5.3 KiB
JSON
{
|
|
"filetype": "insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"connection_pool_size": 20,
|
|
"thread_count": 20,
|
|
"create_table_thread_count": 1,
|
|
"result_file": "./insert_res.txt",
|
|
"confirm_parameter_prompt": "no",
|
|
"num_of_records_per_req": 5000,
|
|
"prepared_rand": 10000,
|
|
"chinese": "no",
|
|
"databases": [
|
|
{
|
|
"dbinfo": {
|
|
"name": "test240613",
|
|
"drop": "yes",
|
|
"replica": 1,
|
|
"wal_retention_period": 0,
|
|
"buffer": 256,
|
|
"cachemodel": "'both'",
|
|
"cachesize": 100,
|
|
"stt_trigger": 1,
|
|
"vgroups ": 3
|
|
},
|
|
"super_tables": [
|
|
{
|
|
"name": "test_cj_dydlqx_03",
|
|
"child_table_exists": "no",
|
|
"childtable_count": 100,
|
|
"childtable_prefix": "dydlqx_03_",
|
|
"escape_character": "yes",
|
|
"auto_create_table": "no",
|
|
"batch_create_tbl_num": 10,
|
|
"data_source": "rand",
|
|
"insert_mode": "stmt",
|
|
"non_stop_mode": "no",
|
|
"insert_rows": 0,
|
|
"childtable_exists": "no",
|
|
"childtable_limit": 0,
|
|
"childtable_offset": 0,
|
|
"interlace_rows": 0,
|
|
"insert_interval": 0,
|
|
"partial_col_num": 0,
|
|
"disorder_ratio": 0,
|
|
"disorder_range": 0,
|
|
"timestamp_step": 900000,
|
|
"start_timestamp": "2024-6-01 0:0:0",
|
|
"tags_file": "./tools/benchmark/basic/csv/TS-5002.csv",
|
|
"columns": [
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "ady",
|
|
"max": 230,
|
|
"min": 140
|
|
},
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "bdy",
|
|
"max": 230,
|
|
"min": 140
|
|
},
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "cdy",
|
|
"max": 230,
|
|
"min": 140
|
|
},
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "adl",
|
|
"max": 6,
|
|
"min": 4
|
|
},
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "bdl",
|
|
"max": 6,
|
|
"min": 4
|
|
},
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "cdl",
|
|
"max": 6,
|
|
"min": 4
|
|
},
|
|
{
|
|
"type": "FLOAT",
|
|
"name": "lxdl",
|
|
"max": 6,
|
|
"min": 4
|
|
}
|
|
],
|
|
"tags": [
|
|
{
|
|
"name": "cldbs",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "pt_ratio",
|
|
"type": "FLOAT"
|
|
},
|
|
{
|
|
"name": "ct_ratio",
|
|
"type": "FLOAT"
|
|
},
|
|
{
|
|
"name": "rated_cap",
|
|
"type": "FLOAT"
|
|
},
|
|
{
|
|
"name": "area_code",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "zdy_flag",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "ta_id",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "cust_no",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "elec_cust_name",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "bureau_code",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "fl_name",
|
|
"type": "VARCHAR"
|
|
},
|
|
{
|
|
"name": "classify_id",
|
|
"type": "VARCHAR"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |