Skip to content

Conversation

@morningman
Copy link
Contributor

Proposed changes

Add viewable profile for broker load. Similar to the query profile,
the user can submit the import job by setting the session variable is_report_success to true,
and then view the running profile of the job on the FE web page for easy analysis and debugging.

Types of changes

  • New feature (non-breaking change which adds functionality)

@morningman morningman added kind/improvement area/load Issues or PRs related to all kinds of load labels Dec 9, 2020
@morningman morningman self-assigned this Dec 9, 2020
### 性能分析
可以在提价 LOAD 作业前,先执行 `set is_report_success=true` 打开会话变量。然后提交导入作业。待导入作业完成后,可以在 FE 的 web 页面的 `Queris` 标签中查看到导入作业的 Profile。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
可以在提价 LOAD 作业前,先执行 `set is_report_success=true` 打开会话变量。然后提交导入作业。待导入作业完成后,可以在 FE 的 web 页面的 `Queris` 标签中查看到导入作业的 Profile。
可以在提交 LOAD 作业前,先执行 `set is_report_success=true` 打开会话变量。然后提交导入作业。待导入作业完成后,可以在 FE 的 web 页面的 `Queris` 标签中查看到导入作业的 Profile。

### Performance analysis
You can execute `set is_report_success=true` to open the session variables before submitting the import job. After the import job is completed, you can view the profile of the import job in the `Queris` tab of the FE web page.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can execute `set is_report_success=true` to open the session variables before submitting the import job. After the import job is completed, you can view the profile of the import job in the `Queris` tab of the FE web page.
You can execute `set is_report_success=true` to open the load profile before submitting the import job. After the import job is completed, you can view the profile of the import job in the `Queris` tab of the FE web page.


import mockit.Expectations;
import mockit.Injectable;
import mockit.Mock;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it should under the java.*

Copy link
Contributor

@EmmyMiao87 EmmyMiao87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morningman morningman merged commit b640991 into apache:master Dec 16, 2020
morningman added a commit to baidu-doris/incubator-doris that referenced this pull request Jan 5, 2021
Add viewable profile for broker load. Similar to the query profile,
the user can submit the import job by setting the session variable is_report_success to true,
and then view the running profile of the job on the FE web page for easy analysis and debugging.
@yangzhg yangzhg mentioned this pull request Feb 9, 2021
Hastyshell pushed a commit to Hastyshell/doris that referenced this pull request Nov 12, 2025
…ection case apache#56867 (apache#5634)

cherry-picks from apache#56867
Related to apache#5052

Co-authored-by: abmdocrt <lianyukang@selectdb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/load Issues or PRs related to all kinds of load kind/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants