Database multi-activity method and device

A database and data technology, applied in the database field, can solve problems such as unusable business services, over-active, and inability to implement databases

Pending Publication Date: 2020-03-31
NETSUNION CLEARING CORP
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for a database with a centralized architecture, once the main database fails, services related to the writing scenario will not be able to continue to provide services, and it will not be possible to achieve true "database multi-active", and the disaster recovery capability is poor; for databases with a distributed architecture, If a node fails, other nodes can still provide corresponding database services, but the data of the failed node is different from that of other nodes, and the business services related to the failed database node will not be available, and it is impossible to achieve the real "multiple databases". Live", poor disaster tolerance

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 multi-activity method and device
  • Database multi-activity method and device
  • Database multi-activity method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the application, but should not be understood as a limitation to the application.

[0022] The following describes the database multi-active method and device in the embodiments of the present application with reference to the drawings. The execution subject of the database multi-active method provided in this application is a database multi-active device. The database multi-active device may be hardware devices such as terminal devices and servers, or software installed on the hardware devices.

[0023] figure 1 This is a schematic flow chart of a method for multiple active databases pro...

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 invention provides a database multi-activity method and a device. The method comprises the steps of obtaining to-be-multi-activity database nodes in a database architecture; for each database nodeto be active, obtaining data to be written; storing the to-be-written data to a to-be-active database node; synchronizing the to-be-written data to other to-be-activated database nodes of the database architecture in real time; data synchronization among the database nodes to be active is realized; according to the method, through obtaining to-be-written data of each to-be-active database node; storing the data to be written into a database node to be active, synchronizing the to-be-written data to other to-be-activated database nodes of the database architecture in real time, data synchronization between the database nodes to be active is realized, the situation that the whole service or part of the service is unavailable due to the failure of a single database is avoided, multiple activities of simultaneously providing the service by multiple database nodes are realized, and the disaster tolerance capability is improved.

Description

Technical field [0001] This application relates to the field of database technology, and in particular to a method and device for multiple active databases. Background technique [0002] With the development of the company's business, based on the consideration of disaster tolerance and business scalability, business systems have more and more requirements for the database. For example, for a certain business, if one or a single database system fails, it will cause the entire business to access abnormally, resulting in business interruption; on the other hand, the read and write capabilities of a single database are restricted by the server hardware resources. Continuous expansion also requires more sets of databases to provide corresponding read and write services. [0003] In related technologies, for centralized-architecture databases, through the establishment of a backup database method, the main library reads and writes, and the standby database is read-only to achieve read-...

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/27G06F11/14
CPCG06F11/1448G06F16/275
Inventor 余星王鹏董俊峰强群力刘超千赵彤周欢陈瑛绮韦鹏程孟令银朱绍辉陈飞
Owner NETSUNION CLEARING CORP
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