From d714a0cce2bb632cbfbb88bac7c084dcc5ff3a47 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:21:52 +0800 Subject: [PATCH 1/5] add faq in importer https://github.com/vesoft-inc/nebula-docs/pull/2478/files --- docs-2.0-en/import-export/use-importer.md | 26 +++++++++++++++++++++++ docs-2.0-zh/import-export/use-importer.md | 26 +++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/docs-2.0-en/import-export/use-importer.md b/docs-2.0-en/import-export/use-importer.md index 92450b98464..826f18cd12a 100644 --- a/docs-2.0-en/import-export/use-importer.md +++ b/docs-2.0-en/import-export/use-importer.md @@ -438,3 +438,29 @@ 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? + +For example: + +``` +“msg”: “1m20s 1h2m3s 50.00%(32 GiB/64 GiB) Records{Finished: 123456789, Failed: 0, Rate: 12345.67/s}, Requests{Finished: 1234567, Failed: 0, Latency: 1.23456789s/1.32456789s, Rate: 12.34/s}, Processed{Finished: 23456789, Failed: 0, Rate: 345678.91/s}” +``` + +The fields are described below: + +- `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. + - `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. \ No newline at end of file diff --git a/docs-2.0-zh/import-export/use-importer.md b/docs-2.0-zh/import-export/use-importer.md index 0218851bc32..b105df1d542 100644 --- a/docs-2.0-zh/import-export/use-importer.md +++ b/docs-2.0-zh/import-export/use-importer.md @@ -446,3 +446,29 @@ sources: !!! note 阅读他人实践后倘若想按原文实践,请留意原文所用的内核和周边工具版本号,请确保你的软件环境和原文兼容。 + +## 常见问题 + +### 日志输出的字段含义是什么? + +例如以下日志内容: + +``` +“msg”: “1m20s 1h2m3s 50.00%(32 GiB/64 GiB) Records{Finished: 123456789, Failed: 0, Rate: 12345.67/s}, Requests{Finished: 1234567, Failed: 0, Latency: 1.23456789s/1.32456789s, Rate: 12.34/s}, Processed{Finished: 23456789, Failed: 0, Rate: 345678.91/s}” +``` + +字段说明如下: + +- `Records`对应 CSV 文件的记录。 + - `Finished`:完成的记录数。 + - `Failed`:失败的记录数。 + - `Rate`:每秒导入的记录数。 +- `Requests`对应请求。 + - `Finished`:完成的请求数。 + - `Failed`:失败的请求数。 + - `Latency`:服务端请求耗时/客户端请求耗时。 + - `Rate`:每秒处理的请求数。 +- `Processed`对应点边。 + - `Finished`:处理完成的点边数量。 + - `Failed`:处理失败的点边数量。 + - `Rate`:每秒处理的点边数量。 \ No newline at end of file From 7112bb6bbfdc72717c4da4eec313eb308ab3da9c Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:23:21 +0800 Subject: [PATCH 2/5] Update use-importer.md --- docs-2.0-en/import-export/use-importer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-2.0-en/import-export/use-importer.md b/docs-2.0-en/import-export/use-importer.md index 826f18cd12a..652cbddb80b 100644 --- a/docs-2.0-en/import-export/use-importer.md +++ b/docs-2.0-en/import-export/use-importer.md @@ -443,7 +443,7 @@ The configuration mainly includes the following parts: ### What are the descriptions of the fields in the log output? -For example: +The following is an example of a log content: ``` “msg”: “1m20s 1h2m3s 50.00%(32 GiB/64 GiB) Records{Finished: 123456789, Failed: 0, Rate: 12345.67/s}, Requests{Finished: 1234567, Failed: 0, Latency: 1.23456789s/1.32456789s, Rate: 12.34/s}, Processed{Finished: 23456789, Failed: 0, Rate: 345678.91/s}” From e66d51ac2eb25d63132de2fbcd003b1f2e4397cf Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:40:08 +0800 Subject: [PATCH 3/5] update --- docs-2.0-en/import-export/use-importer.md | 2 +- docs-2.0-zh/import-export/use-importer.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-2.0-en/import-export/use-importer.md b/docs-2.0-en/import-export/use-importer.md index 652cbddb80b..611a0745a98 100644 --- a/docs-2.0-en/import-export/use-importer.md +++ b/docs-2.0-en/import-export/use-importer.md @@ -446,7 +446,7 @@ The configuration mainly includes the following parts: The following is an example of a log content: ``` -“msg”: “1m20s 1h2m3s 50.00%(32 GiB/64 GiB) Records{Finished: 123456789, Failed: 0, Rate: 12345.67/s}, Requests{Finished: 1234567, Failed: 0, Latency: 1.23456789s/1.32456789s, Rate: 12.34/s}, Processed{Finished: 23456789, Failed: 0, Rate: 345678.91/s}” +“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: diff --git a/docs-2.0-zh/import-export/use-importer.md b/docs-2.0-zh/import-export/use-importer.md index b105df1d542..62b0c698bfb 100644 --- a/docs-2.0-zh/import-export/use-importer.md +++ b/docs-2.0-zh/import-export/use-importer.md @@ -454,7 +454,7 @@ sources: 例如以下日志内容: ``` -“msg”: “1m20s 1h2m3s 50.00%(32 GiB/64 GiB) Records{Finished: 123456789, Failed: 0, Rate: 12345.67/s}, Requests{Finished: 1234567, Failed: 0, Latency: 1.23456789s/1.32456789s, Rate: 12.34/s}, Processed{Finished: 23456789, Failed: 0, Rate: 345678.91/s}” +“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}” ``` 字段说明如下: From 4b356727d5541f20fcd16f5de3525fb8ad2d4723 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:51:22 +0800 Subject: [PATCH 4/5] update --- docs-2.0-en/import-export/use-importer.md | 6 ++++++ docs-2.0-zh/import-export/use-importer.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs-2.0-en/import-export/use-importer.md b/docs-2.0-en/import-export/use-importer.md index 611a0745a98..3905d8448a7 100644 --- a/docs-2.0-en/import-export/use-importer.md +++ b/docs-2.0-en/import-export/use-importer.md @@ -451,6 +451,12 @@ The following is an example of a log content: The fields are described below: +- `44m20s 2h7m10s 25.85%(129 GiB/498 GiB)` corresponds to basic information without field names. + - The time spent. + - The expected remaining time. + - The percentage processed. + - The data size processed. + - 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. diff --git a/docs-2.0-zh/import-export/use-importer.md b/docs-2.0-zh/import-export/use-importer.md index 62b0c698bfb..bcd78c8669a 100644 --- a/docs-2.0-zh/import-export/use-importer.md +++ b/docs-2.0-zh/import-export/use-importer.md @@ -459,6 +459,12 @@ sources: 字段说明如下: +- `44m20s 2h7m10s 25.85%(129 GiB/498 GiB)`对应基本信息,没有字段名称。 + - 已用时间。 + - 预计剩余时间。 + - 已处理百分比。 + - 已处理的数据大小。 + - 总数据大小。 - `Records`对应 CSV 文件的记录。 - `Finished`:完成的记录数。 - `Failed`:失败的记录数。 From 93c6c7c715d752a813ca6a9fab745eced4ea9769 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Fri, 23 Feb 2024 09:04:10 +0800 Subject: [PATCH 5/5] Update use-importer.md --- docs-2.0-en/import-export/use-importer.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs-2.0-en/import-export/use-importer.md b/docs-2.0-en/import-export/use-importer.md index 3905d8448a7..14d8bd89a38 100644 --- a/docs-2.0-en/import-export/use-importer.md +++ b/docs-2.0-en/import-export/use-importer.md @@ -443,7 +443,7 @@ The configuration mainly includes the following parts: ### What are the descriptions of the fields in the log output? -The following is an example of a log content: +The following is an example of a log entry: ``` “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}” @@ -451,11 +451,11 @@ The following is an example of a log content: The fields are described below: -- `44m20s 2h7m10s 25.85%(129 GiB/498 GiB)` corresponds to basic information without field names. - - The time spent. +- `44m20s 2h7m10s 25.85%(129 GiB/498 GiB)` corresponds to basic information about the importing process. + - The consumed time. - The expected remaining time. - - The percentage processed. - - The data size processed. + - The percentage of data processed. + - The size of data processed. - The total data size. - `Records` corresponds to the records of the CSV files. - `Finished`: The number of the completed records. @@ -464,7 +464,7 @@ The fields are described below: - `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. + - `Latency`: The time consumed by server-side requests / The time consumed by client-side requests. - `Rate`: The number of requests processed per second. - `Processed` corresponds to nodes and edges. - `Finished`: The number of the completed nodes and edges.