Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下 index 是否有规则 #729

Open
githublaohu opened this issue Aug 18, 2023 · 4 comments
Open

请问下 index 是否有规则 #729

githublaohu opened this issue Aug 18, 2023 · 4 comments

Comments

@githublaohu
Copy link

大家好!
请问下 vearch 的 index 是否是有规则的。比如 有6个PartitionServer节点,
1. 所有节点的数据是否相同
2. 每次请求,Router是否都会去 请求6个PartitionServer。

                                                                                             感谢
@zcdb
Copy link
Member

zcdb commented Aug 18, 2023

vearch是多分片多副本架构,PartitionServer节点是管理paritition节点的,其中partition可以是分片也可以是副本,分片与分片数据是不一样的,副本则数据一样。如有6个PartitionServer节点,表是6分片 * 1 副本,则会请求6个ps;表是2分片 * 3 副本,则请求其中2个分片

@githublaohu
Copy link
Author

如有6个PartitionServer节点,表是6分片 * 1 副本,则会请求6个ps;表是2分片 * 3 副本,则请求其中2个分片
抱歉,没看懂

@githublaohu
Copy link
Author

大佬意思是 请求 与分片没有直接关系。 与表分了多少个片有关系。如果表分了 3 个片,那就是请求几个分片。表有几个分片就请求几个分片

@zcdb
Copy link
Member

zcdb commented Aug 21, 2023

大佬意思是 请求 与分片没有直接关系。 与表分了多少个片有关系。如果表分了 3 个片,那就是请求几个分片。表有几个分片就请求几个分片

是的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants