Database cluster management method, apparatus, device, and computer program product

CN120407544BActive Publication Date: 2026-08-28CHINA MOBILE INFORMATION TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510668943.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2026-08-28
Estimated Expiration
2045-05-22

AI Technical Summary

Technical Problem

[0006]本申请的主要目的在于提供一种数据库集群管理方法、装置、设备及计算机程序产品,旨在解决单点模式部署的数据库出现故障切换数据库时无法使用的技术问题

Benefits of technology

[0047]本申请实施例提出的一种数据库集群管理方法、装置、设备以及计算机程序产品,通过监测第一主服务器节点的运行状态;当所述第一主服务器节点的运行状态出现运行故障时,获取从服务器节点集群的节点状态;基于所述从服务器节点集群的节点状态,通过推举算法从所述从服务器节点集群中确定第二主服务器节点。通过将从服务器节点之间通过推举算法确定新的主服务器节点,实现主从服务器节点之间的自动切换,解决了单点模式部署的数据库故障时无法使用的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120407544B_ABST
    Figure CN120407544B_ABST
Patent Text Reader

Abstract

The application discloses a database cluster management method and device, equipment and computer program product, relates to the basic setting and IT support technical field, and includes the following steps: monitoring the running state of a first master server node; when the running state of the first master server node appears a running fault, acquiring the node state of a slave server node cluster; and based on the node state of the slave server node cluster, determining a second master server node from the slave server node cluster through a promotion algorithm. By determining a new master server node from the slave server nodes through the promotion algorithm, automatic switching between the master and slave server nodes is realized, and the technical problem that a database in a single-point mode cannot be used when a fault occurs is solved.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Database-based node switching method and device, electronic equipment and storage medium

    CN115296982A

  • Fault repair method and device, nonvolatile storage medium and computer equipment

    CN117909117A