You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by Jialin Qiao <qi...@apache.org> on 2022/06/14 09:31:08 UTC
New function: show region
Hi,
I created an issue to query the region distribution [1].
This could be used in some scenarios:
(1) To see if the region migration is successful after removing a datanode
(2) To see if the region is well-distributed in datanodes
The query result could contain 5 columns:
RegionID, RegionType, DataNodeID, RPCAddress, RPCPort
Any suggestions?
[1] https://issues.apache.org/jira/browse/IOTDB-3488
Thanks,
—————————————————
Jialin Qiao
Apache IoTDB PMC
Re: New function: show region
Posted by Jialin Qiao <qi...@apache.org>.
Hi,
Good point!
We could add a status column, which may contain the following enums:
Up,
Moving to {DataNodeId}
Deleting
Besides, how many slots a region contains may also be helpful:
Status, RegionID, RegionType, Slots, DataNodeID, RPCAddress, RPCPort
There may need to reconsider some concepts about partition:
Schema: series partition -> schema slot
Data: series partition + time partition -> data slot
Thanks,
—————————————————
Jialin Qiao
Apache IoTDB PMC
Eric Pai <er...@hotmail.com> 于2022年6月14日周二 17:41写道:
> If one region is under migration, what the output will be? Do we need a
> state/status field?
>
> 在 2022/6/14 17:31,“Jialin Qiao”<qi...@apache.org> 写入:
>
> Hi,
>
> I created an issue to query the region distribution [1].
>
> This could be used in some scenarios:
> (1) To see if the region migration is successful after removing a
> datanode
> (2) To see if the region is well-distributed in datanodes
>
> The query result could contain 5 columns:
>
> RegionID, RegionType, DataNodeID, RPCAddress, RPCPort
>
> Any suggestions?
>
> [1]
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FIOTDB-3488&data=05%7C01%7C%7Cf33dbe8611d346568c6108da4de8b3fe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637907959094748610%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0ah6sTa1PKadQosZ4RnJA6FkInEb08yTW7AGnA9t35M%3D&reserved=0
>
> Thanks,
> —————————————————
> Jialin Qiao
> Apache IoTDB PMC
>
>
Re: New function: show region
Posted by Eric Pai <er...@hotmail.com>.
If one region is under migration, what the output will be? Do we need a state/status field?
在 2022/6/14 17:31,“Jialin Qiao”<qi...@apache.org> 写入:
Hi,
I created an issue to query the region distribution [1].
This could be used in some scenarios:
(1) To see if the region migration is successful after removing a datanode
(2) To see if the region is well-distributed in datanodes
The query result could contain 5 columns:
RegionID, RegionType, DataNodeID, RPCAddress, RPCPort
Any suggestions?
[1] https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FIOTDB-3488&data=05%7C01%7C%7Cf33dbe8611d346568c6108da4de8b3fe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637907959094748610%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0ah6sTa1PKadQosZ4RnJA6FkInEb08yTW7AGnA9t35M%3D&reserved=0
Thanks,
—————————————————
Jialin Qiao
Apache IoTDB PMC
回复:New function: show region
Posted by Yuhua Ren <24...@qq.com.INVALID>.
Maybe we can add one more column to the query result:
StorageGroup
------------------ 原始邮件 ------------------
发件人: "dev" <qiaojialin@apache.org>;
发送时间: 2022年6月14日(星期二) 下午5:31
收件人: "dev"<dev@iotdb.apache.org>;
主题: New function: show region
Hi,
I created an issue to query the region distribution [1].
This could be used in some scenarios:
(1) To see if the region migration is successful after removing a datanode
(2) To see if the region is well-distributed in datanodes
The query result could contain 5 columns:
RegionID, RegionType, DataNodeID, RPCAddress, RPCPort
Any suggestions?
[1] https://issues.apache.org/jira/browse/IOTDB-3488
Thanks,
—————————————————
Jialin Qiao
Apache IoTDB PMC