Data storage method and device

A data storage and data technology, applied in the database field, can solve problems such as reducing database performance, data access bottlenecks, slowing down data queries, etc., and achieve the effect of narrowing the scope of queries and improving query efficiency

Inactive Publication Date: 2015-07-08
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the data volume of a logical data table continues to grow (for example, the data volume of a certain type of business continues to grow), the existing method of sub-database and table division still has the problem of slowing down data query, resulting in data access bottleneck, thereby reducing the performance of the database

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
  • Data storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] figure 1 It is a flow chart of an embodiment of the data storage method provided by the present invention. The data storage method provided by this embodiment can specifically be used to store data in a large database, but it is not limited thereto. like figure 1 As shown, the method may specifically include:

[0018] Step 10, performing a modulo operation on a preset value with the identification information of the data to be stored, where the identification information is a value, and the preset value is the number of storage nodes;

[0019] In the embodiment of the present invention, the data to be stored may be a single data, or a group of data with a specific relationship, for example, information belonging to a certain user composed of user name, real name, contact information, etc. data, the present invention can consider the user information data with multiple content fields as a data to be stored, and the present invention does not limit the type and structur...

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 data storage method and device. The method comprises the steps: performing modulus operation of a preset numeric value on identification information of to-be-stored data, wherein the identification information is a numeric value, and the preset numeric value is the number of storage nodes; and storing the to-be-stored data into storage nodes corresponding to the result of the modulus operation. The data storage method and device overcomes the defect of slowing down data query caused by the continuous increasing of data volume in the prior art; the data is stored in a plurality of the storage nodes by means of the modulus operation; therefore, the to-be-queried data is positioned on one storage node by means of the modulus operation during data query, and the query scope is reduced, the data is further inquired in the storage node and the query efficiency is improved.

Description

technical field [0001] The invention relates to the field of databases, in particular to a data storage method and device. Background technique [0002] With the rapid development of the Internet, the amount of business data in enterprises is also increasing, and data storage and access methods have gradually become the focus of the industry. Traditional database systems manage data based on a single database. As the amount of data increases, the amount of data in the database will increase. When the amount of data reaches a certain level, the query on the data will gradually slow down, which will inevitably create a bottleneck in data access. [0003] At present, there are some methods for sub-database and table division of the database. According to the logic, some data tables with relatively large data volume in the database can be divided out and placed in other data storage devices. For example, according to the data volume of the business type, Segment the data table...

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): G06F17/30
Inventor 李平
Owner PEKING UNIV FOUNDER GRP 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