-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29638 from taosdata/docs/TS-5846-3.0
enh: TDengine modify taosBenchmark new query rule cases and add doc
- Loading branch information
Showing
14 changed files
with
158 additions
and
84 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
22 changes: 22 additions & 0 deletions
22
tests/develop-test/5-taos-tools/taosbenchmark/json/queryQps1.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,22 @@ | ||
{ | ||
"filetype": "query", | ||
"cfgdir": "/etc/taos", | ||
"host": "127.0.0.1", | ||
"port": 6030, | ||
"user": "root", | ||
"password": "taosdata", | ||
"confirm_parameter_prompt": "no", | ||
"databases": "db", | ||
"query_times": 1, | ||
"super_table_query": { | ||
"stblname": "stb1", | ||
"query_interval":20, | ||
"threads": 4, | ||
"sqls": [ | ||
{ | ||
"sql": "select last_row(ts) from xxxx", | ||
"result": "./query_res2.txt" | ||
} | ||
] | ||
} | ||
} |
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
24 changes: 24 additions & 0 deletions
24
tests/develop-test/5-taos-tools/taosbenchmark/json/queryRestful1.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,24 @@ | ||
{ | ||
"filetype": "query", | ||
"cfgdir": "/etc/taos", | ||
"host": "127.0.0.1", | ||
"port": 6030, | ||
"user": "root", | ||
"password": "taosdata", | ||
"confirm_parameter_prompt": "no", | ||
"databases": "db", | ||
"query_times": 2, | ||
"query_mode": "rest", | ||
"super_table_query": { | ||
"stblname": "stb1", | ||
"query_interval": 1, | ||
"threads": 3, | ||
"sqls": [ | ||
{ | ||
"sql": "select last_row(ts) from xxxx", | ||
"result": "./query_res2.txt" | ||
} | ||
] | ||
} | ||
} | ||
|
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
23 changes: 23 additions & 0 deletions
23
tests/develop-test/5-taos-tools/taosbenchmark/json/queryTaosc1.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,23 @@ | ||
{ | ||
"filetype": "query", | ||
"cfgdir": "/etc/taos", | ||
"host": "127.0.0.1", | ||
"port": 6030, | ||
"user": "root", | ||
"password": "taosdata", | ||
"confirm_parameter_prompt": "no", | ||
"databases": "db", | ||
"query_times": 2, | ||
"query_mode": "taosc", | ||
"super_table_query": { | ||
"stblname": "stb1", | ||
"query_interval": 1, | ||
"threads": 3, | ||
"sqls": [ | ||
{ | ||
"sql": "select last_row(ts) from xxxx", | ||
"result": "./query_res2.txt" | ||
} | ||
] | ||
} | ||
} |
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
18 changes: 18 additions & 0 deletions
18
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_query1.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,18 @@ | ||
{ | ||
"filetype":"query", | ||
"cfgdir": "/etc/taos", | ||
"confirm_parameter_prompt": "no", | ||
"databases": "db", | ||
"query_mode": "rest", | ||
"connection_pool_size": 10, | ||
"response_buffer": 10000, | ||
"super_table_query": { | ||
"stblname": "stb", | ||
"sqls": [ | ||
{ | ||
"sql": "select count(*) from xxxx", | ||
"result": "rest_query_super" | ||
} | ||
] | ||
} | ||
} |
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
23 changes: 23 additions & 0 deletions
23
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_query1.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,23 @@ | ||
{ | ||
"filetype":"query", | ||
"cfgdir": "/etc/taos", | ||
"host": "localhost", | ||
"port": 6030, | ||
"user": "root", | ||
"password": "taosdata", | ||
"confirm_parameter_prompt": "no", | ||
"databases": "db", | ||
"query_times": 1, | ||
"reset_query_cache": "yes", | ||
"super_table_query": { | ||
"stblname": "stb", | ||
"query_interval": 1, | ||
"concurrent": 1, | ||
"sqls": [ | ||
{ | ||
"sql": "select count(*) from xxxx", | ||
"result": "taosc_query_super" | ||
} | ||
] | ||
} | ||
} |
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
Oops, something went wrong.