Overview of taosperf performance testing tool
dd, fio, ping, and iperf3 to gather performance metrics.website·Indexed 34 days ago
https://docs.taosdata.comTechnical reference and API documentation for TDengine connectors, including the C# Class Library with methods like FetchRows and SchemalessInsert, and the taospy Python library featuring TaosConnection, TaosBind, and taosrest for REST-based interactions and SQLAlchemy support.
dd, fio, ping, and iperf3 to gather performance metrics.TDinsightV3 provides a comprehensive view of TDengine resource usage and status across several categories:
firstEp, server version, enterprise edition expiration/measuring points, total databases, connections, and the count/health percentage of DNodes, MNodes, VGroups, and VNodes.show dnodes/show mnodes) and historical trends of node counts.SELECT, DELETE, and INSERT requests, total inserted rows, and the number of slow SQL queries.taosd process CPU/Memory usage, disk usage (per level), Disk IO, and Network IO.taosd), updating algorithms does not require restarting taosd.The License Center manages authorizations for TDengine TSDB and IDMP using a two-tier architecture consisting of the Enterprise License Server (ELS) and the Customer License Server (CLS).
Typical Workflow: ELS manages overall authorization and max slots $\rightarrow$ Customer deploys CLS and imports/syncs the license $\rightarrow$ Multiple TSDB/IDMP instances connect to the local CLS to request authorization via slots and report heartbeats and usage.
taosdump is a logical backup tool used to export data from a running TDengine cluster and restore it to the same or a different cluster. It supports backing up databases, super tables, or ordinary tables, including specific time ranges. Data is stored using the Apache AVRO format.
Key Constraints:
The taosinstall tool is used for the automated installation and deployment of TDengine clusters, as the standard installation package scripts do not support cluster-wide automation. It supports the following operations:
TDengine uses SQL as its query language. Users can execute queries via the REST API, language-specific connectors, or the taos command-line tool. Key supported features include:
>, <, =, <>, like, etc.GROUP BY, ORDER BY, LIMIT, and OFFSETINTERVAL (time windows), SESSION (session windows), and STATE_WINDOW (state windows)twa (time-weighted average), spread (max-min difference), last_row (most recent record), count, max, min, avg, sum, stddev, leastsquares, top, bottom, first, last, percentile, apercentile, and diff.-- Example: Query records from table d101 where voltage > 215, sorted by time descending, limited to 2 results
select * from test.d101 where voltage > 215 order by ts desc limit 2;The dual-replica solution is a TDengine TSDB Enterprise feature (introduced in v3.3.0.0) designed to reduce deployment costs while maintaining reliability. It provides fault tolerance for a single service failure, provided there are no consecutive failures. Unlike standard Raft groups, leader election in dual-replica mode is handled by an Arbitrator service provided by high-availability Mnodes.
Key components: