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

边栏推荐
- 2022年机修钳工(高级)考试题模拟考试题库模拟考试平台操作
- Deep copy is hard
- Simple process of penetration test
- Solution to the prompt of could not close zip file during phpword use
- 物联网应用技术专业是属于什么类
- -Web direction attack and defense world
- Laravel - view (new and output views)
- Kotlin collaboration uses coroutinecontext to implement the retry logic after a network request fails
- 根据CronSequenceGenerator计算cron表达式的时间
- 鏈錶(簡單)
猜你喜欢

明峰医疗冲刺科创板:年营收3.5亿元 拟募资6.24亿

In addition to the root directory, other routes of laravel + xampp are 404 solutions

国富氢能冲刺科创板:拟募资20亿 应收账款3.6亿超营收

Solve the problem of invalid uni app configuration page and tabbar

Can graduate students not learn English? As long as the score of postgraduate entrance examination English or CET-6 is high!

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

LeetCode_2(两数相加)

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

Introduction to Chapter 8 proof problem of njupt "Xin'an numeral base"
![[South China University of technology] information sharing of postgraduate entrance examination and re examination](/img/a8/41e62a7a8d0a2e901e06c751c30291.jpg)
[South China University of technology] information sharing of postgraduate entrance examination and re examination
随机推荐
web3.eth. Filter related
Blue Bridge Cup study 2022.7.5 (morning)
那些考研后才知道的事
Hongmeng fourth training
leetcode 10. Regular expression matching regular expression matching (difficult)
Attack and defense world web WP
Comparison of several distributed databases
金融壹賬通香港上市:市值63億港元 葉望春稱守正篤實,久久為功
物联网应用技术专业是属于什么类
Implementation process of WSDL and soap calls under PHP5
04_solr7.3之solrJ7.3的使用
How to divide a large 'tar' archive file into multiple files of a specific size
Selenium crawls Baidu pictures
MySQL if else use case use
[js] basic syntax - for loop
如何将 DevSecOps 引入企业?
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
::ffff:192.168.31.101 是一个什么地址?
PHP generate Poster
基于微信小程序的订餐系统