MyGit

taosdata/taos-tools

Fork: 14 Star: 25 (更新于 2024-11-06 17:30:42)

license: MIT

Language: C .

taos-tools are some useful tool collections for TDengine.

最后发布版本: 2.5.2 ( 2023-06-27 12:37:25)

GitHub网址

taosTools

Codacy Badge CppCheck action CodeQL Coverage Status
3.0 taosbenchmark release 3.0 taosdump Windows (3.0 build)
2.x taosBenchmark native release 2.x taosdump Release Windows (2.x build)

taosTools are some useful tool collections for TDengine.

taosBenchmark (once named taosdemo) can be used to stress test TDengine for full-featured writes, queries, subscriptions, etc. In 2.4.0.7 and early release, taosBenchmark is distributed within taosTools package. In later release, taosBenchmark will be included within TDengine again. Please refer to the taosBenchmark User Manual for details on how to use it.

taosdump is a tool for backing up and restoring TDengine data to/from local directory. Please refer to the taosdump User Manual for details on how to use it.

Install taosTools

How to build from source

Install dependencies

For Ubuntu/Debian system

sudo apt install libjansson-dev libsnappy-dev liblzma-dev libz-dev zlib1g pkg-config libssl-dev gawk

For CentOS 7/RHEL

sudo yum install -y zlib-devel zlib-static xz-devel snappy-devel jansson jansson-devel pkgconfig libatomic libatomic-static libstdc++-static openssl-devel gawk

For CentOS 8/Rocky Linux

sudo yum install -y epel-release
sudo yum install -y dnf-plugins-core
sudo yum config-manager --set-enabled powertools
sudo yum install -y zlib-devel zlib-static xz-devel snappy-devel jansson jansson-devel pkgconfig libatomic libatomic-static libstdc++-static openssl-devel gawk

Note: Since snappy lacks pkg-config support (refer to link), it lead a cmake prompt libsnappy not found. But snappy will works well.

In case you encounter the issue some packages are not found due to CentOS 8 EOL, you can try following instructions first.

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

For CentOS + devtoolset

Besides above dependencies, please run following commands:

sudo yum install centos-release-scl
sudo yum install devtoolset-9 devtoolset-9-libatomic-devel
scl enable devtoolset-9 -- bash

For macOS (only taosBenchmark for now)

brew install argp-standalone gawk

Install TDengine client

Please download the TDengine client package or compile TDengine source from GitHub and install to your system.

Clone source code and build

git clone https://github.com/taosdata/taos-tools
cd taos-tools
mkdir build
cd build
cmake ..
make

build taos-tools for TDengine 2.x

...
cmake .. -DTD_VER_COMPATIBLE=2.0.0.0
make

Install

sudo make install

最近版本更新:(数据更新于 2024-09-25 15:49:43)

2023-06-27 12:37:25 2.5.2

2023-06-09 13:57:27 2.5.1

2023-04-30 20:46:39 2.5.0

2023-04-22 14:20:31 2.4.12

2023-04-04 19:05:33 2.4.11

2023-03-23 15:15:10 2.4.10

2023-03-09 14:02:29 2.4.9

2023-03-08 09:10:33 2.4.8

2023-03-08 09:09:51 2.4.7

2023-02-23 20:21:58 2.4.6

taosdata/taos-tools同语言 C最近更新仓库

2024-11-21 10:58:30 EdgeTX/edgetx

2024-11-15 10:03:16 hanwckf/bl-mt798x

2024-11-09 07:41:43 XITRIX/Moonlight-Switch

2024-11-04 17:16:21 redis/redis

2024-10-31 09:06:25 Spooks4576/Ghost_ESP

2024-10-31 03:40:05 tursodatabase/libsql