branch-3.1:[enhancement](s3)Add TotalGetRequestTime profile metric to the S3 reader. (#57519)#57636
Merged
morningman merged 2 commits intoapache:branch-3.1from Nov 4, 2025
Merged
Conversation
…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 ```
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
morrySnow
approved these changes
Nov 4, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bp #57519
Problem Summary:
This PR adds a
TotalGetRequestTimeprofile metric to the S3 reader. The new metric records the total time spent on allGetObjectrequests, which will be useful for future performance analysis and optimization.Example profile (Some less relevant information was manually removed.):
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)