explaingit

taosdata/tdengine

Analysis updated 2026-06-21

24,837CAudience · ops devopsComplexity · 4/5Setup · moderate

TLDR

TDengine is an open-source database built for storing and querying billions of time-stamped sensor readings efficiently, with built-in AI forecasting, streaming, and anomaly detection for IoT and industrial use cases.

Mindmap

mindmap
  root((TDengine))
    What it does
      Time-series database
      IoT data ingestion
      Real-time queries
    Features
      AI anomaly detect
      Built-in streaming
      Data subscription
      High compression
    Deploy
      Linux macOS Windows
      Kubernetes
      Cloud native
    Audience
      IoT engineers
      Data engineers
      Industrial ops
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Store and query real-time telemetry from millions of IoT sensors with high ingestion speed and low storage cost.

USE CASE 2

Build an industrial monitoring platform that detects anomalies in equipment sensor data using built-in AI.

USE CASE 3

Replace a multi-tool IoT stack with TDengine's built-in caching, streaming, and time-series queries in one database.

USE CASE 4

Run a connected-vehicle tracking system that ingests GPS and engine data from thousands of vehicles simultaneously.

What is it built with?

CDockerKubernetes

How does it compare?

taosdata/tdenginearendst/tasmotarobertdavidgraham/masscan
Stars24,83724,32325,595
LanguageCCC
Setup difficultymoderatehardmoderate
Complexity4/54/53/5
Audienceops devopsops devopsops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Production use requires distributing across multiple servers, Docker is the fastest path to a local trial.

In plain English

TDengine is an open-source database purpose-built for storing and querying time-series data, data that arrives as a continuous stream of readings stamped with a timestamp, like sensor measurements, vehicle telemetry, or stock prices. Traditional databases struggle when billions of devices are each sending readings every second, causing slowdowns and massive storage costs. TDengine is engineered to handle that volume efficiently, claiming to outperform other time-series databases on ingestion speed, query performance, and compression. It is cloud-native, meaning it was designed from the ground up to run across multiple servers (distributed) and can be deployed on Kubernetes or public cloud platforms. A built-in AI agent called TDgpt adds forecasting and anomaly detection directly inside the database, you query for patterns or predictions the same way you query for raw data. Other built-in features include caching, streaming data processing, and data subscription (similar to how apps listen for real-time updates). You would use TDengine if you are building an industrial IoT platform, a connected-vehicle monitoring system, or any application where millions of sensors are generating time-stamped readings and you need to query and analyze that data in real time without a sprawling stack of separate tools. It runs on Linux, macOS, and Windows, and is written primarily in C.

Copy-paste prompts

Prompt 1
Show me how to set up TDengine with Docker and insert time-series temperature readings from 10 simulated sensors using the Python connector.
Prompt 2
Help me write a TDengine SQL query that finds all sensors where the average temperature exceeded 80 degrees in the last hour.
Prompt 3
I want to use TDgpt to detect anomalies in my TDengine sensor data. Walk me through enabling the AI feature and writing a query that flags unusual readings.
Prompt 4
Write a step-by-step guide for deploying TDengine on Kubernetes for an IoT project that needs to handle 1 million data points per second.

Frequently asked questions

What is tdengine?

TDengine is an open-source database built for storing and querying billions of time-stamped sensor readings efficiently, with built-in AI forecasting, streaming, and anomaly detection for IoT and industrial use cases.

What language is tdengine written in?

Mainly C. The stack also includes C, Docker, Kubernetes.

How hard is tdengine to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tdengine for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub taosdata on gitmyhub

Verify against the repo before relying on details.