未验证 提交 a894c3cc 编写于 作者: W wade zhang 提交者: GitHub

Merge pull request #12394 from taosdata/docs/fenghuazzm-patch-2

docs: update 13.faq
......@@ -159,3 +159,22 @@ ALTER LOCAL RESETLOG;
This means wiping up all client-generated log files on the machine.
## 18. How to solve the golang component compilation failure?
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.
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 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 () FROM {tb_name | stb_name}
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册