forked from taosdata/taos-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: taosbenchmark rest mode in json (taosdata#513)
* fix: taosbenchmark rest mode in json * fix: use default port if not inputed
- Loading branch information
1 parent
295cdcd
commit 121c8a3
Showing
15 changed files
with
126 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"filetype": "insert", | ||
"cfgdir": "/etc/taos", | ||
"host": "127.0.0.1", | ||
"port": 6041, | ||
"user": "root", | ||
"password": "taosdata", | ||
"connection_pool_size": 8, | ||
"thread_count": 4, | ||
"create_table_thread_count": 2, | ||
"insert_mode": "rest", | ||
"result_file": "./insert_res.txt", | ||
"confirm_parameter_prompt": "no", | ||
"insert_interval": 0, | ||
"interlace_rows": 100, | ||
"num_of_records_per_req": 100, | ||
"prepared_rand": 10000, | ||
"chinese": "no", | ||
"databases": [ | ||
{ | ||
"dbinfo": { | ||
"name": "test", | ||
"drop": "yes", | ||
"replica": 1, | ||
"precision": "ms", | ||
"keep": 3650, | ||
"minRows": 100, | ||
"maxRows": 4096, | ||
"comp": 2 | ||
}, | ||
"super_tables": [ | ||
{ | ||
"name": "meters", | ||
"child_table_exists": "no", | ||
"childtable_count": 1, | ||
"childtable_prefix": "d", | ||
"escape_character": "yes", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 5, | ||
"data_source": "rand", | ||
"insert_mode": "rest", | ||
"non_stop_mode": "no", | ||
"line_protocol": "line", | ||
"insert_rows": 10, | ||
"childtable_limit": 10, | ||
"childtable_offset": 100, | ||
"interlace_rows": 0, | ||
"insert_interval": 0, | ||
"partial_col_num": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 10, | ||
"start_timestamp": "2022-10-01 00:00:00.000", | ||
"tags_file": "", | ||
"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 | ||
}, | ||
{ | ||
"name": "location", | ||
"type": "BINARY", | ||
"len": 16, | ||
"values": ["San Francisco", "Los Angles", "San Diego", | ||
"San Jose", "Palo Alto", "Campbell", "Mountain View", | ||
"Sunnyvale", "Santa Clara", "Cupertino"] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters