Trên GitHub, taosdata/TDengine đã đạt 25.2k sao, nhóm Frontend, ngôn ngữ C. High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
English |
简体中文 |
日本語 |
TDengine Cloud |
Documentation |
Learn more about TSDB
TDengine
1. Introduction
TDengine is an open source, high-performance, cloud native and AI powered time-series database designed for Internet of Things (IoT), Connected Cars, and Industrial IoT. It enables efficient, real-time data ingestion, processing, and analysis of TB and even PB scale data per day, generated by billions of sensors and data collectors. TDengine differentiates itself from other time-series databases with the following advantages:
High Performance: TDengine is the only time-series database to solve the high cardinality issue to support billions of data collection points while out performing other time-series databases for data ingestion, querying and data compression.
Simplified Solution: Through built-in caching, stream processing, data subscription and AI agent features, TDengine provides a simplified solution for time-series data processing. It reduces system design complexity and operation costs significantly.
Cloud Native: Through native distributed design, sharding and partitioning, separation of compute and storage, RAFT, support for kubernetes deployment and full observability, TDengine is a cloud native Time-Series Database and can be deployed on public, private or hybrid clouds.
AI Powered: Through the built in AI agent TDgpt, TDengine can connect to a variety of time series foundation model, large language model, machine learning and traditional algorithms to provide time series data forecasting, anomaly detection, imputation and classification.
Ease of Use: For administrators, TDengine significantly reduces the effort to deploy and maintain. For developers, it provides a simple interface, simplified solution and seamless integrations for third party tools. For data users, it gives easy data access.
Easy Data Analytics: Through super tables, storage and compute separation, data partitioning by time interval, pre-computation and AI agent, TDengine makes it easy to explore, format, and get access to data in a highly efficient way.
Open Source: TDengine's core modules, including cluster feature and AI agent, are all available under open source licenses. It has gathered 23.7k stars on GitHub. There is an active developer community, and over 730k running instances worldwide.
For a full list of TDengine competitive advantages, please check here. The easiest way to experience TDengine is through TDengine Cloud. For the latest TDengine component TDgpt, please refer to TDgpt README for details.
2. Documentation
For user manual, system design and architecture, please refer to TDengine Documentation (TDengine 文档)
You can choose to install TDengine via container, installation package, Kubernetes or try fully managed service without installation. This quick guide is for developers who want to contribute, build, release and test TDengine by themselves.
Table of Contents
1. Introduction
2. Documentation
3. Prerequisites
3.1 System Requirements
3.2 Installing Build Tools
3.3 Optional Tools
4. Building
4.1 Quick Start
4.2 Build Options
4.3 Build Output
5. Testing
5.1 Unit Tests
5.2 Integration Tests
6. Packaging
6.1 Package the Community Tarballs
7. Installing from Package
8. Running
9. Workflow
10. Coverage
11. Contributing
12. License
3. Prerequisites
3.1 System Requirements
Operating systems: Linux (Ubuntu 18.04+, CentOS 7+), macOS 10.15+, Windows (limited; open-source builds are primarily Linux/macOS)
CPU: x86_64 or ARM64
Memory: 4 GB RAM or more recommended
Disk: 2 GB free space or more recommended
Primary build platform: Linux
TDengine is built and tested primarily on Linux. macOS builds are supported for local development. Windows support in the open-source tree is limited, so Linux should be your default choice for reproducible builds.
Note: CMake >= 3.21 is required for external builds. If your distro provides an older version, install a newer release from https://cmake.org/download/.
You may also need these tools depending on what you build:
Python 3 for the test framework in tests/
Go 1.23+ if you want to build components such as taosAdapter or taosKeeper
3.3 Optional Tools
ccache — speeds up rebuilds: sudo apt install ccache
Conan 2.x — required only for the taos-gen component: pip3 install conan
4. Building
4.1 Quick Start
git clone https://github.com/taosdata/TDengine.git
cd TDengine
mkdir debug && cd debug
cmake .. -DBUILD_CONTRIB=ON # First build: -DBUILD_CONTRIB=ON is REQUIRED
make -j$(nproc)
Important
The first source build must use -DBUILD_CONTRIB=ON. This downloads and builds external dependencies such as xxhash, zstd, and lz4 into .externals/. Subsequent builds can usually omit this flag and reuse the cached artifacts automatically.
The default build tree under debug/ looks like this:
Binaries in debug/build/bin/
taosd — TDengine server daemon
taos — TDengine CLI client
taosBenchmark — benchmark tool (BUILD_TOOLS=ON)
taosdump — import/export tool (BUILD_TOOLS=ON)
Libraries in debug/build/lib/
libtaos.so on Linux (or the platform-equivalent client library)
5. Testing
5.1 Unit Tests
cd debug
cmake .. -DBUILD_CONTRIB=ON -DBUILD_TEST=ON
make -j$(nproc)
ctest --output-on-failure
Some individual test binaries are also emitted into debug/build/bin/.
5.2 Integration Tests
TDengine includes a Python-based test framework in tests/.
# Build the server and tools first
cd debug
cmake .. -DBUILD_CONTRIB=ON -DBUILD_TOOLS=ON -DBUILD_TEST=ON
make -j$(nproc)
# Start taosd with the generated test configuration
./build/bin/taosd -c test/cfg &
# Run a system test
cd ../tests/system-test
python3 test.py -f 2-query/basic.py
For more test details, see tests/README.md.
6. Packaging
Use source/taos-community/packaging/pack_community_tar.sh after a successful Linux build to assemble the open-source community tarballs.
This script packages only artifacts that are built from the taos-community repository itself:
taosd
taos
taosBenchmark (BUILD_TOOLS=ON, when present)
taosdump (BUILD_TOOLS=ON, when present)
taosudf (when present)
libtaos.so
libtaosnative.so
headers, examples/c, and the install scripts
It does not package components that live in other repositories or require separate build flows, such as taoskeeper, taos-explorer, taosx, connectors, or taosinspect.
6.1 Package the Community Tarballs
Build first:
mkdir debug && cd debug
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_CONTRIB=ON -DBUILD_TOOLS=ON
make -j$(nproc)
Then run the packaging script from the repository root:
cd ..
./source/taos-community/packaging/pack_community_tar.sh -c debug -n 3.3.6.0
The server and client archives use the same two-layer layout as the existing packaging flow:
outer tarball for distribution
inner package.tar.gz containing bin/, cfg/, and inc/
This is the standard packaging approach for repository-local OSS artifacts and should be followed consistently in future repositories as well.
7. Installing from Package
For an official installer package produced by packaging/tools/makepkg.sh:
tar -xzf TDengine-server-<version>-Linux-x86_64.tar.gz
cd TDengine-server-<version>
sudo ./install.sh
If you are installing directly from a local source build instead of a packaged archive, you can also run:
cd debug
sudo make install
8. Running
# Start the server after installation
sudo systemctl start taosd
# Connect with the CLI
taos
For a quick local run from the build tree, use:
cd debug
./build/bin/taosd -c test/cfg
Then, in another shell:
cd debug
./build/bin/taos -c test/cfg
9. Workflow
TDengine build check workflow can be found in this GitHub Action. More workflows will be available soon.
10. Coverage
Latest TDengine test coverage report can be found on coveralls.io.
How to run the coverage report locally?
To create the test coverage report (in HTML format) locally, please run following commands:
cd tests
bash setup-lcov.sh -v 1.16 && ./run_local_coverage.sh -b main -c task
# on main branch and run cases in longtimeruning_cases.task
# for more information about options please refer to ./run_local_coverage.sh -h
NOTE:
Please note that the -b and -i options will recompile TDengine with the -DCOVER=true option, which may take an amount of time.
11. Contributing
Please follow the contribution guidelines to contribute to TDengine.
12. License
TDengine is licensed under the GNU Affero General Public License 3.0.
taosdata/TDengine thuộc nhóm Frontend trên TopGit, cùng 17 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về taosdata/TDengine ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/taosdata/TDengine là nguồn chính thức.
taosdata/TDengine có phải mã nguồn mở không?
Có — taosdata/TDengine phát hành theo license AGPL-3.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/taosdata/TDengine.
taosdata/TDengine là gì?
taosdata/TDengine (taosdata/TDengine) là dự án C trên GitHub. Theo mô tả gốc: High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
taosdata/TDengine so với các dự án Frontend khác thế nào?
taosdata/TDengine được TopGit xếp vào nhóm Frontend, với 25.2k sao GitHub và viết bằng C. Xem trang chủ đề Frontend trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Vì sao taosdata/TDengine được xếp vào nhóm Frontend?
TopGit xếp taosdata/TDengine vào nhóm Frontend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "bigdata", "cloud-native", "cluster"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
TDengine có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về TDengine.