This issue recommends an open source big data platform designed and optimized for the Internet of Things, Internet of vehicles, industrial Internet, IT operation and maintenance, etc. – TDengine.
TDengine is a big data platform designed and optimized for Internet of Things, Internet of vehicles, Industrial Internet, IT operation and maintenance. In addition to the core more than 10 times faster time series database function, it also provides caching, data subscription, streaming computing and other functions to minimize the complexity of research and development and operation and maintenance, and the core code, including cluster functions are all open source.
Features
- More than 10x performance improvement : Defines an innovative data storage structure, single-core can handle at least 20,000 requests per second, insert millions of data points, read more than 10 million data points, more than ten times faster than existing general-purpose databases.
- Hardware or cloud service cost reduced to 1/5 : due to superior performance, computing resources are less than 1/5 of the general big data solution; With column storage and advanced compression algorithms, the storage space is less than 1/10 of the general database.
- Full stack sequential data processing engine : By integrating functions such as database, message queue, cache, and streaming computing, applications no longer need to integrate Kafka, Redis, HBase, and Spark, greatly reducing application development and maintenance costs.
- Powerful analysis function : Whether the data is ten years old or one second ago, the specified time range can be queried. Data can be aggregated on a timeline or across multiple devices. AD hoc queries can be made at any time via Shell/Python/R/Matlab.
- Seamless connection with third-party tools : Integration with Telegraf, Grafana, EMQ X, Prometheus, Matlab, R without a line of code. There will also be support for MQTT, OPC, Hadoop, Spark, etc., and BI tools will also be seamlessly connected.
- Zero operation and maintenance costs, zero learning costs : installation, cluster in one second, no need to divide the database, real-time backup. Standard SQL, support JDBC,RESTful, support Python/Java/C/C++/Go/Node.JS, similar to MySQL, zero learning costs.
Installation start
TDengine software is divided into three parts: server, client and alarm module. At present, the 2.0 version of the server can only be installed and run on Linux systems, and Windows, Mac OS and other systems will be supported in the future. The client can be installed and run on Windows or Linux. Any OS application can also choose the RESTful interface to connect to the server taosd. The CPU supports X64/ARM64/MIPS64/Alpha64, and will later support CPU architectures such as ARM32 and RISC-V. You can choose to install through the source code or the installation package according to the requirements.
-
- < li data – track = “18” > view the complete Release notes: https://github.com/taosdata/TDengine/releases < / li >
- < li data – track = “19” > download other components, the latest beta version and previous version of the installation package: https://www.taosdata.com/cn/getting-started < / li >
The specific installation process can be seen: Blog: Installation and uninstallation of TDengine Multiple packages | Taos data
- Install from source
Source address:
https://github.com/taosdata/TDengine
Run through Docker container:
It is not recommended to deploy TDengine clients or servers in Docker for production environments at this time, but it is very convenient to deploy in Docker mode in development environments or for the first time. In particular, Docker makes it easy to try TDengine in Mac OSX and Windows environments.
# Run directly:
docker run tdengine/tdengine
Update detailed step instructions, see: Documentation |
- Install by installation package
For ease of use, the standard server installation package includes client programs, connectors for various programming languages, and sample code; If you only need C/C++ language support for server and client connection, you can also download the lite version of the installation package. In terms of installation package format, rpm, deb, and tar.gz are available to facilitate use on a specific operating system. The version is also divided into a stable version and a Beta version, the Beta version contains more new features, officially launched or tested, it is recommended to install a stable version. You can choose to download according to your needs:
- TDengine-server-2.2.2.0-Linux-x64.rpm (9.4 M)
https://www.taosdata.com/assets-download/TDengine-server-2.2.2.0-Linux-x64.rpm
- TDengine-server-2.2.2.0-Linux-x64.deb (7.4 M)
https://www.taosdata.com/assets-download/TDengine-server-2.2.2.0-Linux-x64.deb
- TDengine-server-2.2.2.0-Linux-x64.tar.gz (9.8 M)
https://www.taosdata.com/assets-download/TDengine-server-2.2.2.0-Linux-x64.tar.gz
- TDengine-server-2.3.2.0-beta-Linux-x64-Lite.tar.gz (2.9 M)
https://www.taosdata.com/assets-download/TDengine-server-2.3.2.0-beta-Linux-x64-Lite.tar.gz
- TDengine-server-2.3.2.0-beta-Linux-x64.rpm (18.6 M)
https://www.taosdata.com/assets-download/TDengine-server-2.3.2.0-beta-Linux-x64.rpm
- TDengine-server-2.3.2.0-beta-Linux-x64.deb (16.9 M)
https://www.taosdata.com/assets-download/TDengine-server-2.3.2.0-beta-Linux-x64.deb
- TDengine-server-2.3.2.0-beta-Linux-x64.tar.gz (19 M)
https://www.taosdata.com/assets-download/TDengine-server-2.3.2.0-beta-Linux-x64.tar.gz
Client:
If the client and server are running on different computers, you can install the client separately. When downloading, please note that the selected client version number should exactly match the server version number downloaded from above. The Linux and Windows installation packages are as follows (where the lite version comes with connection support for C/C++ only, while the standard version also includes connector support and sample code for programming languages such as Java, Python, Go, Node.js) :
- TDengine-client-2.2.2.0-Linux-x64.tar.gz (8.4 M)
https://www.taosdata.com/assets-download/TDengine-client-2.2.2.0-Linux-x64.tar.gz
- TDengine-client-2.2.2.0-Windows-x64.exe (9.2 M)
https://www.taosdata.com/assets-download/TDengine-client-2.2.2.0-Windows-x64.exe
- TDengine-client-2.2.2.0-Windows-x86.exe (9.3 M)
https://www.taosdata.com/assets-download/TDengine-client-2.2.2.0-Windows-x86.exe
- TDengine-client-2.3.2.0-beta-Linux-x64-Lite.tar.gz (2.6 M)
https://www.taosdata.com/assets-download/TDengine-client-2.3.2.0-beta-Linux-x64-Lite.tar.gz
- TDengine-client-2.3.2.0-beta-Linux-x64.tar.gz (8.1 M)
https://www.taosdata.com/assets-download/TDengine-client-2.3.2.0-beta-Linux-x64.tar.gz
- TDengine-client-2.3.2.0-beta-Windows-x64.exe (9.1 M)
https://www.taosdata.com/assets-download/TDengine-client-2.3.2.0-beta-Windows-x64.exe
- TDengine-client-2.3.2.0-beta-Windows-x86.exe (9.1 M)
https://www.taosdata.com/assets-download/TDengine-client-2.3.2.0-beta-Windows-x86.exe
Install with apt-get:
If you are using Debian or Ubuntu, you can also use apt-get to install it from the official repository. The setting method is
wget -qO - http://repos.taosdata.com/tdengine.key | sudo apt-key add -
echo "deb [arch=amd64] http://repos.taosdata.com/tdengine-stable stable main" | sudo tee /etc/apt/sources.list.d/tdengine-stable.list
[beta installation repository is optional] echo "deb [arch=amd64] http://repos.taosdata.com/tdengine-beta beta main" | sudo tee /etc/apt/sources.list.d/tdengine-beta.list
sudo apt-get update
apt-get policy tdengine
sudo apt-get install tdengine
- Start after installation
After the installation is successful, the user can use the systemctl command to start the TDengine service process:
systemctl start taosd
Check whether the service is working properly:
systemctl status taosd
If the TDengine service is working properly, then you can access TDengine through TDengine’s command-line program taos.
- TDengine command line program
To execute the TDengine command line program, you just need to execute taos on a Linux terminal:
taos
If the TDengine terminal successfully connects to the service, a welcome message and version information will be printed:
taos>
In TDengine terminal, users can create/delete databases, tables, etc., and perform insert query operations through SQL commands. SQL statements that run in the terminal need to end with a semicolon to run. Example:
create database db;
use db;
create table t (ts timestamp, speed int);
insert into t values ('2019-07-15 00:00:00', 10);
insert into t values ('2019-07-15 01:00:00', 20);
select * from t;
ts | speed |
========================================
2019-07-15 00:00:00.000 | 10 |
2019-07-15 01:00:00.000 | 20 |
Query OK, 2 row(s) in set (0.003128s)
In addition to executing SQL statements, the system administrator can also check the system running status from the TDengine terminal, add and delete user accounts, and so on.
Support platform
Where ● indicates official test verification, ○ indicates unofficial test verification.
- Server
- Clients and connectors
TDengine connectors currently support a wide range of platforms, currently including:
X64 and X86 / ARM64 / ARM32 / hardware platforms such as MIPS/Alpha and Linux/Win64 / Win32 development environment.
You can read more on your own.