-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: taosbenchmark supports specifying child table example data
- Loading branch information
1 parent
1e15545
commit 31a6635
Showing
8 changed files
with
229 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
1641976781445,300 | ||
1641976781446,600 | ||
1641976781447,900 | ||
1641976781448,NULL |
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,4 @@ | ||
1641976781445,500 | ||
1641976781446,1000 | ||
1641976781447,1500 | ||
1641976781448,NULL |
49 changes: 49 additions & 0 deletions
49
tests/taosbenchmark/json/taosc_sample_use_ts-subtable.json
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,49 @@ | ||
{ | ||
"filetype": "insert", | ||
"cfgdir": "/etc/taos", | ||
"host": "127.0.0.1", | ||
"port": 6030, | ||
"user": "root", | ||
"password": "taosdata", | ||
"thread_count": 4, | ||
"connection_pool_size": 20, | ||
"result_file": "./insert_res.txt", | ||
"confirm_parameter_prompt": "no", | ||
"prepared_rand": 10, | ||
"chinese": "yes", | ||
"insert_interval": 0, | ||
"num_of_records_per_req": 10, | ||
"databases": [{ | ||
"dbinfo": { | ||
"name": "db", | ||
"drop": "yes" | ||
}, | ||
"super_tables": [{ | ||
"name": "stb", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb_", | ||
"child_table_sample_file": "./taosbenchmark/csv/sample_use_ts-XXXX.csv", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "sample", | ||
"insert_mode": "taosc", | ||
"line_protocol": "line", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 20, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "./taosbenchmark/csv/sample_use_ts.csv", | ||
"use_sample_ts": "yes", | ||
"tags_file": "./taosbenchmark/csv/sample_tags.csv", | ||
"columns": [{"type": "INT"}], | ||
"tags": [{"type": "INT"}] | ||
}] | ||
}] | ||
} |
Oops, something went wrong.