arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.11787cs.DB
收藏

蒙特卡洛中的MigCast:数据模型演化对NoSQL数据库的影响

MigCast in Monte Carlo: The Impact of Data Model Evolution in NoSQL Databases

Andrea Hillenbrand, Uta Störl, Shamil Nabiyev, Stefanie Scherzinger

摘要:

在NoSQL支持的软件的开发过程中,数据模型与应用程序代码一起自然发展。特别是在敏捷开发中,新的应用程序发布会频繁部署,从而导致模式更改。最终,必须做出关于迁移持久化在云托管的生产数据库中的版本化遗留数据的决策。我们解决了这个模式的演变问题,并提出了近乎详尽的计算结果,通过该软件项目的利益相关者可以管理数据模型演变的运营成本,并相应地调整他们的软件发布策略,以符合服务水平协议的迁移成本和延迟的竞争指标。我们最终澄清了NoSQL数据库中的数据模型演变如何影响度量,同时考虑到迁移场景的所有相关特征。由于在迁移场景的搜索空间中计算所有可能的组合将远远超过计算手段,我们使用了重复采样的概率蒙特卡罗方法,作为一种行之有效的手段,使数据模型演变的复杂性得到控制。我们的实验表明,定性和定量的影响迁移策略的性能方面的强度和分布的数据实体访问,模式的变化,以及底层的数据模型的特点。

英文摘要:

During the development of NoSQL-backed software, the data model evolves naturally alongside the application code. Especially in agile development, new application releases are deployed frequently causing schema changes. Eventually, decisions have to be made regarding the migration of versioned legacy data which is persisted in the cloud-hosted production database. We solve this schema evolution problem and present the results of near-exhaustive calculations by means of which software project stakeholders can manage the operative costs for data model evolution and adapt their software release strategy accordingly in order to comply with service-level agreements regarding the competing metrics of migration costs and latency. We clarify conclusively how data model evolution in NoSQL databases impacts the metrics while taking all relevant characteristics of migration scenarios into account. As calculating all possible combinatorics in the search space of migration scenarios would by far exceed computational means, we used a probabilistic Monte Carlo method of repeated sampling, serving as a well-established means to bring the complexity of data model evolution under control. Our experiments show the qualitative and quantitative impact on the performance of migration strategies with respect to intensity and distribution of data entity accesses, the kinds of schema changes, and the characteristics of the underlying data model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑