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, difficulty in realizing cross-table association queries, etc., and achieve the effect of improving efficiency

Inactive Publication Date: 2017-05-10
HUAWEI TECH CO LTD
View PDF5 Cites 4 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

[0030]The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0031] The technical solutions of the embodiments of the present invention can be applied to a KeyValue type distributed database.

[0032] In this embodiment of the present invention, the data object is a data table (also simply referred to as a table) or a type of data in a data table format. For example, this type of data may be call record data or Internet access record data, and so on. For the convenience of description, the following em...

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 the steps that the same column attributes of at least two data objects to be stored into a KeyValue-type distributed database are determined; the formats of row identification of all the data objects of the at least two data objects in the KeyValue-type distributed database are determined, wherein the formats of the row identification comprise the same column attributes and data object identification, and the positions of the data object identification of different data objects in the formats of the row identification are the same and located behind the same column attributes; the values of the row identification of all data records of each data object are determined; the values of the row identification of the data records and the data records are stored in the KeyValue-type distributed database, and the values of the row identification of the data records serve as the prime indexes of the data records in the KeyValue-type distributed database. According to the method and device for storing data, the data inquiring efficiency can be improved.

Description

technical field [0001] The present invention relates to the field of information technology, and more particularly, to a method and apparatus for storing data. Background technique [0002] As a distributed column storage database, the 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 the data format is relatively simple, the relationship is simple but may be massive data, for example: used to store web page address information, used to store call record information, used to store Internet record information ,and many more. It can provide fast query based on 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 an existing database application of an enterprise, many use...

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
CPCG06F16/2272G06F16/2264G06F16/28G06F16/2228G06F16/221G06F16/289G06F16/2455G06F16/24562
Inventor 毕杰山智伟
Owner HUAWEI 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