Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions ydb/core/kqp/counters/kqp_counters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,7 @@ TKqpCounters::TKqpCounters(const ::NMonitoring::TDynamicCounterPtr& counters, co

/* Statistics batch operations */
BatchOperationUpdateRows = KqpGroup->GetCounter("BatchOperation/Update/Rows", true);
BatchOperationUpdateBytes = KqpGroup->GetCounter("BatchOperation/Update/Bytes", true);

BatchOperationDeleteRows = KqpGroup->GetCounter("BatchOperation/Delete/Rows", true);
BatchOperationDeleteBytes = KqpGroup->GetCounter("BatchOperation/Delete/Bytes", true);

BatchOperationRetries = KqpGroup->GetCounter("BatchOperation/Retries", true);
}

Expand Down
2 changes: 0 additions & 2 deletions ydb/core/kqp/counters/kqp_counters.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,7 @@ class TKqpCounters : public TKqpCountersBase, public NYql::NDq::TSpillingCounter

// Statistics batch operations
::NMonitoring::TDynamicCounters::TCounterPtr BatchOperationUpdateRows;
::NMonitoring::TDynamicCounters::TCounterPtr BatchOperationUpdateBytes;
::NMonitoring::TDynamicCounters::TCounterPtr BatchOperationDeleteRows;
::NMonitoring::TDynamicCounters::TCounterPtr BatchOperationDeleteBytes;
::NMonitoring::TDynamicCounters::TCounterPtr BatchOperationRetries;
};

Expand Down
3 changes: 0 additions & 3 deletions ydb/core/kqp/executer_actor/kqp_executer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2175,10 +2175,7 @@ class TKqpExecuterBase : public TActor<TDerived> {
if (!BatchOperationSettings.Empty() && !Stats->TableStats.empty()) {
auto [_, tableStats] = *Stats->TableStats.begin();
Counters->Counters->BatchOperationUpdateRows->Add(tableStats->GetWriteRows());
Counters->Counters->BatchOperationUpdateBytes->Add(tableStats->GetWriteBytes());

Counters->Counters->BatchOperationDeleteRows->Add(tableStats->GetEraseRows());
Counters->Counters->BatchOperationDeleteBytes->Add(tableStats->GetEraseBytes());
}

auto finishSize = Stats->EstimateFinishMem();
Expand Down
Loading
Loading