add log info for sort op memory dump controlled by amm
This commit is contained in:
@ -757,7 +757,7 @@ inline int ObChunkDatumStore::dump_one_block(BlockBuffer *item)
|
|||||||
}
|
}
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
n_block_in_file_++;
|
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()));
|
K_(item->cur_pos), K(item->capacity()));
|
||||||
}
|
}
|
||||||
if (OB_LIKELY(nullptr != io_event_observer_)) {
|
if (OB_LIKELY(nullptr != io_event_observer_)) {
|
||||||
|
@ -858,10 +858,10 @@ int ObSortOpImpl::preprocess_dump(bool &dumped)
|
|||||||
}
|
}
|
||||||
} else { }
|
} 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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user