Distributed database capacity reduction method and device, equipment and medium

A database and distributed technology, applied in the computer field, can solve problems such as the unavailability of GreenPlum database

Pending Publication Date: 2022-03-29
ZHEJIANG UNIVIEW TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above shrinking method requires the GreenPlum database to inter

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
  • Distributed database capacity reduction method and device, equipment and medium
  • Distributed database capacity reduction method and device, equipment and medium
  • Distributed database capacity reduction method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The embodiments of the present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the embodiments of the present invention.

[0035] In order to clearly illustrate the embodiment of the present invention, the following combination figure 1 Describes distributed databases such as GreenPlum Database. Such as figure 1 As shown, the distributed database includes a management node (Master) and multiple data nodes (Segment), and the management node communicates with multiple data nodes through an interconnection protocol. Among them, the management node is responsible for managing the operation...

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 capacity reduction method and device for a distributed database, equipment and a medium. The method comprises the following steps: determining a data node to be subjected to capacity reduction from a plurality of data nodes, and determining a first target migration node to which a first copy data child node on the data node to be subjected to capacity reduction is to be migrated and a second target migration node to which a second copy data child node on the first target migration node is to be migrated; respectively migrating the first copy data sub-node to a first target migration node and the second copy data sub-node to a second target migration node; determining a third target migration node to which the first main data child node on the data node to be subjected to capacity reduction is to be migrated; and migrating the first main data child node to a third target migration node, and deleting the data node to be subjected to capacity reduction from the distributed database. According to the method and the device, the capacity of the distributed database is reduced through an online capacity reduction scheme, so that the distributed database does not need to interrupt service in the capacity reduction process, and the service can be normally provided.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a method, device, device and medium for reducing the capacity of a distributed database. Background technique [0002] Distributed databases (such as GreenPlum database) are high-performance databases based on PostgreSQL and adopt Massively Parallel Processing (MPP) architecture, which has the advantages of high availability, high scalability and high cost performance. [0003] In the process of use, in order to meet the requirements of the scale of data volume and computing processing capacity, it is usually necessary to perform adaptive shrinkage processing on the GreenPlum database. At present, most of them achieve the purpose of shrinking capacity based on backup and recovery. The specific implementation process is: back up all the data stored on each data node (Segment) in the GreenPlum database to other storage devices (such as hard disks o...

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/21G06F16/23G06F16/27
CPCG06F16/214G06F16/23G06F16/27
Inventor 张鹏国吴燕波
Owner ZHEJIANG UNIVIEW 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