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

Update 3.graph-service.md #1499

Merged
merged 1 commit into from
Feb 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ Validator 模块对生成的 AST 进行语义校验,主要包括:

如上图所示,探索到节点 `Filter` 时,发现依赖的节点是 `GetNeighbor`,匹配预先定义的规则,就会将 `Filter` 融入到 `GetNeighbor` 中,然后移除节点 `Filter`,继续匹配下一个规则。在执行阶段,当算子 `GetNeighbor` 调用 Storage 服务的接口获取一个点的邻边时,Storage 服务内部会直接将不符合条件的边过滤掉,这样可以极大地减少传输的数据量,该优化称为过滤下推。

!!! Note

Nebula Graph {{ nebula.release }} 默认没有打开优化。

## Executor

Executor 模块包含调度器(Scheduler)和执行器(Executor),通过调度器调度执行计划,让执行器根据执行计划生成对应的执行算子,从叶子节点开始执行,直到根节点结束。如下图所示。
Expand Down