-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[opt](inverted index) add performance profiling for remote io access in inverted index #43542
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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
| Status FullTextIndexReader::query(OlapReaderStatistics* stats, RuntimeState* runtime_state, | ||
| const std::string& column_name, const void* query_value, | ||
| InvertedIndexQueryType query_type, | ||
| Status FullTextIndexReader::query(const io::IOContext* io_ctx, OlapReaderStatistics* stats, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'query' exceeds recommended size/complexity thresholds [readability-function-size]
Status FullTextIndexReader::query(const io::IOContext* io_ctx, OlapReaderStatistics* stats,
^Additional context
be/src/olap/rowset/segment_v2/inverted_index_reader.cpp:250: 81 lines including whitespace and comments (threshold 80)
Status FullTextIndexReader::query(const io::IOContext* io_ctx, OlapReaderStatistics* stats,
^| } | ||
|
|
||
| Status StringTypeInvertedIndexReader::query(OlapReaderStatistics* stats, | ||
| Status StringTypeInvertedIndexReader::query(const io::IOContext* io_ctx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'query' exceeds recommended size/complexity thresholds [readability-function-size]
Status StringTypeInvertedIndexReader::query(const io::IOContext* io_ctx,
^Additional context
be/src/olap/rowset/segment_v2/inverted_index_reader.cpp:348: 117 lines including whitespace and comments (threshold 80)
Status StringTypeInvertedIndexReader::query(const io::IOContext* io_ctx,
^028c8fd to
6e99cbb
Compare
|
run buildall |
1 similar comment
|
run buildall |
025f6e7 to
c0b7127
Compare
|
run buildall |
c0b7127 to
d034bf8
Compare
|
run buildall |
d034bf8 to
fde1fb1
Compare
|
run buildall |
fde1fb1 to
7467f40
Compare
|
run buildall |
7467f40 to
dc4ab34
Compare
|
run buildall |
airborne12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
dc4ab34 to
8a9bd64
Compare
|
run buildall |
8a9bd64 to
521ef05
Compare
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
| } | ||
|
|
||
| Status InvertedIndexFileReader::_init_from_v2(int32_t read_buffer_size) { | ||
| Status InvertedIndexFileReader::_init_from_v2(const io::IOContext* io_ctx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_init_from_v2' exceeds recommended size/complexity thresholds [readability-function-size]
Status InvertedIndexFileReader::_init_from_v2(const io::IOContext* io_ctx,
^Additional context
be/src/olap/rowset/segment_v2/inverted_index_file_reader.cpp:43: 94 lines including whitespace and comments (threshold 80)
Status InvertedIndexFileReader::_init_from_v2(const io::IOContext* io_ctx,
^|
TeamCity be ut coverage result: |
521ef05 to
d7bab6b
Compare
|
run buildall |
1 similar comment
|
run buildall |
d7bab6b to
7b786c9
Compare
|
run p0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
| Status FullTextIndexReader::query(OlapReaderStatistics* stats, RuntimeState* runtime_state, | ||
| const std::string& column_name, const void* query_value, | ||
| InvertedIndexQueryType query_type, | ||
| Status FullTextIndexReader::query(const io::IOContext* io_ctx, OlapReaderStatistics* stats, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'query' exceeds recommended size/complexity thresholds [readability-function-size]
Status FullTextIndexReader::query(const io::IOContext* io_ctx, OlapReaderStatistics* stats,
^Additional context
be/src/olap/rowset/segment_v2/inverted_index_reader.cpp:248: 81 lines including whitespace and comments (threshold 80)
Status FullTextIndexReader::query(const io::IOContext* io_ctx, OlapReaderStatistics* stats,
^| } | ||
|
|
||
| Status StringTypeInvertedIndexReader::query(OlapReaderStatistics* stats, | ||
| Status StringTypeInvertedIndexReader::query(const io::IOContext* io_ctx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'query' exceeds recommended size/complexity thresholds [readability-function-size]
Status StringTypeInvertedIndexReader::query(const io::IOContext* io_ctx,
^Additional context
be/src/olap/rowset/segment_v2/inverted_index_reader.cpp:346: 117 lines including whitespace and comments (threshold 80)
Status StringTypeInvertedIndexReader::query(const io::IOContext* io_ctx,
^7b786c9 to
4d85d7e
Compare
|
run buildall |
…in inverted index
4d85d7e to
636764e
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
csun5285
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
qidaye
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
…in inverted index (#43542) Problem Summary: 1. Implement the accounting of remote I/O operations for the inverted index in profiling statistics. ### Release note Add performance profiling for remote IO access in inverted index
… profile (apache#44863) Add NumInvertedIndexRemoteIOTotal to count the number of remote IO operations in the inverted index Related PR: apache#43542
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)