add log info for sort op memory dump controlled by amm

This commit is contained in:
hezuojiao 2022-12-29 13:38:08 +00:00 committed by ob-robot
parent 42a58351d0
commit b300756dff
2 changed files with 4 additions and 4 deletions

View File

@ -757,7 +757,7 @@ inline int ObChunkDatumStore::dump_one_block(BlockBuffer *item)
}
if (OB_SUCC(ret)) {
n_block_in_file_++;
LOG_DEBUG("RowStore Dumpped block", K_(item->block->rows),
LOG_INFO("RowStore Dumpped block", K_(item->block->rows),
K_(item->cur_pos), K(item->capacity()));
}
if (OB_LIKELY(nullptr != io_event_observer_)) {

View File

@ -858,10 +858,10 @@ int ObSortOpImpl::preprocess_dump(bool &dumped)
}
} else { }
}
LOG_INFO("trace sort need dump", K(dumped), K(mem_context_->used()), K(get_memory_limit()),
K(profile_.get_cache_size()), K(profile_.get_expect_size()),
K(sql_mem_processor_.get_data_size()));
}
LOG_TRACE("trace sort need dump", K(dumped), K(mem_context_->used()), K(get_memory_limit()),
K(profile_.get_cache_size()), K(profile_.get_expect_size()),
K(sql_mem_processor_.get_data_size()));
}
return ret;
}