yiguolei commented on code in PR #49040:
URL: https://github.com/apache/doris/pull/49040#discussion_r2196696139
##########
be/src/olap/rowset/segment_v2/segment.cpp:
##########
@@ -206,7 +264,11 @@ Status Segment::_open() {
}
_meta_mem_usage += sizeof(*this);
- _meta_mem_usage += _tablet_schema->num_columns() *
config::estimated_mem_per_column_reader;
+ _meta_mem_usage +=
+ config::enable_segment_partial_column_cache
+ ? config::max_segment_partial_column_cache_size *
Review Comment:
用户可以把max_segment_partial_column_cache_size 这个设置为0,相当于永远不cache, 设置为100000
表示cache 所有的column readers
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]