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

add-num_operator_threads-for-find-path-performance #2108

Merged
merged 5 commits into from
Sep 7, 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
4 changes: 4 additions & 0 deletions docs-2.0/3.ngql-guide/16.subgraph-and-path/2.find-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

`FIND PATH`语句查找指定起始点和目的点之间的路径。

!!! note

用户可在配置文件`nebula-graphd.conf`中添加`num_operator_threads`参数提高`FIND PATH`的查询性能。`num_operator_threads`的取值为`2`~`10`,该值不能超过 Graph 服务所在机器的 CPU 核心个数,建议设置为 Graph 服务所在机器的 CPU 核心个数。关于配置文件的详细信息,参见 [Graph 服务配置](../../5.configurations-and-logs/1.configurations/3.graph-config.md)。

## 语法

```ngql
Expand Down