###
计算机系统应用:2018,27(12):210-215
本文二维码信息
码上扫一扫!
稀疏表与块表结合的多租户共享存储模型
刘彬1, 程凯2, 于杰3
(1.金诚信矿业管理股份有限公司, 北京 100044;2.北京宸控科技有限公司, 北京 102200;3.北京市新媒体技师学院, 北京 102200)
Multi-Tenant Shared Storage Model Combining Sparse Tables and Block Table
LIU Bin1, CHENG Kai2, YU Jie3
(1.JCHX Mining Management Co. Ltd., Beijing 100044, China;2.Beijing KingKong Science & Technology Co. Ltd., Beijing 102200, China;3.Beijing New Media Technical College, Beijing 102200, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 17次   下载 11
投稿时间:2018-05-06    修订日期:2018-06-04
中文摘要: 针对传统单稀疏表存储模型存储空间利用率低以及块表存储模型重构租户逻辑关系时连接次数多的问题,提出了稀疏表与块表结合的存储模型.该存储模型中将租户基于SaaS应用服务商提供的逻辑表上定制的属性及自定义的逻辑表中的属性映射到列数合适的稀疏表中存储,而将租户一部分常见数据类型的自定义的属性存储到块表中,以此避免因扩展字段的列数超过稀疏表列数导致的数据迁移问题,最后通过定义查询重写器给出了从租户逻辑SQL请求到物理SQL请求的转换.实验结果表明,该存储模型在存储空间利用率及查询效率上相比传统的稀疏表存储模型都有所提升.
中文关键词: 多租户  存储模型  稀疏表  块表  云计算
Abstract:Aiming at the low utilization of storage space in traditional single-sparse storage model and the problem of more connections in reconstructing the logical relationship of tenants in the block table storage model, the combination of sparse tables and block table storage model is put forward. In the storage model, the attributes in the logic tables provided by the SaaS providers and the attributes in the custom logical tables are mapped into the corresponding sparse tables and the custom attributes of a part of the tenant common data type are stored in the block table, so as to avoid the problem of data migration caused by the number of extended columns exceeding the number of sparse tables. Finally, the query conversion and query efficiency are optimized through the query rewriter. The experimental results show that the storage model improves storage space utilization and query efficiency compared with the traditional sparse table storage model.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
刘彬,程凯,于杰.稀疏表与块表结合的多租户共享存储模型.计算机系统应用,2018,27(12):210-215
LIU Bin,CHENG Kai,YU Jie.Multi-Tenant Shared Storage Model Combining Sparse Tables and Block Table.COMPUTER SYSTEMS APPLICATIONS,2018,27(12):210-215

用微信扫一扫

用微信扫一扫