When our team was working on the smart meter project, we chose the data storage solution based on TDengine. During the development process, we found that it would be inconvenient to view data without a graphical management tool, so we developed TDengineGUI internally for data management. Following the TDengine team's concept of complete open source, this gadget is now open source for everyone to develop and use.
Introduction to TDengineGUI
method of obtaining
Download the latest version of the executable
Current version features
-
Connect to the database through the TDengine RESTful interface, which is basically not affected by the server version upgrade
-
Database add and delete operations, display database properties
-
Display super table and table information in the database, delete super table and table function
-
Display super table and table data functions, provide pagination, time period retrieval, field filtering, sorting and other functions
Run development builds from source
git clone https://github.com/skye0207/TDengineGUI.git
git clone https://gitee.com/skyebaobao/TDengineGUI.git
npm install
npm run start
npm run build //Install packages and executable files, generated in the dist folder
Instructions for use
You can add a new server for management through the "New Connection" button. You need to provide the IP address of the database server, the port number of the RESTful service (6041 by default), the username and password for connecting to the server (the default is root:taosdata)
You can add a database by clicking the add database icon. You can select database properties when adding (please refer to the official TDengine documentation for the meaning of the properties)
You can delete the database connection by clicking the delete icon after the server is connected.
After selecting the database to be operated, you can enter the current database operation interface. You can call up the database navigation bar by clicking the "Switch" button to switch the database to be operated. The current database operation interface is divided into four tab pages: super table, table, console, and database properties. Each tab page is displayed and manipulated for the current database.
In the super table (table) tab, the left side is a list of super tables (tables), which can be deleted and retrieved (add, modify, etc. operations will be provided in subsequent versions, if you need to add data tables or insert data in the current version, please use the control console input command completion). The left side shows the data of the current data table.
Time period selection can be performed on table data.
You can filter, sort, and paginate table data by time field.
You can enter SQL commands to run in the console, and display the original return results of the RESTful interface. Commands entered in the console operate on the current database by default. Generally, there is no need to append the database name before the table name. But you can also operate tables in other databases by means of "database name.table name". (The way the results are displayed will be improved in future versions)
The database properties display some basic properties of the current database, and the property modification function will be added in later versions.
Product Outlook
About the author : Wang Guan (WeChat: Daisy_Louise), front-end engineer, graduated from Tianjin University majoring in software engineering.
If you also want to become a community contributor of TDengine, click the link for details~