A method and device for extending a distributed database

An expansion method and expansion device technology, which is applied in database distribution/replication, database design/maintenance, structured data retrieval, etc., can solve problems such as difficulty in increasing compatibility, difficulty in maintenance and adjustment, and long pause time, etc., to achieve Reduce data migration process, speed up data migration, increase the effect of data migration process

Active Publication Date: 2021-09-21
CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF7 Cites 0 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
  • A method and device for extending a distributed database
  • A method and device for extending a distributed database
  • A method and device for extending a 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 present invention discloses a method and device for extending a distributed database. The method includes: when determining that there are data hosts in the data access service, setting a new data distribution strategy for all data hosts according to the expansion target; determining the After the data corresponding to the new data distribution strategy starts migrating, set the status of the new distribution strategy as migrating; The policy replaces the old data distribution policy.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/21G06F16/27
CPCG06F16/214G06F16/217G06F16/27
Inventor 廖锋郑敏徐睿
Owner CHINA MOBILE GRP GUANGDONG 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