Method for realizing high-availability cluster of OpenGauss database
A database and cluster technology, applied in the direction of database design/maintenance, special data processing applications, redundant data error detection in computing, etc., can solve the problems of inability to determine and automatically select a new main database, the possibility of large misuse, Problems such as long-term suspension of database services to achieve the effect of avoiding long-term suspension of services and avoiding manual misoperation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Embodiment 1: a kind of method that realizes OpenGauss database high-availability cluster, this method is by creating a monitoring program independent of OpenGauss database, by this monitoring program OpenGauss database is carried out status detection and status recording, and according to the database that detects and obtains The state is processed accordingly, and the method is implemented according to the following processes: a main library and at least one standby library are built using the stream replication of the OpenGauss database to realize data redundancy; the characteristics of ETCD are used to realize a distributed lock (leader key), the The leader key is created by the monitoring program and the lease period is set. The monitoring program holding the leader key is responsible for renewing the lease regularly. When the lease period is reached, the leader key is automatically released; when there is no leader key holder in the cluster, the monitoring program a...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com