Unlock instant, AI-driven research and patent intelligence for your innovation.

Data storage method and device and electronic equipment

A data storage and data technology, applied in database indexing, electronic digital data processing, structured data retrieval, etc., can solve the problems of high probability of cross-node query and waste of resources

Pending Publication Date: 2021-04-30
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the above-mentioned related technologies, due to lack of experience of technicians and other reasons, after storing each piece of data to be stored according to the set fragmentation field, in the subsequent query process, the probability of occurrence of cross-node query High, resulting in waste of resources in the query process

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0066] When a distributed storage technology is used to store a data table, in related technologies, the fragmentation field for splitting the data table is usually determined by DBAs, application developers and other technicians based on their own experience on data query. However, in the above-mentioned related technologies, due to lack of experience of technicians and other reasons, after storing each piece of data to be stored according to the set fragmenta...

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 provides a data storage method and device and electronic equipment, and relates to the technical field of data storage. The method comprises the following steps: determining each target field which is used as a query field to perform data query in a target data table within a preset time length, and a query frequency corresponding to each target field when the target field is used as the query field of a specified query type; based on the determined query frequency, screening fragmentation fields from each target field according to a predetermined fragmentation field screening mode, wherein the fragmentation field screening mode comprises a mode of carrying out field screening by taking a query frequency corresponding to each target field as a query field for a specified query type as a screening basis; and performing fragmentation storage on each piece of data belonging to the target data table by utilizing the fragmentation fields. Compared with the prior art, by applying the scheme provided by the embodiment of the invention, the occurrence probability of the cross-node query situation can be reduced in the data query process, and the resource waste in the query process is reduced.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a data storage method, device and electronic equipment. Background technique [0002] At present, with the continuous development of distributed storage technology, the use of distributed storage technology to store data tables is widely used in more and more technical fields. [0003] Wherein, when using the distributed storage technology to store data, the data table can be divided into multiple fragments, and different fragments are located in different storage nodes. In order to achieve fragmented storage of data tables, it is usually possible to use the preset fragmentation field, that is, the sub-database key, to store each piece of data in the data table in each storage node, thereby realizing the fragmented storage of the data table . In this way, when performing data query, the query can only be performed on a certain storage node, so as to avoid full node...

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/2455G06F16/2458
CPCG06F16/2282G06F16/2471G06F16/2455
Inventor 邱海港
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD