Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
8aa5100d
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1185
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
8aa5100d
编写于
9月 29, 2022
作者:
sangshuduo
提交者:
GitHub
9月 29, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: icinga2 sub-tbname by rule note (#17161)
上级
0400fe5a
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
23 addition
and
10 deletion
+23
-10
docs/en/20-third-party/07-icinga2.md
docs/en/20-third-party/07-icinga2.md
+11
-5
docs/zh/20-third-party/07-icinga2.md
docs/zh/20-third-party/07-icinga2.md
+12
-5
未找到文件。
docs/en/20-third-party/07-icinga2.md
浏览文件 @
8aa5100d
...
@@ -36,11 +36,12 @@ After waiting about 10 seconds, use the TDengine CLI to query TDengine to verify
...
@@ -36,11 +36,12 @@ After waiting about 10 seconds, use the TDengine CLI to query TDengine to verify
```
```
taos> show databases;
taos> show databases;
name | created_time | ntables | vgroups | replica | quorum | days | keep | cache(MB) | blocks | minrows | maxrows | wallevel | fsync | comp | cachelast | precision | update | status |
name |
====================================================================================================================================================================================================================================================================================
=================================
log | 2022-04-20 07:19:50.260 | 11 | 1 | 1 | 1 | 10 | 3650 | 16 | 6 | 100 | 4096 | 1 | 3000 | 2 | 0 | ms | 0 | ready |
information_schema |
icinga2 | 2022-04-20 12:11:39.697 | 13 | 1 | 1 | 1 | 10 | 3650 | 16 | 6 | 100 | 4096 | 1 | 3000 | 2 | 0 | ns | 2 | ready |
performance_schema |
Query OK, 2 row(s) in set (0.001867s)
icinga2 |
Query OK, 3 row(s) in set (0.001867s)
taos> use icinga2;
taos> use icinga2;
Database changed.
Database changed.
...
@@ -72,3 +73,8 @@ taos> show stables;
...
@@ -72,3 +73,8 @@ taos> show stables;
icinga.service.users.state | 2022-04-20 12:11:39.704 | 2 | 1 | 1 |
icinga.service.users.state | 2022-04-20 12:11:39.704 | 2 | 1 | 1 |
Query OK, 22 row(s) in set (0.002317s)
Query OK, 22 row(s) in set (0.002317s)
```
```
:::note
-
TDengine will automatically create unique IDs for sub-table names by the rule.
:::
docs/zh/20-third-party/07-icinga2.md
浏览文件 @
8aa5100d
...
@@ -37,11 +37,12 @@ sudo systemctl restart icinga2
...
@@ -37,11 +37,12 @@ sudo systemctl restart icinga2
```
```
taos> show databases;
taos> show databases;
name | created_time | ntables | vgroups | replica | quorum | days | keep | cache(MB) | blocks | minrows | maxrows | wallevel | fsync | comp | cachelast | precision | update | status |
name |
====================================================================================================================================================================================================================================================================================
=================================
log | 2022-04-20 07:19:50.260 | 11 | 1 | 1 | 1 | 10 | 3650 | 16 | 6 | 100 | 4096 | 1 | 3000 | 2 | 0 | ms | 0 | ready |
information_schema |
icinga2 | 2022-04-20 12:11:39.697 | 13 | 1 | 1 | 1 | 10 | 3650 | 16 | 6 | 100 | 4096 | 1 | 3000 | 2 | 0 | ns | 2 | ready |
performance_schema |
Query OK, 2 row(s) in set (0.001867s)
icinga2 |
Query OK, 3 row(s) in set (0.001867s)
taos> use icinga2;
taos> use icinga2;
Database changed.
Database changed.
...
@@ -73,3 +74,9 @@ taos> show stables;
...
@@ -73,3 +74,9 @@ taos> show stables;
icinga.service.users.state | 2022-04-20 12:11:39.704 | 2 | 1 | 1 |
icinga.service.users.state | 2022-04-20 12:11:39.704 | 2 | 1 | 1 |
Query OK, 22 row(s) in set (0.002317s)
Query OK, 22 row(s) in set (0.002317s)
```
```
:::note
-
TDengine 默认生成的子表名是根据规则生成的唯一 ID 值。
:::
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录