Merge branch 'feat/TS-5776' of https://github.com/taosdata/TDengine into feat/TS-5776
This commit is contained in:
commit
b9d966fb23
|
@ -11,7 +11,7 @@
|
||||||
"create_table_thread_count": 16,
|
"create_table_thread_count": 16,
|
||||||
"result_file": "./insert_res.txt",
|
"result_file": "./insert_res.txt",
|
||||||
"confirm_parameter_prompt": "no",
|
"confirm_parameter_prompt": "no",
|
||||||
"num_of_records_per_req": 10000,
|
"num_of_records_per_req": 10,
|
||||||
"prepared_rand": 10000,
|
"prepared_rand": 10000,
|
||||||
"chinese": "no",
|
"chinese": "no",
|
||||||
"escape_character": "yes",
|
"escape_character": "yes",
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"auto_create_table": "no",
|
"auto_create_table": "no",
|
||||||
"batch_create_tbl_num": 500,
|
"batch_create_tbl_num": 500,
|
||||||
"data_source": "rand",
|
"data_source": "rand",
|
||||||
"insert_mode": "stmt",
|
"insert_mode": "taosc",
|
||||||
"non_stop_mode": "no",
|
"non_stop_mode": "no",
|
||||||
"line_protocol": "line",
|
"line_protocol": "line",
|
||||||
"insert_rows": 10000,
|
"insert_rows": 10000,
|
||||||
|
@ -49,10 +49,13 @@
|
||||||
"sample_file": "./sample.csv",
|
"sample_file": "./sample.csv",
|
||||||
"use_sample_ts": "no",
|
"use_sample_ts": "no",
|
||||||
"tags_file": "",
|
"tags_file": "",
|
||||||
|
"generate_row_rule": 2,
|
||||||
"columns": [
|
"columns": [
|
||||||
{"type": "FLOAT", "name": "current", "count": 1, "max": 12, "min": 8 },
|
{"type": "TINYINT", "name": "current", "max": 128, "min": 1 },
|
||||||
{ "type": "INT", "name": "voltage", "max": 225, "min": 215 },
|
{ "type": "BOOL", "name": "phaseewe" },
|
||||||
{ "type": "FLOAT", "name": "phase", "max": 1, "min": 0 }
|
{ "type": "BINARY", "name": "locatin", "len":16374 },
|
||||||
|
{ "type": "BIGINT", "name": "cnt", "max" : 2563332323232, "min":1 },
|
||||||
|
{ "type": "DOUBLE", "name": "phase", "max": 1000, "min": 0 }
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{"type": "TINYINT", "name": "groupid", "max": 10, "min": 1},
|
{"type": "TINYINT", "name": "groupid", "max": 10, "min": 1},
|
||||||
|
|
|
@ -43,14 +43,13 @@ if __name__ == "__main__":
|
||||||
tdDnodes2.deploy(1,updatecfgDict2)
|
tdDnodes2.deploy(1,updatecfgDict2)
|
||||||
tdDnodes2.start(1)
|
tdDnodes2.start(1)
|
||||||
|
|
||||||
|
os.system("taos -c ./dnode2/sim/dnode1/cfg -s \"drop database if exists test\"")
|
||||||
|
os.system("taos -c ./dnode2/sim/dnode1/cfg -s \"create database test vgroups 8\"")
|
||||||
if insertData :
|
if insertData :
|
||||||
os.system("taosBenchmark -f ../taosx-performance.json")
|
os.system("taosBenchmark -f ../taosx-performance.json")
|
||||||
|
|
||||||
print("create test in dst")
|
print("create test in dst")
|
||||||
|
|
||||||
os.system("taos -c ./dnode2/sim/dnode1/cfg -s \"drop database if exists test\"")
|
|
||||||
os.system("taos -c ./dnode2/sim/dnode1/cfg -s \"create database test vgroups 8\"")
|
|
||||||
|
|
||||||
print("start to run taosx")
|
print("start to run taosx")
|
||||||
os.system("taosx run -f \"tmq://root:taosdata@localhost:6030/test?group.id=taosx-new-`date +%s`&timeout=50s&experimental.snapshot.enable=false&auto.offset.reset=earliest&prefer=raw\" -t \"taos://root:taosdata@localhost:7030/test\" > /dev/null 2>&1 &")
|
os.system("taosx run -f \"tmq://root:taosdata@localhost:6030/test?group.id=taosx-new-`date +%s`&timeout=50s&experimental.snapshot.enable=false&auto.offset.reset=earliest&prefer=raw\" -t \"taos://root:taosdata@localhost:7030/test\" > /dev/null 2>&1 &")
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
Loading…
Reference in New Issue