未验证 提交 ae4e5ed2 编写于 作者: Z Zhengmao Zhu 提交者: GitHub

Update docs.md

上级 a6e4be7f
......@@ -161,20 +161,20 @@ This means wiping up all client-generated log files on the machine.
## 18. How to solve the golang component compilation failure?
The new version of TDengine 2.3.0.0 contains a taosAdapter standalone component developed in go, which needs to be run separately, replacing the httpd built into taosd. Provides data access functionality including the original httpd functionality and support for a variety of other software (Prometheus, Telegraf, CollectD, StatsD, etc.).
From version 2.3.0.0, a new component taosAdapter developed in go has been added in TDengine. taosAdapter needs to be run separately to replace the httpd built in taosd. It provideds REST API and data flow a variety of 3rd party tools like Prometheus, Telegraf, CollectD, StatsD, etc, can be inserted into TDengine through it.
To compile with the latest Develop branch, run `git submodule update --init --recursive` to download the taosAdapter repository code and then compile it.
For details about taosAdapter, please refer to [taosAdapter](https://tdengine.com/docs/en/v2.0/tools/adapter#install-taosadapter).
## 19. How do I query the disk space occupied by data?
By default, TDengine data files are stored in /var/lib/taos and log files are stored in /var/log/taos.
To check the size of all data files, run the following command: `du -sh /var/lib/taos/vnode --exclude='wal'` .The wal directory is excluded here because the size is almost fixed in the case of continuous heavy writes, and wal directories are emptied whenever TDengine is normally shut down.
To check the size of all data files, run command `du -sh /var/lib/taos/vnode --exclude='wal'` on Linux Shell. The wal directory is excluded here because the size is almost fixed in case of continuous heavy writes, and wal directories are emptied whenever TDengine is normally shut down.
To check the size of a single database, run the `show vgroups;` command in the taos command to specify a database, go to /var/lib/taos/vnode with the obtained VGroup ID to check the contained folder size.
If you only want to see the block distribution and size of a (super) table, You can use _block_dist functions:
```mysql
SELECT _block_dist () the FROM {tb_name | stb_name}
SELECT _block_dist () FROM {tb_name | stb_name}
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册