【 使用环境 】生产环境
【 OB or 其他组件 】OB
【 使用版本 】3.2.3
【问题描述】kvstore中的user_block_cache过大
【复现路径】项目组早上8-9点有巨量的update,会更新很多次。user_block_cache我能理解很高,这合理。但其他时间段,如半夜,没有什么语句执行(比起早上)依然user_block_cache在增长,wash一次就50m(最多一次)。今天早上有一次下降。根据https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000000800913?back=kb下降就说明没有内存泄漏。92G的block cache内存,该租户所有表加起来约15G,是不是有其他bug?
【附件及日志】
顺便想问下wash大小我看tenant_wash_info->min_wash_size_ = std::max(0L, mem_usage - upper_limit + reserve_mem);
if (tenant_wash_info->min_wash_size_ > tenant_wash_info->cache_size_) {
tenant_wash_info->min_wash_size_ = tenant_wash_info->cache_size_;
}
而tenant_wash_info->cache_size_ += (inst->status_.store_size_ + inst->status_.map_size_); 想知道怎么算的?怎么才50m左右,是不是有点少了