TWI677797B - 主備資料庫的管理方法、系統及其設備 - Google Patents

主備資料庫的管理方法、系統及其設備 Download PDF

Info

Publication number
TWI677797B
TWI677797B TW106130943A TW106130943A TWI677797B TW I677797 B TWI677797 B TW I677797B TW 106130943 A TW106130943 A TW 106130943A TW 106130943 A TW106130943 A TW 106130943A TW I677797 B TWI677797 B TW I677797B
Authority
TW
Taiwan
Prior art keywords
database
lock
backup
master
master database
Prior art date
Application number
TW106130943A
Other languages
English (en)
Chinese (zh)
Other versions
TW201824030A (zh
Inventor
陽振坤
黃貴
Original Assignee
香港商阿里巴巴集團服務有限公司
Alibaba Group Services Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司, Alibaba Group Services Limited filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201824030A publication Critical patent/TW201824030A/zh
Application granted granted Critical
Publication of TWI677797B publication Critical patent/TWI677797B/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2041Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with more than one idle spare processing component
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operations
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/142Reconfiguring to eliminate the error
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operations
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/2025Failover techniques using centralised failover control functionality
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/2028Failover techniques eliminating a faulty processor or activating a spare
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/2033Failover techniques switching over of hardware resources
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2043Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant where the redundant components share a common memory address space
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps
    • G06F16/2343Locking methods, e.g. distributed locking or locking implementation details
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/80Database-specific techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/825Indexing scheme relating to error detection, to error correction, and to monitoring the problem or solution involving locking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)
TW106130943A 2016-12-20 2017-09-11 主備資料庫的管理方法、系統及其設備 TWI677797B (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611183638.9A CN107066480B (zh) 2016-12-20 2016-12-20 主备数据库的管理方法、系统及其设备
??201611183638.9 2016-12-20

Publications (2)

Publication Number Publication Date
TW201824030A TW201824030A (zh) 2018-07-01
TWI677797B true TWI677797B (zh) 2019-11-21

Family

ID=59619184

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106130943A TWI677797B (zh) 2016-12-20 2017-09-11 主備資料庫的管理方法、系統及其設備

Country Status (10)

Country Link
US (1) US10592361B2 (https=)
EP (1) EP3561694B1 (https=)
JP (1) JP6905161B2 (https=)
KR (1) KR102142233B1 (https=)
CN (1) CN107066480B (https=)
MY (1) MY199572A (https=)
PH (1) PH12019501392A1 (https=)
SG (2) SG10201913120SA (https=)
TW (1) TWI677797B (https=)
WO (1) WO2018113543A1 (https=)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20250363129A1 (en) * 2022-07-08 2025-11-27 Beijing Oceanbase Technology Co., Ltd. Database system, and primary database election methods and apparatuses

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066480B (zh) * 2016-12-20 2020-08-11 创新先进技术有限公司 主备数据库的管理方法、系统及其设备
US10999392B2 (en) 2019-03-01 2021-05-04 Accenture Global Solutions Limited Message recovery system for computing nodes with replicated databases
CN110442650A (zh) * 2019-08-09 2019-11-12 中国工商银行股份有限公司 数据库切换方法、装置、系统、电子设备及存储介质
CN110765143B (zh) * 2019-10-10 2022-08-02 腾讯科技(深圳)有限公司 数据处理方法、装置、服务器和存储介质
CN111159156B (zh) * 2019-12-31 2023-04-28 杭州迪普科技股份有限公司 SQLite数据库的备份方法和装置
US11379477B2 (en) 2020-03-31 2022-07-05 Sap Se Efficient workload balancing in replicated databases based on result lag computation
CN114490231A (zh) * 2020-11-11 2022-05-13 网联清算有限公司 一种数据库仲裁服务调度方法及系统
CN116048886A (zh) * 2022-12-30 2023-05-02 蚂蚁区块链科技(上海)有限公司 一种进行区块链节点主备切换的方法和装置
US20240406060A1 (en) * 2023-05-31 2024-12-05 Rakuten Symphony, Inc. Communication network failure detection and restoration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003317A1 (en) * 2002-06-27 2004-01-01 Atul Kwatra Method and apparatus for implementing fault detection and correction in a computer system that requires high reliability and system manageability
US20060010351A1 (en) * 2004-07-12 2006-01-12 Infortrend Technology Inc. Controller capable of self-monitoring, redundant storage system having the same, and method thereof
US20120233496A1 (en) * 2011-03-11 2012-09-13 Microsoft Corporation Fault tolerance in a parallel database system
CN104778102A (zh) * 2015-03-27 2015-07-15 深圳市创梦天地科技有限公司 一种主备切换方法及系统
TWI529624B (zh) * 2015-03-19 2016-04-11 Univ Nat Central Method and system of fault tolerance for multiple servers

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3572928B2 (ja) * 1998-03-18 2004-10-06 富士通株式会社 バックアップ機能付オンラインデータベース情報処理システム
US6957251B2 (en) * 2001-05-07 2005-10-18 Genworth Financial, Inc. System and method for providing network services using redundant resources
WO2003005245A2 (en) * 2001-07-06 2003-01-16 Computer Associates Think, Inc. Systems and methods of information backup
US7254736B2 (en) * 2002-12-18 2007-08-07 Veritas Operating Corporation Systems and method providing input/output fencing in shared storage environments
US7284151B2 (en) * 2003-07-21 2007-10-16 Oracle International Corporation Conditional data access after database system failure
US7496701B2 (en) * 2004-11-18 2009-02-24 International Business Machines Corporation Managing virtual server control of computer support systems with heartbeat message
CN100362482C (zh) * 2005-07-21 2008-01-16 上海华为技术有限公司 一种双机备份实现方法及系统
CN100449548C (zh) * 2007-04-11 2009-01-07 华为技术有限公司 数据库同步方法及系统
JP5199464B2 (ja) * 2009-01-20 2013-05-15 株式会社日立製作所 ストレージシステム及びストレージシステムの制御方法
JP5625243B2 (ja) * 2009-02-26 2014-11-19 日本電気株式会社 情報処理システム、ディザスタリカバリ方法及びディザスタリカバリプログラム
JP2011076512A (ja) * 2009-10-01 2011-04-14 Hitachi Solutions Ltd ジョブ管理サーバーの統合管理システム
US9575985B2 (en) * 2009-12-07 2017-02-21 Novell, Inc. Distributed lock administration
US9348883B2 (en) * 2011-06-01 2016-05-24 Clustrix, Inc. Systems and methods for replication replay in a relational database
CN102831038B (zh) * 2011-06-17 2019-03-01 中兴通讯股份有限公司 Enum-dns的容灾方法及enum-dns
US8719225B1 (en) * 2012-01-17 2014-05-06 Amazon Technologies, Inc. System and method for log conflict detection and resolution in a data store
US9116862B1 (en) * 2012-01-17 2015-08-25 Amazon Technologies, Inc. System and method for data replication using a single master failover protocol
JP2013161252A (ja) * 2012-02-03 2013-08-19 Fujitsu Ltd 冗長コンピュータ制御プログラム、方法、及び装置
CN102739451B (zh) * 2012-06-29 2014-12-03 华为技术有限公司 一种主备切换条件更新方法、装置、服务器及系统
CN102891849B (zh) * 2012-09-25 2015-07-22 北京星网锐捷网络技术有限公司 业务数据同步方法、恢复方法及装置和网络设备
US9009444B1 (en) * 2012-09-29 2015-04-14 Emc Corporation System and method for LUN control management
CN102945195B (zh) * 2012-11-26 2015-11-18 国电南瑞科技股份有限公司 一种基于SQLite数据库的主备冗余复制方法
US9667490B1 (en) * 2013-06-05 2017-05-30 Parallels IP Holdings GmbH Method for high availability of services in cloud computing systems
US9274902B1 (en) * 2013-08-07 2016-03-01 Amazon Technologies, Inc. Distributed computing fault management
CN103593266B (zh) * 2013-11-12 2016-06-22 浪潮(北京)电子信息产业有限公司 一种基于仲裁盘机制的双机热备方法
US20150339200A1 (en) * 2014-05-20 2015-11-26 Cohesity, Inc. Intelligent disaster recovery
CN106202075B (zh) * 2015-04-29 2021-02-19 中兴通讯股份有限公司 一种数据库主备切换的方法及装置
JP2017102834A (ja) * 2015-12-04 2017-06-08 日本電気株式会社 バックアップシステム
CN105933379B (zh) * 2016-04-01 2018-10-09 浪潮电子信息产业股份有限公司 一种业务处理方法、设备及系统
CN107066480B (zh) * 2016-12-20 2020-08-11 创新先进技术有限公司 主备数据库的管理方法、系统及其设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003317A1 (en) * 2002-06-27 2004-01-01 Atul Kwatra Method and apparatus for implementing fault detection and correction in a computer system that requires high reliability and system manageability
US20060010351A1 (en) * 2004-07-12 2006-01-12 Infortrend Technology Inc. Controller capable of self-monitoring, redundant storage system having the same, and method thereof
US20120233496A1 (en) * 2011-03-11 2012-09-13 Microsoft Corporation Fault tolerance in a parallel database system
TWI529624B (zh) * 2015-03-19 2016-04-11 Univ Nat Central Method and system of fault tolerance for multiple servers
CN104778102A (zh) * 2015-03-27 2015-07-15 深圳市创梦天地科技有限公司 一种主备切换方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20250363129A1 (en) * 2022-07-08 2025-11-27 Beijing Oceanbase Technology Co., Ltd. Database system, and primary database election methods and apparatuses

Also Published As

Publication number Publication date
PH12019501392A1 (en) 2020-02-10
JP6905161B2 (ja) 2021-07-21
EP3561694B1 (en) 2022-06-22
EP3561694A4 (en) 2019-12-18
US10592361B2 (en) 2020-03-17
SG10202012899PA (en) 2021-01-28
CN107066480B (zh) 2020-08-11
JP2020502686A (ja) 2020-01-23
WO2018113543A1 (zh) 2018-06-28
CN107066480A (zh) 2017-08-18
KR20190095443A (ko) 2019-08-14
MY199572A (en) 2023-11-07
KR102142233B1 (ko) 2020-08-07
US20190251008A1 (en) 2019-08-15
SG10201913120SA (en) 2020-03-30
TW201824030A (zh) 2018-07-01
EP3561694A1 (en) 2019-10-30

Similar Documents

Publication Publication Date Title
TWI677797B (zh) 主備資料庫的管理方法、系統及其設備
US11853263B2 (en) Geographically-distributed file system using coordinated namespace replication over a wide area network
CN102142008B (zh) 分布式内存数据库的实现方法、系统、令牌控制器及内存数据库
CN107291787B (zh) 主备数据库切换方法和装置
US8169856B2 (en) Time synchronization in cluster systems
US9460183B2 (en) Split brain resistant failover in high availability clusters
JP6382454B2 (ja) 分散ストレージ及びレプリケーションシステム、並びに方法
US20100205273A1 (en) Method, system and computer readable recording medium for determining major group under split-brain syndrome
CN101136728A (zh) 群集系统和用于备份群集系统中的副本的方法
US7669080B2 (en) Reducing likelihood of data loss during failovers in high-availability systems
WO2023082800A1 (zh) 主节点选择方法、分布式数据库及存储介质
CN111427728A (zh) 状态管理方法、主备切换方法及电子设备
CN104767794A (zh) 一种分布式系统中的节点选举方法及节点
CN116346582A (zh) 一种实现主备双网冗余方法、装置、设备及存储介质
CN105323271B (zh) 一种云计算系统以及云计算系统的处理方法和装置
EP3570169A1 (en) Method and system for processing device failure
CN105893176A (zh) 一种网络存储系统的管理方法和装置
CN102841895B (zh) 一种处理数据库状态转移的方法和系统
CN109189854B (zh) 提供持续业务的方法及节点设备
CN112256484A (zh) 一种数据备份的方法、装置和系统
CN113961402B (zh) 一种虚拟化集群的管理方法、装置、设备及介质
CN114301763B (zh) 分布式集群故障的处理方法及系统、电子设备及存储介质
CN113727052B (zh) 一种会议恢复方法、装置、电子设备及存储介质
CN116455920A (zh) 一种数据存储方法、系统、计算机设备及存储介质
CN114201473A (zh) 日志管理方法及服务器集群