About TDengine
TDengine is an open-source, cloud-native time-series database (TSDB) optimized for Internet of Things (IoT), Connected Cars, and Industrial IoT. It enables efficient, real-time ingestion, processing, and monitoring of petabytes of data per day, generated by billions of sensors and data collectors. With its built-in caching, stream processing, and data subscription capabilities, TDengine offers a simplified solution for time-series data processing.
What’s New
- Python support for user-defined functions (UDF): You can now create user-defined functions using Python. For more information, see the official documentation.
- Performance and stability improvements: TDengine 3.0.4.0 features enhanced stability, especially in high concurrency and high load scenarios. In additional, the performance of the
MODE
(when used withINTERVAL
),PERCENTILE
,LAST
, andLAST_ROW
functions has been significantly improved. - More flexible database configuration: You can now modify the
STT_TRIGGER
andMINROWS
parameters on databases that have already been created. You can also configure the retention period and size of the write-ahead log (WAL) file with the newly addedWAL_RETENTION_PERIOD
andWAL_RETENTION_SIZE
parameters. For more information about database configuration, see the official documentation. - (Enterprise Edition only) OPC UA and DA connectors: In addition to the TDengine PI Connector, TDengine 3.0.4.0 also supports connecting with OPC Unified Access (UA) and Data Access (DA) data sources.
- (Enterprise Edition only) TDengine Explorer improvements: You can now manage data sources and connection tasks through TDengine Explorer.
Compatibility
You can run TDengine 3.0.4.0 on Linux, macOS, and Windows, in addition to Docker containers and Kubernetes. See Supported Platforms for details about the compatibility of TDengine 3.0.4.0 with various architectures and operating systems.
Note: You must upgrade existing clients to TDengine 3.0.4.0 before connecting to a TDengine 3.0.4.0 server.
Upgrading to TDengine 3.0.4.0
Upgrading TDengine Cloud
For TDengine Cloud instances on the Standard Plan or Enterprise Plan, an account representative will notify you of the next scheduled maintenance window during which your instances will be upgraded. Note that if you manually shut down Standard or Enterprise instances prior to the maintenance window, those instances will be automatically upgraded to the latest version.
TDengine Cloud instances on the Free Plan are automatically upgraded the next time they are shut down. You can manually shut down an instance by opening the Instances tab and clicking the Active slider.
You can check your current version of TDengine at any time by running the SELECT SERVER_VERSION();
command.
Upgrading TDengine Community and Enterprise Editions
You can upgrade TDengine Community Edition and TDengine Enterprise Edition to version 3.0.4.0 from version 3.0.1.5 or later.
To upgrade TDengine Community Edition or TDengine Enterprise Edition, first back up your deployment by making a copy of the TDengine directory. Then install TDengine 3.0.4.0 as described in the official documentation. It is not necessary to uninstall TDengine before upgrading.
Note: If you have deployed TDengine as a cluster, you must shut down and upgrade all nodes in the cluster to TDengine 3.0.4.0. Rolling upgrades are not supported in TDengine 3.0.4.0.
If you are running TDengine 2.6 or earlier, contact the TDengine Team for assistance in migrating your deployment to TDengine 3.0.4.0. TDengine Enterprise Edition customers can contact their account representative for support, and all users can join the TDengine Discord server and request help from the team.
Resolved Issues
For a full list of issues resolved in this release, see our GitHub repository.