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

边栏推荐
- [js] basic syntax - for loop
- IP packet header analysis and static routing
- Solve the problem of invalid uni app configuration page and tabbar
- WebRTC的学习(二)
- UE源码阅读[1]---由问题入手UE中的延迟渲染
- 故障分析 | MySQL 耗尽主机内存一例分析
- Getting started with rce
- leetcode 10. Regular expression matching regular expression matching (difficult)
- 01 、Solr7.3.1 在Win10平台下使用jetty的部署及配置
- 基于伯努利原理的速度监测芯片可用于天然气管道泄露检测
猜你喜欢

Zibll theme external chain redirection go page beautification tutorial

常见问题之PHP——Fatal error: Allowed memory size of 314572800 bytes exhausted...

Kotlin协程利用CoroutineContext实现网络请求失败后重试逻辑

Introduction to Chapter 8 proof problem of njupt "Xin'an numeral base"

Recommendation number | what are interesting people looking at?

锚点导航小demo

Sqllab 1-6 exercise

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

Kotlin collaboration uses coroutinecontext to implement the retry logic after a network request fails

ELFK部署
随机推荐
链表(简单)
Leetcode array question brushing notes
IP packet header analysis and static routing
Laravel framework operation error: no application encryption key has been specified
About the problem and solution of 403 error in wampserver
Ueditor + PHP enables Alibaba cloud OSS upload
广发期货排名多少?网上办理广发期货开户安全可靠吗?
Laravel generate entity
Xampp configuring multiple items
Self built shooting range 2022
Hongmeng fourth training
Laravel - view (new and output views)
基于伯努利原理的速度监测芯片可用于天然气管道泄露检测
[machine learning notes] several methods of splitting data into training sets and test sets
Basic characteristics and isolation level of transactions
[buuctf.reverse] 152-154
蓝桥杯学习2022.7.5(上午)
When using Tencent cloud for the first time, you can only use webshell connection instead of SSH connection.
深拷贝真难
Elfk deployment