Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Database splitting method and device

A technology of sub-database, sub-table, and database, which is applied in the field of big data, can solve the problems of consuming manpower and material resources, complex processing process, and low processing efficiency, and achieve the effect of improving efficiency and simplifying the processing process

Pending Publication Date: 2021-10-08
BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing database sub-table and sub-library schemes have two schemes: vertical segmentation and horizontal segmentation. When new data needs to be stored in the table, both the original data and the new data need to be redistributed, and the corresponding data will be allocated to the corresponding database. table, the processing process is complicated, the processing efficiency is very low, and a lot of manpower and material resources are consumed

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
  • Database splitting method and device
  • Database splitting method and device
  • Database splitting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0027] In order to improve the efficiency of database sub-database sub-table and simplify the processing flow, in the embodiment of the present invention, through the mapping relationship between the business primary key and the auto-increment primary key and the mapping relationship between the auto-increment primary key and the sub-database sub-table rules, the newly added data information is Assigned to the corresponding database table in an auto-increment mode. figure 1 It is a flow chart of the method for database sub-database sub-table in the embodiment of the p...

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 database splitting method and device, which can be used in the technical field of big data, and the method comprises the following steps: receiving first data information; determining a self-increasing primary key corresponding to the service primary key of the first data information according to the service primary key of the first data information and a mapping relationship between the service primary key and the self-increasing primary key; according to a self-increasing primary key corresponding to a service primary key of the first data information and a mapping relationship between the self-increasing primary key and a sub-library and sub-table rule, determining a database position corresponding to the self-increasing primary key corresponding to the service primary key of the first data information; and storing the first data information into a database position corresponding to the self-increasing primary key corresponding to the service primary key of the first data information. When newly added data information needs to be stored into the table, the original data information does not need to be redistributed, the newly added data information is distributed to the corresponding database table in a self-increasing mode, the database table dividing efficiency can be improved, and the processing flow can be simplified.

Description

technical field [0001] The invention relates to the technical field of big data, in particular to a method and a device for database and table subdivision. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] In real life, the amount of data in the database is not necessarily controllable. When the database is not divided into databases and tables, as time grows and the system business volume continues to grow, the tables in the database will become more and more The more, the larger the amount of data in the table, and correspondingly, the overhead of data manipulation, addition, deletion, modification and query will also increase; moreover, the resources of the server are limited, and ultimately the amount of data carried by the database, Data processing capabilities will encou...

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): G06F16/22G06F16/23G06F16/245G06F16/27G06F16/28
CPCG06F16/2282G06F16/23G06F16/245G06F16/27G06F16/284
Inventor 代朝
Owner BANK OF CHINA
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
Eureka Blog
Learn More
PatSnap group products