Database switching method and database switching system

A database and master database technology, applied in the field of database management, can solve the problems of increased loss and inability to perform rollback operations, etc., and achieve the effect of smooth switching and fast rollback
CN103810174BActive Publication Date: 2017-04-12ADVANCED NEW TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ADVANCED NEW TECH CO LTD
Publication Date
2017-04-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a database switching method and a database switching system. The method comprises the steps that a compatible switch of each server is started to start a compatible logic module of the corresponding server, the compatible logic modules execute compatible processing of service compatibility of a main database and a spare database, a data source building logic module makes the main database be built into a main data source and makes the spare database be built into a spare data source on the basis of the switched-off states of data source switches; the data source switch of each server is switched on, so that each server is connected with the spare database rather than being connected with the main database, the compatible logic modules continue to execute compatible processing, and the data source building logic module makes the main database be built into the spare data source and makes the spare database be built into the main data source on the basis of the switched-on states of the data source switches; the compatible switch of each server is switched off after preset time.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of database management, in particular to a database switching method and a database switching system. Background technique

[0002] In the application of the database, the switching of the database may include database splitting, failover (failover) and other manners. Among them, database splitting is a way to increase system capacity. By splitting the data processed in one database into multiple databases according to certain rules, the pressure on a single database is reduced and the system capacity is doubled. Database splitting methods are mainly divided into vertical splitting according to business and horizontal splitting for hot tables. Failover means database failover. After the database fails and goes down, it uses its own mechanism to complete the switch from the primary database to the standby database in a short time and continue to provide protection measures for normal services. In other word...

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