[improvement](profile) Insert into add LoadChannel runtime profile (#18908)
TabletSink and LoadChannel in BE are M: N relationship, Every once in a while LoadChannel will randomly return its own runtime profile to a TabletSink, so usually all LoadChannel runtime profiles are saved on each TabletSink, and the timeliness of the same LoadChannel profile saved on different TabletSinks is different, and each TabletSink will periodically send fe reports all the LoadChannel profiles saved by itself, and ensures to update the latest LoadChannel profile according to the timestamp.
This commit is contained in:
@ -324,7 +324,7 @@ void AggregationNode::_init_hash_method(std::vector<VExprContext*>& probe_exprs)
|
||||
}
|
||||
|
||||
Status AggregationNode::prepare_profile(RuntimeState* state) {
|
||||
auto* memory_usage = runtime_profile()->create_child("MemoryUsage", true, true);
|
||||
auto* memory_usage = runtime_profile()->create_child("PeakMemoryUsage", true, true);
|
||||
runtime_profile()->add_child(memory_usage, false, nullptr);
|
||||
_hash_table_memory_usage = ADD_COUNTER(memory_usage, "HashTable", TUnit::BYTES);
|
||||
_serialize_key_arena_memory_usage =
|
||||
|
||||
Reference in New Issue
Block a user