Skip to content

taos-tools are some useful tool collections for TDengine.

License

Notifications You must be signed in to change notification settings

facetosea/taos-tools

This branch is 129 commits behind taosdata/taos-tools:develop.

Folders and files

NameName
Last commit message
Last commit date
Jan 22, 2023
Dec 23, 2022
Jun 29, 2022
Dec 12, 2022
Jan 22, 2023
Jan 18, 2023
Jan 22, 2023
Jan 22, 2023
Nov 25, 2022
Jan 8, 2023
Sep 7, 2022
Nov 18, 2021
Dec 7, 2022
Dec 7, 2022

Repository files navigation

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.

For macOS (only taosBenchmark for now)

brew install argp-standalone gawk

Install TDengine client

Please download TDengine client package from tdengine.com 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

About

taos-tools are some useful tool collections for TDengine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 58.8%
  • Python 38.1%
  • CMake 1.7%
  • Shell 1.4%