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 faq in importer #2479

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
32 changes: 32 additions & 0 deletions docs-2.0-en/import-export/use-importer.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,3 +438,35 @@ The configuration mainly includes the following parts:

!!! note
The sequence numbers of the columns in the CSV file start from 0, that is, the sequence numbers of the first column are 0, and the sequence numbers of the second column are 1.

## FAQ

### What are the descriptions of the fields in the log output?

The following is an example of a log content:
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved

```
“msg”: “44m20s 2h7m10s 25.85%(129 GiB/498 GiB) Records{Finished: 302016726, Failed: 0, Rate: 113538.13/s}, Requests{Finished: 181786, Failed: 0, Latency: 4.046496736s/4.06694393s, Rate: 68.34/s}, Processed{Finished: 908575178, Failed: 0, Rate: 341563.62/s}”
```

The fields are described below:

- `44m20s 2h7m10s 25.85%(129 GiB/498 GiB)` corresponds to basic information without field names.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
- The time spent.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
- The expected remaining time.
- The percentage processed.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
- The data size processed.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
- The total data size.
- `Records` corresponds to the records of the CSV files.
- `Finished`: The number of the completed records.
- `Failed`: The number of the failed records.
- `Rate`: The number of records imported per second.
- `Requests` corresponds to the requests.
- `Finished`: The number of the completed requests.
- `Failed`: The number of the failed requests.
- `Latency`: The time spent of the requests on server-side / The time spent of the requests on client-side.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
- `Rate`: The number of requests processed per second.
- `Processed` corresponds to nodes and edges.
- `Finished`: The number of the completed nodes and edges.
- `Failed`: The number of the failed nodes and edges.
- `Rate`: The number of nodes and edges processed per second.
32 changes: 32 additions & 0 deletions docs-2.0-zh/import-export/use-importer.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,3 +446,35 @@ sources:
!!! note

阅读他人实践后倘若想按原文实践,请留意原文所用的内核和周边工具版本号,请确保你的软件环境和原文兼容。

## 常见问题

### 日志输出的字段含义是什么?

例如以下日志内容:

```
“msg”: “44m20s 2h7m10s 25.85%(129 GiB/498 GiB) Records{Finished: 302016726, Failed: 0, Rate: 113538.13/s}, Requests{Finished: 181786, Failed: 0, Latency: 4.046496736s/4.06694393s, Rate: 68.34/s}, Processed{Finished: 908575178, Failed: 0, Rate: 341563.62/s}”
```

字段说明如下:

- `44m20s 2h7m10s 25.85%(129 GiB/498 GiB)`对应基本信息,没有字段名称。
- 已用时间。
- 预计剩余时间。
- 已处理百分比。
- 已处理的数据大小。
- 总数据大小。
- `Records`对应 CSV 文件的记录。
- `Finished`:完成的记录数。
- `Failed`:失败的记录数。
- `Rate`:每秒导入的记录数。
- `Requests`对应请求。
- `Finished`:完成的请求数。
- `Failed`:失败的请求数。
- `Latency`:服务端请求耗时/客户端请求耗时。
- `Rate`:每秒处理的请求数。
- `Processed`对应点边。
- `Finished`:处理完成的点边数量。
- `Failed`:处理失败的点边数量。
- `Rate`:每秒处理的点边数量。