首页 | 本学科首页   官方微博 | 高级检索  
     

数据库管理系统中数据异常体系化定义与分类
引用本文:李海翔,李晓燕,刘畅,杜小勇,卢卫,潘安群. 数据库管理系统中数据异常体系化定义与分类[J]. 软件学报, 2022, 33(3): 909-930
作者姓名:李海翔  李晓燕  刘畅  杜小勇  卢卫  潘安群
作者单位:腾讯科技(北京)有限公司,北京100080;北京大学数学科学学院信息与计算科学系,北京100871;数据工程与知识工程教育部重点实验室(中国人民大学),北京100872;中国人民大学信息学院,北京100872
基金项目:国家重点研发计划(2017YFB1001803);国家自然科学基金(61872008)
摘    要:数据异常尚没有统一的定义,其含义是指可能破坏数据库一致性状态的特定数据操作模式.已知的数据异常有脏写、脏读、不可重复读、幻读、丢失更新、读偏序和写偏序等.为了提高并发控制算法的效率,数据异常也被用于定义隔离级别,采用较弱的隔离级别以提高事务处理系统的效率.体系化地研究了数据异常以及对应的隔离级别,发现了22种未被其他文献报告过的新的数据异常,并对全部数据异常进行分类.基于数据异常的分类,提出了新的且不同粒度的隔离级别体系,揭示基于数据异常定义隔离级别的规律,使得对于数据异常和隔离级别等相关概念的认知可以更加简明.

关 键 词:事务处理  数据异常  隔离级别  并发访问控制算法  数据库
收稿时间:2021-06-30
修稿时间:2021-07-31

Systematic Definition and Classification of Data Anomalies in Data Base Management Systems
LI Hai-Xiang,LI Xiao-Yan,LIU Chang,DU Xiao-Yong,LU Wei,PAN An-Qun. Systematic Definition and Classification of Data Anomalies in Data Base Management Systems[J]. Journal of Software, 2022, 33(3): 909-930
Authors:LI Hai-Xiang  LI Xiao-Yan  LIU Chang  DU Xiao-Yong  LU Wei  PAN An-Qun
Affiliation:Tencent Technology (Beijing) Co., Ltd, Beijing 100080, China;Department of Information Sciences, School of Mathematical Sciences, Peking University, Beijing 100871, China;Key Laboratory of Data Engineering and Knowledge Engineering of the Ministry of Education (Renmin University of China), Beijing 100872, China;School of Information, Renmin University of China, Beijing 100872, China
Abstract:There is no unified definition of Data anomalies, which refers to the specific data operation mode that may destroy the consistency of the database. Known data anomalies include Dirty Write, Dirty Read, Non-repeatable Read, Phantom, Read Skew and Write Skew, etc. In order to improve the efficiency of concurrency control algorithms, data anomalies are also used to define the isolation levels, because the weak isolation level can improve the efficiency of transaction processing systems. This paper systematically studies the data anomalies and the corresponding isolation levels. We report twenty-two new data anomalies that have not been reported by other papers, and all data anomalies are classified miraculously. Based on the classification of data anomalies, two new isolation levels system with different granularity are proposed, which reveals the rule of defining isolation levels based on data anomalies and makes the cognition of data anomalies and isolation levels more concise.
Keywords:transaction processing  data anomalies  isolation levels  concurrency control algorithms  database
本文献已被 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号