Data writing method and device, data reading method and device and electronic equipment

A data writing and data reading technology, applied in the field of data processing, can solve the problems of large data volume, poor distributed effect, and storage node processing efficiency that cannot meet business needs, so as to improve processing efficiency and achieve good distributed effect Effect

Active Publication Date: 2022-04-12
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in some typical scenarios such as e-commerce, after the data table is split, the obtained sub-table may have the problem of excessive data volume. For example, a large amount of data is stored in one sub-table, so the distribution effect is not good. As a result, the processing efficiency of storage nodes still cannot meet business needs

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 writing method and device, data reading method and device and electronic equipment
  • Data writing method and device, data reading method and device and electronic equipment
  • Data writing method and device, data reading method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] 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 based on the present application belong to the protection scope of the present invention.

[0078] In related technologies, in a distributed database system, data splitting is usually used to split a data table into several sub-tables according to specified rules, wherein the sub-tables may also be called physical sub-tables. In this way, by reducing the size of a single sub-table, the processing efficiency of the stand-alone engine (that is, a single storage node) is improved, and finally the processing efficiency of the distributed database system ...

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 writing method and device, a data reading method and device and electronic equipment, and is applied to the field of data processing.The writing method comprises the steps that after a writing request for a target file is received, to-be-written target data carried in the writing request is obtained; based on first data belonging to a splitting key in the target data, determining a first sub-table for storing the target data; based on second data belonging to the implicit field in the target data, determining a sub-table for storing the target data from a plurality of sub-tables corresponding to the first sub-table as a sub-table to be utilized; and writing the target data into the to-be-utilized sub-table. Through the scheme, the processing efficiency in the distributed database system can be improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data writing method, a data reading method, a device and electronic equipment. Background technique [0002] In a distributed database system, any file is split into multiple sub-tables, and the split sub-tables are distributed and stored in multiple storage nodes, and data writing and data processing are performed on each sub-table through the management node. Read and other processing. Among them, the splitting of the subtable depends on the splitting key, which is one or more fields in the multiple fields in the file; and, which subtable the business data to be written is stored in depends on the business The data content in the data that belongs to the split key. [0003] However, in some typical scenarios such as e-commerce, after the data table is split, the obtained sub-table may have the problem of excessive data volume. For example, a large amount of data is stored in ...

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/27G06F16/22
Inventor 王天宇
Owner BEIJING KINGSOFT CLOUD NETWORK TECH 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