Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
90d03f69
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
90d03f69
编写于
3月 23, 2022
作者:
Y
Yang Zhao
提交者:
GitHub
3月 23, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TD-14257]<fix>taosbenchmark connection pool (#10935)
上级
2068c484
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
25 addition
and
25 deletion
+25
-25
src/kit/taos-tools
src/kit/taos-tools
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/commandline.py
tests/develop-test/5-taos-tools/taosbenchmark/commandline.py
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/invalid_commandline.py
...op-test/5-taos-tools/taosbenchmark/invalid_commandline.py
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/custom_col_tag.json
...-test/5-taos-tools/taosbenchmark/json/custom_col_tag.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/default.json
...develop-test/5-taos-tools/taosbenchmark/json/default.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_auto_create_table.json
...taos-tools/taosbenchmark/json/rest_auto_create_table.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_insert_alltypes.json
...5-taos-tools/taosbenchmark/json/rest_insert_alltypes.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_query.json
...elop-test/5-taos-tools/taosbenchmark/json/rest_query.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_auto_create_table.json
...-taos-tools/taosbenchmark/json/sml_auto_create_table.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_insert_alltypes.json
.../5-taos-tools/taosbenchmark/json/sml_insert_alltypes.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_interlace.json
...p-test/5-taos-tools/taosbenchmark/json/sml_interlace.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_json_alltypes.json
...st/5-taos-tools/taosbenchmark/json/sml_json_alltypes.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_rest_json.json
...p-test/5-taos-tools/taosbenchmark/json/sml_rest_json.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_rest_line.json
...p-test/5-taos-tools/taosbenchmark/json/sml_rest_line.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_rest_telnet.json
...test/5-taos-tools/taosbenchmark/json/sml_rest_telnet.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_telnet_alltypes.json
.../5-taos-tools/taosbenchmark/json/sml_telnet_alltypes.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_telnet_tcp.json
...-test/5-taos-tools/taosbenchmark/json/sml_telnet_tcp.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/stmt_auto_create_table.json
...taos-tools/taosbenchmark/json/stmt_auto_create_table.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/stmt_insert_alltypes.json
...5-taos-tools/taosbenchmark/json/stmt_insert_alltypes.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_auto_create_table.json
...aos-tools/taosbenchmark/json/taosc_auto_create_table.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_insert_alltypes.json
...-taos-tools/taosbenchmark/json/taosc_insert_alltypes.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_json_tag.json
...-test/5-taos-tools/taosbenchmark/json/taosc_json_tag.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_limit_offset.json
...t/5-taos-tools/taosbenchmark/json/taosc_limit_offset.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_only_create_table.json
...aos-tools/taosbenchmark/json/taosc_only_create_table.json
+1
-1
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_sample_use_ts.json
.../5-taos-tools/taosbenchmark/json/taosc_sample_use_ts.json
+1
-1
未找到文件。
taos-tools
@
cd24949b
比较
5fe275c3
...
cd24949b
Subproject commit
5fe275c396108f564d8b95107056ec6d0640c0e4
Subproject commit
cd24949b4faa8b52cfe0761cd4055cdf9756ff58
tests/develop-test/5-taos-tools/taosbenchmark/commandline.py
浏览文件 @
90d03f69
...
...
@@ -32,7 +32,7 @@ class TDTestCase:
tdSql
.
init
(
conn
.
cursor
(),
logSql
)
def
run
(
self
):
cmd
=
"taosBenchmark -F 7 -n 10 -t 2 -x -y -M -C -d newtest -l 5 -A binary,nchar\(31\) -b tinyint,binary\(23\),bool,nchar -w 29 -E -m $%^*"
cmd
=
"taosBenchmark -F 7 -
H 9 -
n 10 -t 2 -x -y -M -C -d newtest -l 5 -A binary,nchar\(31\) -b tinyint,binary\(23\),bool,nchar -w 29 -E -m $%^*"
tdLog
.
info
(
"%s"
%
cmd
)
os
.
system
(
"%s"
%
cmd
)
tdSql
.
execute
(
"use newtest"
)
...
...
tests/develop-test/5-taos-tools/taosbenchmark/invalid_commandline.py
浏览文件 @
90d03f69
...
...
@@ -29,7 +29,7 @@ class TDTestCase:
tdSql
.
init
(
conn
.
cursor
(),
logSql
)
def
run
(
self
):
cmd
=
"taosBenchmark -F abc -P abc -I abc -T abc -i abc -S abc -B abc -r abc -t abc -n abc -l abc -w abc -w 16385 -R abc -O abc -a abc -n 2 -t 2 -r 1 -y"
cmd
=
"taosBenchmark -F abc -P abc -I abc -T abc -
H abc -
i abc -S abc -B abc -r abc -t abc -n abc -l abc -w abc -w 16385 -R abc -O abc -a abc -n 2 -t 2 -r 1 -y"
tdLog
.
info
(
"%s"
%
cmd
)
os
.
system
(
"%s"
%
cmd
)
tdSql
.
query
(
"select count(*) from test.meters"
)
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/custom_col_tag.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/default.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_auto_create_table.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
100
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_insert_alltypes.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/rest_query.json
浏览文件 @
90d03f69
...
...
@@ -4,7 +4,7 @@
"confirm_parameter_prompt"
:
"no"
,
"databases"
:
"db"
,
"query_mode"
:
"rest"
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"response_buffer"
:
10000
,
"specified_table_query"
:
{
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_auto_create_table.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
100
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_insert_alltypes.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_interlace.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_json_alltypes.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_rest_json.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_rest_line.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_rest_telnet.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_telnet_alltypes.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/sml_telnet_tcp.json
浏览文件 @
90d03f69
...
...
@@ -7,7 +7,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/stmt_auto_create_table.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
100
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/stmt_insert_alltypes.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_auto_create_table.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
10
,
"
connection
_pool_size"
:
10
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
100
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_insert_alltypes.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_json_tag.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_limit_offset.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_only_create_table.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
tests/develop-test/5-taos-tools/taosbenchmark/json/taosc_sample_use_ts.json
浏览文件 @
90d03f69
...
...
@@ -6,7 +6,7 @@
"user"
:
"root"
,
"password"
:
"taosdata"
,
"thread_count"
:
4
,
"
thread
_pool_size"
:
20
,
"
connection
_pool_size"
:
20
,
"result_file"
:
"./insert_res.txt"
,
"confirm_parameter_prompt"
:
"no"
,
"prepared_rand"
:
10
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录