Database switching method and terminal equipment

A database, dual-machine switching technology, applied in the database field, can solve the problems of incompatibility between shared disks and standby databases, business requests cannot be satisfied in time, data security cannot be guaranteed, etc., to avoid incompatibility, reduce impact, The effect of shortening the duration

Pending Publication Date: 2020-05-29
HUAWEI TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, if the shared disk is incompatible with the standby database or the shared disk fails during the dual-server switchover process, both the primary database and the standby database will be unable to continue responding to user requests, which will not only make data security performance is not guaranteed, and the user's business request cannot be met in time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database switching method and terminal equipment
  • Database switching method and terminal equipment
  • Database switching method and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079]The embodiment of the present application provides a master-slave database switching method and related equipment, which are used to configure the respective disk group resources in the first database and the second database, and the business plane floating The switching of IP and the switching of the roles of the master database and the slave database no longer need to take the disk group resources and database resources offline from the master database and then go online from the slave database, which avoids the gap between the disk and the database during the dual-machine switchover process. The problem of incompatibility, and the situation that the user's request cannot be responded to due to the failure of the shared disk is avoided.

[0080] Embodiments of the present application are described below in conjunction with the accompanying drawings.

[0081] The terms "first", "second" and the like in the specification and claims of the present application and the abov...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an information processing method and terminal equipment. The method is used for respectively configuring respective disk pack resources in a first database and a second database. In the dual-computer switching process, the switching of the service plane floating IP and the switching of the roles of the master database and the slave database are involved, so that the problem of inadaptation between the disk and the databases in the dual-computer switching process is avoided, and the data security is improved. The embodiment of the invention provides a master-slave database switching method, and the method comprises the steps that a first host releases the binding of a first database and a service plane floating IP address under the condition that the first database meets a dual-computer switching condition; the first host switches the first database from the master to the slave; and the first host sends indication information to the second host,and the indication information is used for indicating that the second database is switched from slave to master and starting the service plane floating IP address on the second database.

Description

technical field [0001] The present application relates to the field of databases, in particular to a database switching method and terminal equipment. Background technique [0002] With the continuous development of computer technology, users send more and more business requests through the database client, and correspondingly, the database server receives more and more business requests. When a failure occurs on the database server side, the business request sent by the user will not be responded to. [0003] In order to avoid the occurrence of the above situation, in the prior art, a primary database and a standby database are provided at the database server side at the same time, and a set of external shared disks is provided outside the primary database and the standby database. When the primary database is in normal use, the standby database is closed, and the primary database accesses the data in the shared disk, and responds to the business requests sent by users bas...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/21G06F16/27
Inventor 翟新元莫卉禤梓桥李冠英
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products