You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "cserwen (via GitHub)" <gi...@apache.org> on 2025/09/29 03:02:50 UTC
[D] 有关 IoTDB 集群模式的疑问 [iotdb]
GitHub user cserwen created a discussion: 有关 IoTDB 集群模式的疑问
我在 IoTDB 的官网上没有找到集群模式太多的介绍,似乎只有一个基础规模(3C3D)的[部署文档](https://iotdb.apache.org/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.html)和[负载均衡](https://iotdb.apache.org/zh/UserGuide/latest/Technical-Insider/Cluster-data-partitioning.html#_2-1-%E5%AD%98%E5%82%A8%E5%9D%87%E8%A1%A1)的文档,对于其中细节并未有太多的介绍,因此有些疑问,辛苦解答下
1)IoTDB 的主备分片是否能够切换,如果能,切换是依靠 configNode 进行的吗?
2)主备分片数据复制是同步还是异步的,副本数可以设置大于2吗?如果同步复制,必须写入所有副本才返回吗?
3)IotDB 分片的存储和计算是一体的吗,如果主分片故障,备分片承担计算压力,是否会造成节点负载不均?以及负载均很算法能否处理这种情况
4)扩缩容场景,是否能够快速将分片挪动到目标节点上,是否需要复制文件?
GitHub link: https://github.com/apache/iotdb/discussions/16515
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
Posted by "cserwen (via GitHub)" <gi...@apache.org>.
GitHub user cserwen edited a discussion: 有关 IoTDB 集群模式的疑问
我在 IoTDB 的官网上没有找到集群模式太多的介绍,似乎只有一个基础规模(3C3D)的[部署文档](https://iotdb.apache.org/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.html)和[负载均衡](https://iotdb.apache.org/zh/UserGuide/latest/Technical-Insider/Cluster-data-partitioning.html#_2-1-%E5%AD%98%E5%82%A8%E5%9D%87%E8%A1%A1)的文档,对于其中细节并未有太多的介绍,因此有些疑问,辛苦解答下
1)IoTDB 的主备分片是否能够切换,如果能,切换是依靠 configNode 进行的吗?
2)主备分片数据复制是同步还是异步的,副本数可以设置大于2吗?如果同步复制,必须写入所有副本才返回吗?
3)IotDB 分片的存储计算是一体的吗,如果主分片故障,备分片承担计算压力,是否会造成节点负载不均?以及负载均衡能否处理这种情况
4)扩缩容场景,是否能够快速将分片挪动到目标节点上,是否需要复制文件?
GitHub link: https://github.com/apache/iotdb/discussions/16515
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
Posted by "CRZbulabula (via GitHub)" <gi...@apache.org>.
GitHub user CRZbulabula added a comment to the discussion: 有关 IoTDB 集群模式的疑问
可以[手动迁移](https://iotdb.apache.org/zh/UserGuide/latest/User-Manual/Load-Balance.html#_3-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E),但是不推荐,因为内部实现的[自动负载均衡算法](https://www.vldb.org/pvldb/vol18/p1784-song.pdf)还不错。
GitHub link: https://github.com/apache/iotdb/discussions/16515#discussioncomment-14537577
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
回复: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
Posted by Yongzao Dan <53...@qq.com.INVALID>.
可以手动迁移,但是不推荐(https://iotdb.apache.org/zh/UserGuide/latest/User-Manual/Load-Balance.html#_3-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)
因为内部负载均衡算法实现得还不错(https://www.vldb.org/pvldb/vol18/p1784-song.pdf)
------------------ 原始邮件 ------------------
发件人: "cserwen (via GitHub)"<git@apache.org>;
发送时间: 2025年9月29日(星期一) 中午11:16
收件人: "dev"<dev@iotdb.apache.org>;
主题: Re: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
GitHub user cserwen added a comment to the discussion: 有关 IoTDB 集群模式的疑问
我看过了,IoTDB 的分片分配到一个固定的节点上之后就无法迁移了是吗 @CritasWang
GitHub link: https://github.com/apache/iotdb/discussions/16515#discussioncomment-14537504
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
Posted by "cserwen (via GitHub)" <gi...@apache.org>.
GitHub user cserwen added a comment to the discussion: 有关 IoTDB 集群模式的疑问
我看过了,IoTDB 的分片分配到一个固定的节点上之后就无法迁移了是吗 @CritasWang
GitHub link: https://github.com/apache/iotdb/discussions/16515#discussioncomment-14537504
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
Posted by "CritasWang (via GitHub)" <gi...@apache.org>.
GitHub user CritasWang added a comment to the discussion: 有关 IoTDB 集群模式的疑问
可以在这里看
https://iotdb.apache.org/zh/UserGuide/latest/Technical-Insider/Cluster-data-partitioning.html
GitHub link: https://github.com/apache/iotdb/discussions/16515#discussioncomment-14537433
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 有关 IoTDB 集群模式的疑问 [iotdb]
Posted by "cserwen (via GitHub)" <gi...@apache.org>.
GitHub user cserwen added a comment to the discussion: 有关 IoTDB 集群模式的疑问
@CRZbulabula 感谢~ 我大概明白了,iotdb 的分片和时间相关,历史 region 通常不会有增量写请求,只需要考虑增量分片的分配即可,历史分片依赖 ttl 去释放空间
GitHub link: https://github.com/apache/iotdb/discussions/16515#discussioncomment-14537728
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org