Implementation and verification of high data availability on database

Yen-Jen Chen, Han Tsai
{"title":"Implementation and verification of high data availability on database","authors":"Yen-Jen Chen, Han Tsai","doi":"10.14738/tnc.75.7292","DOIUrl":null,"url":null,"abstract":"This study provides a low-cost and high-availability database management system architecture for general Small/Medium Enterprises (SMEs) to backup database data access. To prove that the proposed architecture can support the high availability of the database, and can effectively avoid data loss in memory caused by failovers, this study applies the main test method of powering off the virtual machine and verified three cases on two commonly used databases MySQL and PostgreSQL: Case 1 proves that this study combines the database native disaster recovery mechanism to effectively achieve high availability of the database. Case 2 proves that it effectively controls the WAL (Write Ahead Log) of the PostgreSQL database and Redo log mechanism of the MySQL database, so that data correctness is maintained during failovers. Case 3 proves that it can analyze and control the timing of the database in writing data in the cache memory to the hard disk. This study also designed a failover process to avoid data loss during failovers due to no enough time to write the data in the cache memory back to the hard disk; and finally to realize the high-availability of the database management system architecture in a practical way. \n  \nKeywords: Database, DBMS, High Availability, Failover, DRBD","PeriodicalId":448328,"journal":{"name":"Transactions on Networks and Communications","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Transactions on Networks and Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14738/tnc.75.7292","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This study provides a low-cost and high-availability database management system architecture for general Small/Medium Enterprises (SMEs) to backup database data access. To prove that the proposed architecture can support the high availability of the database, and can effectively avoid data loss in memory caused by failovers, this study applies the main test method of powering off the virtual machine and verified three cases on two commonly used databases MySQL and PostgreSQL: Case 1 proves that this study combines the database native disaster recovery mechanism to effectively achieve high availability of the database. Case 2 proves that it effectively controls the WAL (Write Ahead Log) of the PostgreSQL database and Redo log mechanism of the MySQL database, so that data correctness is maintained during failovers. Case 3 proves that it can analyze and control the timing of the database in writing data in the cache memory to the hard disk. This study also designed a failover process to avoid data loss during failovers due to no enough time to write the data in the cache memory back to the hard disk; and finally to realize the high-availability of the database management system architecture in a practical way.   Keywords: Database, DBMS, High Availability, Failover, DRBD
数据库高数据可用性的实现与验证
本研究为一般中小企业提供了一种低成本、高可用性的数据库管理系统架构,用于备份数据库数据访问。为了证明所提出的架构能够支持数据库的高可用性,并且能够有效避免故障转移导致的内存数据丢失,本研究采用关闭虚拟机的主要测试方法,在MySQL和PostgreSQL两种常用数据库上验证了三个案例:案例1证明本研究结合数据库原生容灾机制,有效实现了数据库的高可用性。案例2证明它有效地控制了PostgreSQL数据库的WAL (Write Ahead Log)和MySQL数据库的Redo Log机制,从而保证了故障切换过程中数据的正确性。案例3证明它可以分析和控制数据库将缓存中的数据写入硬盘的时间。本研究还设计了故障转移过程,以避免在故障转移过程中由于没有足够的时间将缓存中的数据写回硬盘而导致数据丢失;最后以实际的方式实现了数据库管理系统架构的高可用性。关键词:数据库,DBMS,高可用性,故障转移,DRBD
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信