Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for creating fragmented database cluster

A database and sharding technology, applied in the field of database deployment, can solve problems such as poor flexibility and inability to satisfy flexibility and change

Pending Publication Date: 2022-04-15
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a method and device for creating a fragmented database cluster to solve the problems of poor flexibility and inability to meet flexible and changeable application requirements in the prior art

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
  • Method and device for creating fragmented database cluster
  • Method and device for creating fragmented database cluster
  • Method and device for creating fragmented database cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] 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.

[0056] In this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "com...

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 method and device for creating a fragmented database cluster, and the method comprises the steps: obtaining the number of fragments, the number of copies and the memory specification which are currently used for creating the fragmented database cluster redis cluster, and numbering the fragments and redis instances in the fragments in sequence; determining the number M of physical devices required for creating the redis cluster according to the number of the fragments and the number of the copies; according to the memory specification and the number M of the physical devices, acquiring M physical devices meeting the memory specification from the resource pool, and numbering the M physical devices; and for each fragment, according to the numbering sequence of the redis instances and the numbering sequence of the physical devices, each redis instance is cyclically located on one physical device until the redis instances in all the fragments are located, and the created redis cluster is obtained. Through the method, the flexibility can be improved, and flexible and changeable application requirements are met.

Description

technical field [0001] The present invention relates to the technical field of database deployment, in particular to a method and device for creating a fragmented database cluster. Background technique [0002] With the development of enterprise information systems, fragmented database clusters are used more and more frequently. [0003] In the prior art, since redis is a single-threaded working mode, it only consumes a single-core CPU during work. Therefore, the business deployment requirements are realized through the mixed deployment mode of physical machines. However, in actual deployment, the mixed deployment mode of physical machines is relatively fixed. For each different combination, the required number of physical equipment and placement methods need to be set in advance, which lacks flexibility and cannot meet flexible and changeable application requirements. Contents of the invention [0004] In view of this, the embodiments of the present invention provide a m...

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): G06F8/60G06F16/27
Inventor 齐兴一王梓涵
Owner CHINA CONSTRUCTION BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products