当前位置:网站首页>TDengine 社区问题双周精选 | 第三期
TDengine 社区问题双周精选 | 第三期
2022-07-05 13:57:00 【InfoQ】
内容预览
- 为何批量写入数据时,时间戳使用 NOW 函数拼接会导致数据丢失?
- 如何给集群平滑扩容?
- 集群扩容后,DNode 状态为 Offline 该如何排查?
- 如何给集群平滑缩容?
- 新手小福利:快速上手 TDengine 建模。
1. 为何批量写入数据时,时间戳使用 NOW 函数拼接会导致数据丢失?
2. 如何给集群平滑扩容?
- 第一个节点部署成功后,为后续待添加的节点依次安装 TDengine 服务端程序,编辑 /etc/hosts,将集群所有节点的域名解析添加进去(如已部署 DNS server,则无需编辑)。
- 将第一个节点的配置文件 taos.cfg 复制到待添加的节点中,将其中的 fqdn 参数改为节点自身的 fqdn (hostname)。
- 启动待添加节点的 taosd 服务,然后进入 taos 命令行执行下面语句将待添加节点添加进集群:CREATE DNode ‘Node2:6030’ 。
- 执行 SHOW DNodes 查看数据节点的状态是否为 Ready。为 Ready 代表集群扩容成功。
3. 集群扩容后,DNode 状态为 Offline 该如何排查?
- 查看该节点 taosd 是否已启动、防火墙是否关闭;
- 确认待加入节点的数据文件夹是否清空;
- 检查所有节点 /etc/hosts 域名解析是否完整、有效(需要有所有节点的解析,包括 arbitrator);
- 该节点 firstEP、fqdn 参数是否正确配置。
4. 如何给集群平滑缩容?
- 进入 taos 命令行,执行 SHOW DNodes 查看待删除节点的状态,若是 ready 则可进行下一步;
- 从当前集群中删除指定节点 DROP DNode ‘Node2:6030’ 或者 DROP DNode <DNodeId>。
- 执行 SHOW DNodes 查看集群节点信息,最后确认待删除节点的信息已从列表中消失。
5. 新手小福利:快速上手 TDengine 建模。

边栏推荐
- Those things I didn't know until I took the postgraduate entrance examination
- Jasypt configuration file encryption | quick start | actual combat
- ELK 企业级日志分析系统
- Zibll theme external chain redirection go page beautification tutorial
- Requests + BS4 crawl Douban top250 movie information
- ELFK部署
- [South China University of technology] information sharing of postgraduate entrance examination and re examination
- Require, require in PHP_ once、include、include_ Detailed explanation of the efficiency of repeated introduction of once class library
- 研究生可以不用学英语?只要考研英语或六级分数高!
- Idea remote debugging agent
猜你喜欢
The development of speech recognition app with uni app is simple and fast.
How to deal with the Yellow Icon during the installation of wampserver
Primary code audit [no dolls (modification)] assessment
Idea remote debugging agent
Anchor navigation demo
Why do I support bat to dismantle "AI research institute"
About the problem and solution of 403 error in wampserver
UE source code reading [1]--- starting with problems delayed rendering in UE
Laravel framework operation error: no application encryption key has been specified
::ffff:192.168.31.101 是一个什么地址?
随机推荐
[South China University of technology] information sharing of postgraduate entrance examination and re examination
In addition to the root directory, other routes of laravel + xampp are 404 solutions
RK3566添加LED
UE源码阅读[1]---由问题入手UE中的延迟渲染
UE source code reading [1]--- starting with problems delayed rendering in UE
2022 machine fitter (Advanced) test question simulation test question bank simulation test platform operation
广发期货排名多少?网上办理广发期货开户安全可靠吗?
Detailed explanation of SSH password free login
Rk3566 add LED
ELK 企业级日志分析系统
研究生可以不用学英语?只要考研英语或六级分数高!
poi设置列的数据格式(有效)
WebRTC的学习(二)
PHP generate Poster
Source code analysis of etcd database -- peer RT of inter cluster network layer client
物联网应用技术专业是属于什么类
PHP character capture notes 2020-09-14
Assembly language - Beginner's introduction
Zibll theme external chain redirection go page beautification tutorial
The forked VM terminated without saying properly goodbye