Inside TDengine
This chapter introduces TDengine's internal design, including cluster architecture, storage and query engines, virtual-table query optimization, data subscription (TMQ), stream processing, caching, compression, and logging. For product usage, see Stream Processing, Data Subscription, and TDengine SQL. This chapter focuses on mechanisms; use the corresponding product documentation as the source of truth for syntax and parameters.
📄️ Architecture
TDengine cluster architecture, logical nodes, storage, caching, persistence, replication, and tiered storage
📄️ Storage Engine
Internal design of the TDengine storage engine
📄️ Query Engine
TDengine query and computation module responsibilities and execution flow
📄️ Virtual Table Query Optimization
Aggregation pushdown and two-phase window-query splitting for virtual tables
📄️ Data Subscription
Internal TDengine data subscription (TMQ) design, including topics, consumer groups, WAL, and rebalancing
📄️ Stream Processing Engine
Overview of TDengine stream-processing internals, tasks, state, and fault tolerance
📄️ Data Caching
TDengine write-cache, read-cache, metadata-cache, and file-system-cache mechanisms
📄️ Data Compression
TDengine storage and transmission compression mechanisms
📄️ Logging System
TDengine normal logs and slow logs