Database high availability method and system based on remote direct memory access

A memory access, remote direct technology, applied in the field of database access, can solve the problems of high data movement and data replication overhead, occupying memory bandwidth and CPU overhead, reducing the efficiency of stream replication process, etc., to achieve reliable design principles and speed up replication , the effect of highlighting the substantive characteristics

Pending Publication Date: 2021-12-10
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For the data to be replicated multiple times in different spaces, sending messages through the system kernel has high data movement and data replication overhead, which will lead to very low performance and flexibility, reduce the efficiency of the streaming replication process, and occupy a large amount of memory Bandwidth and CPU overhead lead to slow database response and even affect the business system. The present invention provides a high-availability method and system for databases based on remote direct memory access to solve the above technical problems

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 high availability method and system based on remote direct memory access
  • Database high availability method and system based on remote direct memory access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0062] PostgreSQL: A free software object-relational database management system with very complete features.

[0063] RDMA: The full name of Remote Direct Memory Access technology is Remote Direct Data Access, which was created to solve the delay of server-side data processing in network transmission.

[0064] RoCE: RDMA over Converged...

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 high availability method and system based on remote direct memory access. The method comprises the following steps of arranging RDMA interfaces based on an RDMA protocol on a sending module and a receiving module of a database; inserting the generated pre-written log data into a main library cache, and managing the main library cache by adopting a cache elimination algorithm; calling an RDMA (Remote Direct Memory Access) interface of a main library sending module, and sending the pre-written log data newly inserted in the cache of the main library to a standby library; the standby database receiving the pre-written log data and storing the pre-written log data in the cache of the database, data persistence being carried out on the pre-written log data, meanwhile, an RDMA interface of a sending module of the database being called, and the pre-written log data in the cache of the database being sent to the connected standby database through an RoCE network card to be subjected to cascade copying; when the main library breaks down, selecting one standby library and setting as a new main library, and switching the business system of the main library which breaks down to the new main library. The high availability reliability of the database is improved.

Description

technical field [0001] The invention relates to the technical field of database access, in particular to a high-availability method and system for a database based on remote direct memory access. Background technique [0002] In order to ensure the continuous, stable operation and robustness of the business system or metadata database software, it is often necessary to design the metadata database system as a high-availability solution in the stream replication-based high-availability framework. [0003] For example, PostgreSQL is a powerful open source object-relational database system that uses and extends the SQL language and incorporates many features for securely storing and scaling the most complex data workloads. It is currently the most powerful, feature-rich and structured open source database, some of which are not even available in commercial databases. Based on this, PostgreSQL can be used to securely store data and retrieve data when processing requests. It is ...

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
IPC IPC(8): G06F16/2455
CPCG06F16/24552G06F16/27G06F16/25G06F16/1815G06F11/1448G06F11/1464G06F9/546H04L67/06G06F2209/548H04L67/568
Inventor 褚立强
Owner SUZHOU LANGCHAO INTELLIGENT 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