当前位置:网站首页>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 建模。

边栏推荐
- NFT value and white paper acquisition
- laravel-dompdf导出pdf,中文乱码问题解决
- 广发期货排名多少?网上办理广发期货开户安全可靠吗?
- web3.eth. Filter related
- Simple process of penetration test
- Why do I support bat to dismantle "AI research institute"
- Can graduate students not learn English? As long as the score of postgraduate entrance examination English or CET-6 is high!
- ZABBIX monitoring
- Laravel dompdf exports PDF, and the problem of Chinese garbled code is solved
- 链表(简单)
猜你喜欢

PHP basic syntax

Internal JSON-RPC error. {"code":-32000, "message": "execution reverted"} solve the error

昆仑太科冲刺科创板:年营收1.3亿拟募资5亿 电科太极持股40%

Set up a website with a sense of ceremony, and post it to the public 2/2 through the intranet

LeetCode_2(两数相加)

laravel-dompdf导出pdf,中文乱码问题解决
![[machine learning notes] several methods of splitting data into training sets and test sets](/img/f6/eca239bb4b1764a1495ccd9a868ec1.jpg)
[machine learning notes] several methods of splitting data into training sets and test sets

OSI and tcp/ip protocol cluster
![Primary code audit [no dolls (modification)] assessment](/img/b8/82c32e95d1b72f75823ca91c97138e.jpg)
Primary code audit [no dolls (modification)] assessment

Financial one account Hong Kong listed: market value of 6.3 billion HK $Ye wangchun said to be Keeping true and true, long - term work
随机推荐
2022 construction welder (special type of construction work) special operation certificate examination question bank and online simulation examination
搭建一个仪式感点满的网站,并内网穿透发布到公网 2/2
ZABBIX monitoring
IP packet header analysis and static routing
matlab学习2022.7.4
LeetCode_67(二进制求和)
Can graduate students not learn English? As long as the score of postgraduate entrance examination English or CET-6 is high!
【华南理工大学】考研初试复试资料分享
The development of speech recognition app with uni app is simple and fast.
MySQL if else use case use
链表(简单)
In addition to the root directory, other routes of laravel + xampp are 404 solutions
深拷贝真难
2022年机修钳工(高级)考试题模拟考试题库模拟考试平台操作
嵌入式软件架构设计-消息交互
如何将 DevSecOps 引入企业?
Log4j utilization correlation
Scientific running robot pancakeswap clip robot latest detailed tutorial
Laravel - model (new model and use model)
研究生可以不用学英语?只要考研英语或六级分数高!