Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
cb8fa6c7
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
cb8fa6c7
编写于
1月 04, 2021
作者:
H
huili
提交者:
GitHub
1月 04, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #4796 from taosdata/feature/sangshuduo/TD-2598
[TD-2598] feature: C# taosdemo
上级
ca3888c1
2cef0333
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
788 addition
and
0 deletion
+788
-0
tests/examples/C#/taosdemo/README.md
tests/examples/C#/taosdemo/README.md
+37
-0
tests/examples/C#/taosdemo/TDengineDriver.cs
tests/examples/C#/taosdemo/TDengineDriver.cs
+1
-0
tests/examples/C#/taosdemo/taosdemo.cs
tests/examples/C#/taosdemo/taosdemo.cs
+750
-0
未找到文件。
tests/examples/C#/taosdemo/README.md
0 → 100644
浏览文件 @
cb8fa6c7
install build environment
===
yum/apt install mono-complete
build C# version taosdemo
===
mcs -out:taosdemo
*
.cs
run C# version taosdemo
===
Usage: mono taosdemo.exe [OPTION...]
-h host, The host to connect to TDengine. Default is localhost.
-p port, The TCP/IP port number to use for the connection. Default is 0.
-u user, The user name to use when connecting to the server. Default is 'root'.
-P password, The password to use when connecting to the server. Default is 'taosdata'.
-d database, Destination database. Default is 'test'.
-a replica, Set the replica parameters of the database, Default 1, min: 1, max: 3.
-m table_prefix, Table prefix name. Default is 't'.
-s sql file, The select sql file.
-M stable, Use super table.
-o outputfile, Direct output to the named file. Default is './output.txt'.
-q query_mode, Query mode--0: SYNC, 1: ASYNC. Default is SYNC.
-b type_of_cols, data_type of columns: 'INT', 'TINYINT', 'SMALLINT', 'BIGINT', 'FLOAT', 'DOUBLE', 'BINARY'. Default is 'INT'.
-w length_of_binary, The length of data_type 'BINARY'. Only applicable when type of cols is 'BINARY'. Default is 8
-l num_of_cols_per_record, The number of columns per record. Default is 3.
-T num_of_threads, The number of threads. Default is 10.
-r num_of_records_per_req, The number of records per request. Default is 1000.
-t num_of_tables, The number of tables. Default is 10000.
-n num_of_records_per_table, The number of records per table. Default is 10000.
-c config_directory, Configuration directory. Default is '/etc/taos/'.
-x flag, Insert only flag.
-O order, Insert mode--0: In order, 1: Out of order. Default is in order.
-R rate, Out of order data's rate--if order=1 Default 10, min: 0, max: 50.
-D Delete data methods 0: don't delete, 1: delete by table, 2: delete by stable, 3: delete by database.
-v Print verbose output
-y Skip read key for continous test, default is not skip
tests/examples/C#/taosdemo/TDengineDriver.cs
0 → 120000
浏览文件 @
cb8fa6c7
../../../../
src
/
connector
/
C
#
/
TDengineDriver
.
cs
\ No newline at end of file
tests/examples/C#/taosdemo/taosdemo.cs
0 → 100644
浏览文件 @
cb8fa6c7
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录