Data node heartbeat detection algorithm of distributed transaction database

A distributed transaction and heartbeat detection technology, applied in the information field, can solve the problems of low data service availability, data security and reliability, and difficulty in meeting the requirements of use, so as to reduce operation and maintenance risks and ensure reliability.

Pending Publication Date: 2020-05-08
上海热璞网络科技有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the availability of current data services and the reliability

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
  • Data node heartbeat detection algorithm of distributed transaction database
  • Data node heartbeat detection algorithm of distributed transaction database
  • Data node heartbeat detection algorithm of distributed transaction database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] A data node heartbeat detection algorithm for a distributed transaction database, comprising the following steps:

[0027] Step 1. There is a heartbeat detection table heartbeat on the storage node main library and storage node standby library of the distributed transaction database computing node, and each has a data representing the main library and the standby library;

[0028] Step 2, the computing node main service of the distributed transaction da...

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 discloses a data node heartbeat detection algorithm of a distributed transaction database. The data node heartbeat detection algorithm comprises the following steps: step 1, a heartbeatdetection table heartbeat is arranged on a storage node main library and a storage node standby library of a calculation node of the distributed transaction database; 2, a computing node main serviceof a distributed transaction database computing node is set to send a UPDATE operation to a storage node main library every one second in a default mode to judge whether a normal data access service can be achieved or not; 3, when the first UPDATE operation sent to the storage node main library by the computing node main service of the computing node of the distributed transaction database does not obtain a return result within a default interval of 1 second; step 4, the current storage node main library of the computing node main service of the computing node of the distributed transaction database is degraded into a fault state; and step 5, fault recovery between the storage node main library and the storage node standby library is finished. According to the invention, the availability of data service and the reliability of data security can be ensured to be greatly improved.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a data node heartbeat detection algorithm of a distributed transaction database. Background technique [0002] With the rapid development of information technology, the amount of data in the information system database is increasing. In order to meet the storage requirements of large amounts of data, distributed storage systems running on multiple servers have been widely used. In a distributed storage system, multiple database systems run on multiple servers. When data is stored, it is necessary to shard the data first, and then assign different data shards to different servers for storage. Fragmentation is a horizontal scaling method that distributes a large data set to multiple data nodes, and all data nodes will form a logical database to store this large data set. Sharding is transparent to the user (application layer), and the user will not know which slice server t...

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): G06F11/14G06F16/23G06F16/242G06F16/27
CPCG06F11/1469G06F16/2308G06F16/2365G06F16/2433G06F16/27
Inventor 金官丁
Owner 上海热璞网络科技有限公司
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