摘要
为了解决云端单一应用系统向云端应用迁移过程中出现云端应用由多种不同服务组成的数据结构或关系发生变化,造成数据迁移中数据结构或数据库种类发生改变从而无法进行数据直接迁移的问题,笔者提出了一种关系型数据脚本转化为模型结构的方法。采用解析关系型数据库脚本,将关系型数据分解成对象元素,进而转化为模型结构。实验部分,使用此方法将数据量为100、1000、10000以及100000的关系型数据转化为模型结构数据,并列出了时间性能对比。结果表明,此方法实现了关系型数据库转化为模型结构。
In order to solve the problem of changes in the data structure or relationship of cloud applications composed of multiple different services during the migration of a single cloud application system to a cloud application, the data structure or database type changes during the data migration and the data cannot be directly migrated, the author A method of transforming relational data script into model structure is proposed. Resolving relational database scripts is used to decompose relational data into object elements, which are then transformed into model structures. In the experimental part, this method is used to convert relational data with the data volume of 100, 1000, 10 000 and 100 000 into model structure data, and the time performance comparison is listed.The results show that this method realizes the transformation of relational database into model structure.
作者
张磊
ZHANG Lei(Tianjin Sino-German University of Applied Sciences,Tianjin 300350,China)
出处
《信息与电脑》
2021年第23期61-63,共3页
Information & Computer
基金
天津市科技计划企业科技特派员项目资助(项目编号:20YDTPJC00890)。
关键词
云端数据迁移
关系型数据
模型结构
数据转化
cloud data migration
relational data
model structure
data conversion