期刊文献+

MMOS:支持超卖的多租户数据库内存资源共享方法

MMOS:Memory Resource Sharing Methods to Support Overselling in Multi-tenant Databases
下载PDF
导出
摘要 多租户数据库为每个租户分配固定的资源配额,而这些资源配额通常未全部得到有效利用,这种静态分配策略导致资源利用率不高。若在不影响租户性能的前提下将未利用的空闲资源共享给其他租户使用,即实现资源超卖,则可以提高资源利用率、提升平台收益。为了支持资源超卖,需要准确预测租户的资源需求,动态地按需为租户分配资源。已有的针对多租户数据库的资源共享方法的研究对象主要是CPU资源,鲜有支持超卖的内存资源共享方法。鉴于此,在联机分析处理场景下,提出了一种支持超卖的多租户数据库内存资源共享方法MMOS(Multi-tenant database Memory resource Overselling and Sharing)。该方法通过准确预测每个租户的内存需求区间,按照区间上限为租户动态调整内存配额,在不影响租户性能的前提下,统一管理空闲内存资源以支持更多租户,实现内存超卖。实验结果表明,MMOS在租户负载动态变化的场景下具有较好效果。在不同资源量的资源池下,支持的租户数可以增加2~2.6倍,资源利用率峰值提升175%~238%。同时,每个租户的业务与性能未受影响。 This paper presents an oversold memory resource sharing method for multi-tenant databases in an online analysis and processing scenario.The current static resource allocation strategy,which assigns a fixed resource quota to each tenant,leads to suboptimal resource utilization.To enhance resource utilization and platform revenue,it is important to share unused free resources among tenants without impacting their performance.While existing resource sharing methods for multi-tenant databases primarily focus on CPU resources,there is a lack of memory resource sharing methods that support overselling.To address this gap,the paper introduces a novel approach MMOS that accurately forecasts the memory requirements interval of each tenant and dynamically adjusts their resource allocation based on the upper limit of the interval.This allows for efficient management of free memory resources,enabling support for more tenants and achieving memory overselling while maintaining optimal performance.Experimental results demonstrate the effectiveness of the proposed method in dynamically changing tenant load scenarios.With different resource pools,the number of supported tenants can be increased by 2~2.6 times,leading to a significant increase in peak resource utilization by 175%~238%.Importantly,the proposed method ensures that the business and performance of each tenant remain unaffected.
作者 徐海洋 刘海龙 杨超云 王硕 李战怀 XU Haiyang;LIU Hailong;YANG Chaoyun;WANG Shuo;LI Zhanhuai(School of Computer Science,Northwestern Polytechnical University,Xi’an 710100,China;Key Laboratory of Big Data Storage and Management,Northwestern Polytechnical University,Ministry of Industry and Information Techno-logy,Xi’an 710100,China)
出处 《计算机科学》 CSCD 北大核心 2024年第2期27-35,共9页 Computer Science
基金 国家自然科学基金(62172335) CCF-华为胡杨林基金(CCF-HuaweiDBIR0004B)。
关键词 多租户数据库 资源超卖 内存资源 资源预测 资源分配 Multi-tenant database Resource overselling Memory resources Resource forecasting Resource allocation

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部