[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-496372-105":59,"doc-detail-496372-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","simple-testing-can-expose-most-critical-transaction-bugs-understanding-and-detecting-write-specific-serializability-violations-in-database-systems","Simple Testing Can Expose Most Critical Transaction Bugs - Understanding and Detecting Write-Specific Serializability Violations in Database Systems","","Database Management Systems (DBMSs) rely on transactions to preserve consistency and integrity, yet flawed transaction processing can produce critical transaction bugs that leave incorrect database states after concurrent schedules complete. Lacking a reliable test oracle, it is hard to judge correctness for a given concurrent transaction schedule. The study proposes write-specific serializability and validates it on 35 bugs across six DBMSs, then introduces WriteCheck to detect violations by comparing final states against corresponding serial schedules.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/simple-testing-can-expose-most-critical-transaction-bugs-understanding-and-detecting-write-specific-serializability-violations-in-database-systems/496372/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/simple-testing-can-expose-most-critical-transaction-bugs-understanding-and-detecting-write-specific-serializability-violations-in-database-systems/496372.png","ImageObject",300,407,{"name":92,"@type":93},"Olivia Brown","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-15","2026-10-02",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper address in transaction processing systems?","Question",{"text":112,"@type":113},"It addresses the challenge of identifying critical transaction bugs that can produce incorrect database states after concurrent transactions finish, when no effective test oracle is available.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is write-specific serializability in this work?",{"text":117,"@type":113},"It is a general property for concurrent transaction schedules requiring the schedule to produce the same database state as the corresponding serial schedule for the same transactions.",{"name":119,"@type":110,"acceptedAnswer":120},"How does WriteCheck detect write-specific serializability violations?",{"text":121,"@type":113},"WriteCheck automatically detects violations by finding inconsistencies between the final database states produced by an original concurrent transaction schedule and its corresponding serial schedule.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},496372,1792130592,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},16904993612988,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Simple Testing Can Expose Most Critical Transaction Bugs: Understanding and Detecting Write-Specific Serializability  \nViolations in Database Systems  \nZiyu Cui∗ Wensheng Dou∗†‡ Institute of Software at CAS, China {cuiziyu20,[wsdou}@otcaix.iscas.ac.cn](wsdou}@otcaix.iscas.ac.cn)  \nYu Gao∗  \nRui Yang∗ Institute of Software at CAS, China {gaoyu15,[yangrui22}@otcaix.iscas.ac.cn](yangrui22}@otcaix.iscas.ac.cn)  \nYingying Zheng∗ Institute of Software at CAS, China [zhengyingying14@otcaix.iscas.ac.cn](zhengyingying14@otcaix.iscas.ac.cn)  \nJiansen Song∗ Institute of Software at CAS, China [songjiansen20@otcaix.iscas.ac.cn](songjiansen20@otcaix.iscas.ac.cn)  \nYuan Feng  \nWuhan Dameng Database Co., Ltd. [fengyuan@dameng.com](fengyuan@dameng.com)  \nJun Wei ∗† Institute of Software at CAS, China [wj@otcaix.iscas.ac.cn](wj@otcaix.iscas.ac.cn)  \nABSTRACT  \nDatabase Management Systems (DBMSs) utilize transactions to guarantee data consistency and integrity. Incorrect implementations of transaction processing mechanisms can introduce critical transaction bugs, which can lead to incorrect database states after the involved transactions complete. However, we lack an effective test oracle to determine whether a DBMS produces a correct database state for a given concurrent transaction schedule.  \nIn this paper, we propose a general property for concurrent transaction schedules, write-specific serializability, in which a schedule of concurrent transactions should produce the same database state asa corresponding serial schedule of the same transactions. Through our empirical study on 35 critical transaction bugs collected from six widely-used DBMSs, we find that write-specific serializability can be an effective test oracle to expose critical transaction bugs in DBMSs. We further develop a simple and general transaction testing approach, WriteCheck, to automatically detect write-specific serializability violations by identifying inconsistencies in the final database states produced by the original transaction schedule and its corresponding serial schedule. We evaluate WriteCheck on the latest versions of six production-grade DBMSs, and have found 22 write-specific serializability violations, 11 of which have been confirmed as new critical transaction bugs.  \nPVLDB Reference Format:  \nZiyu Cui, Wensheng Dou, Yu Gao, Rui Yang, Yingying Zheng, Jiansen Song, Yuan Feng, and Jun Wei. Simple Testing Can Expose Most Critical Transaction Bugs: Understanding and Detecting Write-Specific  \nSerializability Violations in Database Systems. PVLDB, 18(8): 2547-2560, 2025.  \ndoi:10.14778/3742728.3742747  \n∗ Affiliated with Key Lab of System Software at CAS, State Key Lab of Computer Science at Institute of Software at CAS, and University of CAS, Beijing. CAS is the abbreviation of Chinese Academy of Sciences.  \n†Affiliated with Nanjing Institute of Software Technology, University of CAS, Nanjing.‡Wensheng Dou is the corresponding author.  \nThis work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit [https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of](https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of)[ ](https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of)[this license. For any use beyond those covered by this license](this license. For any use beyond those covered by this license), [obtain permission by](obtain permission by)[emailing info@vldb.org. Copyright](emailing info@vldb.org. Copyright) is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.  \nProceedings of the VLDB Endowment, Vol. 18, No. 8 ISSN 2150-8097 .  \ndoi:10.14778/3742728.3742747  \nPVLDB Artifact Availability:  \nThe source code, data, and/or other artifacts have been made available at [https://github.com/tcse-iscas/WriteCheck](https://github.com/tcse-iscas/WriteCheck).  \n1 INTRODUCTION  \nDatabase Management Systems (DBMSs) have been widely used to efficiently store and retrieve data in","cbCaitNUJUjoabOZ","https://ap.wps.com/l/cbCaitNUJUjoabOZ","pdf",968335,14,"English","# Introduction\n## Transaction processing and critical transaction bugs\n## Test oracles and limitations of existing approaches\n# Proposed approach: write-specific serializability\n## WriteCheck testing method\n# Evaluation\n## Experimental results on production-grade DBMSs","[{\"question\":\"What problem does the paper address in transaction processing systems?\",\"answer\":\"It addresses the challenge of identifying critical transaction bugs that can produce incorrect database states after concurrent transactions finish, when no effective test oracle is available.\"},{\"question\":\"What is write-specific serializability in this work?\",\"answer\":\"It is a general property for concurrent transaction schedules requiring the schedule to produce the same database state as the corresponding serial schedule for the same transactions.\"},{\"question\":\"How does WriteCheck detect write-specific serializability violations?\",\"answer\":\"WriteCheck automatically detects violations by finding inconsistencies between the final database states produced by an original concurrent transaction schedule and its corresponding serial schedule.\"}]","Simple Testing Can Expose Most Critical Transaction Bugs - Understanding and Detecting Write-Specific Serializability Violations in Database Systems | PDF",1790931289,35,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9fcd6449c015c9967c9c964b3821bb23.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7da7b6e6fca3d325b6aef10766b6b998.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5e37a9b43071a01311c36acb32b88832.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/666b20e62f8172bbc36af07548593bcd.webp",980,1268]