南京大学学报(自然科学版)2024,Vol.60Issue(3) :491-501.DOI:10.13232/j.cnki.jnju.2024.03.012

一种适于跨租户数据共享的多租户数据存储模式

A multi-tenant data storage pattern suitable for cross-tenant data sharing

丁洪翔 赵卓峰
南京大学学报(自然科学版)2024,Vol.60Issue(3) :491-501.DOI:10.13232/j.cnki.jnju.2024.03.012

一种适于跨租户数据共享的多租户数据存储模式

A multi-tenant data storage pattern suitable for cross-tenant data sharing

丁洪翔 1赵卓峰1
扫码查看

作者信息

  • 1. 北方工业大学信息学院,北京,100144;大规模流数据集成与分析技术北京市重点实验室,北京,100144
  • 折叠

摘要

随着SaaS(Software-as-a-Service)软件中台化和业务服务范围的发展,跨租户的业务协作和数据共享需求愈发突出,对传统以租户数据隔离为主要内容的多租户数据存储模式带来了新的挑战,在已有多租户数据模式基础上支持跨租户的数据共享按需定制成为多租户数据存储模式设计的新问题.为此,提出一种支持可定制共享的多租户数据存储模式——共享宽表.该模式在传统宽表下扩展了用于存储租户之间关系的逻辑表,并增加了对于异构数据的映射机制,可以在保障租户数据隔离要求下同时适用于租户之间数据共享的灵活定制.实验表明,相对于传统宽表数据模式,提出的多租户数据存储模式可以更简单地支持跨租户的数据共享定义,并且具有更好的共享查询效率.

Abstract

With the development of the centralization of SaaS.(Software-as-a-Service)software and the scope of business service,cross-tenant business collaboration and data sharing requirements have become more and more prominent,which has posed new challenges to the traditional multi-tenant data storage model with tenant data isolation as the main content.How to support cross-tenant data sharing and on-demand customization on the basis of the existing multi-tenant data pattern has become a new problem in the design of multi-tenant data storage patterns.To this end,this paper proposes a multi-tenant data storage mode that supports customizable sharing,that is,sharing wide tables.This mode extends the logical tables used to store relationships between tenants under the traditional wide tables,and adds a mapping mechanism for heterogeneous data,which can be applied to flexible customization of data sharing between tenants while ensuring their requirements for data isolation.Experiments show that compared with the traditional wide-table data schema,it is easier for the storage mode proposed in this paper to support cross-tenant data sharing definitions with better efficiency of sharing query.

关键词

多租户/共享宽表/数据共享/存储模式/映射机制

Key words

multi-tenancy/sharing wide tables/data sharing/storage mode/mapping mechanism

引用本文复制引用

基金项目

国家重点研发计划(2019YFB1405103)

出版年

2024
南京大学学报(自然科学版)
南京大学

南京大学学报(自然科学版)

CSTPCD北大核心
影响因子:0.756
ISSN:0469-5097
段落导航相关论文