回复: Add SQL create data/schema region

2022-08-17 Thread Zhou Yifu
邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送 发件人: Yongzao Dan<mailto:532741...@qq.com.INVALID> 发送时间: 2022年8月18日 10:50 收件人: dev<mailto:dev@iotdb.apache.org> 主题: Add SQL create data/schema region Hi, I'm planning to add a SQL for IoTDB cluster version. Here are the d

Re: Add SQL create data/schema region

2022-08-17 Thread Eric Pai
Then there could be some opportunities that one SG belongs to many regions (for adding regions for existed SG). If so, I think the following design may be more formal. What do you think? ALTER STORAGE GROUP ADD (DATA | SCHEMA) REGION And I think we should also display the region count in SHOW

Re: Add SQL create data/schema region

2022-08-17 Thread Jialin Qiao
Hi, We will create a region for this storage group, and allocate all replicas of this region to datanodes. Then, newly created data partition could be routed to this region. 1. Does the exist data under the prefixPath will be automatically migrated to the new region? Currently, no. But we

Re: Add SQL create data/schema region

2022-08-17 Thread Eric Pai
Hi, Could you explain what will happen after a region being created manually in detail? And I have some questions about this SQL 1. Does the exist data under the prefixPath will be automatically migrated to the new region? 2. Does the prefixPath must be a storage group name, or any arbitrary

Add SQL create data/schema region

2022-08-17 Thread Yongzao Dan
Hi, I'm planning to add a SQL for IoTDB cluster version. Here are the details of this SQL: Motivation:We don't have enough evidence to design an optimalRegionGroupexpansion algorithm yet. If a large number of devices are created in a StorageGroup and the SeriesPartitionSlot is filled, the