Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for storing data

A technology for storing data and databases, applied in the information field, can solve problems such as low efficiency, increased management complexity, and difficulty in implementing cross-table association queries, and achieve the effect of improving efficiency

Active Publication Date: 2017-02-08
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The distributed database of KeyValue type based on sparse matrix is ​​suitable for storing large data tables. If these tables are imported into the distributed database of KeyValue type as they are, there will be too many small tables. would increase the complexity of management
That is to say, when data in traditional applications is migrated to a distributed database of the KeyValue type, in order to complete the association query between user tables and user tables, different tables need to be queried, and continuous data positioning leads to inefficiency.

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
  • Method and device for storing data
  • Method and device for storing data
  • Method and device for storing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0032] The technical solution of the embodiment of the present invention can be applied to a KeyValue type distributed database.

[0033] In the embodiment of the present invention, the data object is a data table (also called a table for short) or a type of data in a data table format. For example, this type of data may be call record data or online record data, and so on. For convenience of description, the following embodiments will be described by taking a d...

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 method and device for storing data. The method includes: determining the same column attribute of at least two data objects to be stored in the KeyValue type distributed database; determining the row identity of each data object in the KeyValue type distributed database of the at least two data objects Format, the format of the row identifier includes the same column attribute and data object identifier, and the data object identifiers of different data objects have the same position in the row identifier format and are located after the same column attribute; according to each data object The format of the row identifier determines the value of the row identifier of each data record of each data object; stores the value of the row identifier of each data record and each data record in the KeyValue type distributed database, and the value of each data record The value of the row identifier is used as the main index of each data record in the KeyValue type distributed database. The method and device for storing data in the embodiments of the present invention can improve the efficiency of querying data.

Description

technical field [0001] The present invention relates to the field of information technology, and more particularly, to methods and devices for storing data. Background technique [0002] As a distributed column storage database, the key-value (KeyValue) type distributed database has high scalability and robustness, and has been widely used in more and more systems. The user table of the KeyValue type distributed database is usually designed to store relatively simple data format and simple relationship but may be massive data, for example: used to store web page address information, used to store call record information, and used to store Internet record information ,wait. It can provide fast query according to the row key (RowKey) of the data record, regardless of the size of the data volume. It can dynamically expand physical nodes when the current storage space usage reaches a certain threshold. [0003] In the existing database application of an enterprise, many user ...

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): G06F17/30
CPCG06F16/2272G06F16/2264G06F16/28G06F16/2228G06F16/221G06F16/289G06F16/2455G06F16/24562
Inventor 毕杰山智伟
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More