This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new b27e07ac4ab [log](compaction) add more stats for compaction log
(#24984) (#26217)
b27e07ac4ab is described below
commit b27e07ac4ab3642e348736ec5b3cba0a24884c0c
Author: zhannngchen <[email protected]>
AuthorDate: Wed Nov 1 19:43:02 2023 +0800
[log](compaction) add more stats for compaction log (#24984) (#26217)
---
be/src/olap/compaction.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/olap/compaction.cpp b/be/src/olap/compaction.cpp
index f02271b7620..ec781e25a68 100644
--- a/be/src/olap/compaction.cpp
+++ b/be/src/olap/compaction.cpp
@@ -522,6 +522,8 @@ Status Compaction::do_compaction_impl(int64_t permits) {
<< ", output_rowset_size=" << _output_rowset->data_disk_size()
<< ", input_row_num=" << _input_row_num
<< ", output_row_num=" << _output_rowset->num_rows()
+ << ", filtered_row_num=" << stats.filtered_rows
+ << ", merged_row_num=" << stats.merged_rows
<< ". elapsed time=" << watch.get_elapse_second()
<< "s. cumulative_compaction_policy=" << cumu_policy->name()
<< ", compact_row_per_second=" << int(_input_row_num /
watch.get_elapse_second());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]