-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enhancement](s3)Add TotalGetRequestTime profile metric to the S3 reader. #57519
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
ClickBench: Total hot run time: 27.78 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
2563721 to
c708922
Compare
|
run buildall |
ClickBench: Total hot run time: 28.12 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
TPC-DS: Total hot run time: 189692 ms |
ClickBench: Total hot run time: 27.62 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
1 similar comment
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
…der. (apache#57519) Problem Summary: This PR adds a `TotalGetRequestTime` profile metric to the S3 reader. The new metric records the total time spent on all `GetObject` requests, which will be useful for future performance analysis and optimization. Example profile (Some less relevant information was manually removed.): ``` FILE_SCAN_OPERATOR (id=0. nereids_id=104. table name = lineitem): CommonCounters: - ExecTime: 11sec669ms - OpenTime: 7.395ms - WaitForDependency[FILE_SCAN_OPERATOR_DEPENDENCY]Time: 11sec634ms .... CustomCounters: .... Scanner: .... - FileReadTime: 4min8sec - FileScannerGetBlockTime: 4min9sec - MergedSmallIO: 0ns - ReadTime: 4min8sec - RequestBytes: 2.05 MB - RequestIO: 20.0K (20000) - ParquetReader: 0ns - ColumnReadTime: 4min9sec - FileOpenTime: 365.293ms - ParseFooterTime: 5min6sec - ParseMetaTime: 126.383ms ..... - S3Profile: 0ns - TooManyRequestErr: 0 - TooManyRequestSleepTime: 0ms - TotalBytesRead: 199.14 MB - TotalGetRequestTime: 9min12sec - TotalGetRequest: 40.0K (40000) - ScannerCpuTime: 20sec946ms - ScannerGetBlockTime: 9min19sec ```
…der. (apache#57519) Problem Summary: This PR adds a `TotalGetRequestTime` profile metric to the S3 reader. The new metric records the total time spent on all `GetObject` requests, which will be useful for future performance analysis and optimization. Example profile (Some less relevant information was manually removed.): ``` FILE_SCAN_OPERATOR (id=0. nereids_id=104. table name = lineitem): CommonCounters: - ExecTime: 11sec669ms - OpenTime: 7.395ms - WaitForDependency[FILE_SCAN_OPERATOR_DEPENDENCY]Time: 11sec634ms .... CustomCounters: .... Scanner: .... - FileReadTime: 4min8sec - FileScannerGetBlockTime: 4min9sec - MergedSmallIO: 0ns - ReadTime: 4min8sec - RequestBytes: 2.05 MB - RequestIO: 20.0K (20000) - ParquetReader: 0ns - ColumnReadTime: 4min9sec - FileOpenTime: 365.293ms - ParseFooterTime: 5min6sec - ParseMetaTime: 126.383ms ..... - S3Profile: 0ns - TooManyRequestErr: 0 - TooManyRequestSleepTime: 0ms - TotalBytesRead: 199.14 MB - TotalGetRequestTime: 9min12sec - TotalGetRequest: 40.0K (40000) - ScannerCpuTime: 20sec946ms - ScannerGetBlockTime: 9min19sec ```
… the S3 reader. (#57519) (#57635) bp #57519 Problem Summary: This PR adds a `TotalGetRequestTime` profile metric to the S3 reader. The new metric records the total time spent on all `GetObject` requests, which will be useful for future performance analysis and optimization. Example profile (Some less relevant information was manually removed.): ``` FILE_SCAN_OPERATOR (id=0. nereids_id=104. table name = lineitem): CommonCounters: - ExecTime: 11sec669ms - OpenTime: 7.395ms - WaitForDependency[FILE_SCAN_OPERATOR_DEPENDENCY]Time: 11sec634ms .... CustomCounters: .... Scanner: .... - FileReadTime: 4min8sec - FileScannerGetBlockTime: 4min9sec - MergedSmallIO: 0ns - ReadTime: 4min8sec - RequestBytes: 2.05 MB - RequestIO: 20.0K (20000) - ParquetReader: 0ns - ColumnReadTime: 4min9sec - FileOpenTime: 365.293ms - ParseFooterTime: 5min6sec - ParseMetaTime: 126.383ms ..... - S3Profile: 0ns - TooManyRequestErr: 0 - TooManyRequestSleepTime: 0ms - TotalBytesRead: 199.14 MB - TotalGetRequestTime: 9min12sec - TotalGetRequest: 40.0K (40000) - ScannerCpuTime: 20sec946ms - ScannerGetBlockTime: 9min19sec ``` ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: apache/doris-website#1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
…der. (apache#57519) (apache#5628) bp apache#57519 Problem Summary: This PR adds a `TotalGetRequestTime` profile metric to the S3 reader. The new metric records the total time spent on all `GetObject` requests, which will be useful for future performance analysis and optimization. Example profile (Some less relevant information was manually removed.): ``` FILE_SCAN_OPERATOR (id=0. nereids_id=104. table name = lineitem): CommonCounters: - ExecTime: 11sec669ms - OpenTime: 7.395ms - WaitForDependency[FILE_SCAN_OPERATOR_DEPENDENCY]Time: 11sec634ms .... CustomCounters: .... Scanner: .... - FileReadTime: 4min8sec - FileScannerGetBlockTime: 4min9sec - MergedSmallIO: 0ns - ReadTime: 4min8sec - RequestBytes: 2.05 MB - RequestIO: 20.0K (20000) - ParquetReader: 0ns - ColumnReadTime: 4min9sec - FileOpenTime: 365.293ms - ParseFooterTime: 5min6sec - ParseMetaTime: 126.383ms ..... - S3Profile: 0ns - TooManyRequestErr: 0 - TooManyRequestSleepTime: 0ms - TotalBytesRead: 199.14 MB - TotalGetRequestTime: 9min12sec - TotalGetRequest: 40.0K (40000) - ScannerCpuTime: 20sec946ms - ScannerGetBlockTime: 9min19sec ``` ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
What problem does this PR solve?
Problem Summary:
This PR adds a
TotalGetRequestTimeprofile metric to the S3 reader.The new metric records the total time spent on all
GetObjectrequests, which will be useful for future performance analysis and optimization.Example profile (Some less relevant information was manually removed.):
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)