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

Extension method and device for distributed database

An expansion method and expansion device technology, applied in the field of distributed database expansion methods and devices, can solve the problems of increasing compatibility, difficult maintenance and adjustment, and suspension, so as to increase the data migration process, reduce the data migration process, Accelerate the effect of data migration

Active Publication Date: 2018-04-03
CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF13 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The method of suspending business acceptance has the following problems: 1) The expansion may only be part of the table and some database hosts, but it is necessary to suspend all businesses involving table operations, and it is likely to suspend all businesses; 2) The time of business interruption It is related to the amount of data that needs to be migrated. When the number of records in the table is large, the pause time is longer
[0010] Using the method of modifying the distribution strategy to be compatible with the old distribution strategy mainly has the following problems: 1) For irregular primary keys, such as mobile phone numbers, it is difficult to establish a compatible distribution strategy; 2) After multiple expansions, the distribution strategy will become It is very complicated, difficult to maintain and adjust, and further increases the difficulty of compatibility; 3) It is difficult for the new strategy to ensure an even distribution of subsequent business processing loads

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
  • Extension method and device for distributed database
  • Extension method and device for distributed database
  • Extension method and device for distributed database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] In order to understand the characteristics and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present invention.

[0079] figure 1 It is a flow chart of the method for extending the distributed database of the embodiment of the present invention, such as figure 1 As shown, the method for extending the distributed database in the embodiment of the present invention includes the following processing steps:

[0080] Step 101, when it is determined that there are data hosts in the data access service, set a new data distribution policy for all data hosts according to the expansion target.

[0081] In the embodiment of the present invention, when a new data host accesses, the current data...

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 embodiment of the invention discloses an extension method and device for a distributed database. The method comprises the steps that when it is determined that a data host has access to a data access service, a new data distribution strategy is set for all data hosts according to an extension target; after it is determined that data corresponding to the new data distribution strategy starts migration, the state of the new distribution strategy is set to be in migration; and after migration of the data corresponding to the new data distribution strategy is completed in a table routing mode,the new data distribution strategy is used to replace an old data distribution strategy.

Description

technical field [0001] The invention relates to database establishment technology, in particular to a distributed database expansion method and device. Background technique [0002] The relational database is responsible for the instantiation of all objects in the system, realizes efficient access to data, and implements a unified Structured Query Language (SQL, Structured Query Language) access interface for data. In a distributed architecture, the processing capability of the distributed database directly determines the overall processing capability of the system to a large extent. [0003] The current distributed technology mainly constructs SQL data access to applications through distributed data access services (DDS, Data Distribution Service) and multiple relational database instances. The application program uses JDBC or related access interfaces to connect to DDS, and DDS internally performs SQL analysis, performs routing judgment according to distribution rules, an...

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): G06F17/30
CPCG06F16/214G06F16/217G06F16/27
Inventor 廖锋郑敏徐睿
Owner CHINA MOBILE GRP GUANGDONG CO LTD
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