Information persistence and query method and device

A persistent and query condition technology, applied in the field of information search, can solve problems such as waste, inability to fully reduce the query scope, and multiprocessing resources

Active Publication Date: 2014-05-21
ALIBABA GRP HLDG LTD
View PDF5 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] These solutions provided by the existing technology are generally proposed for the storage characteristics of relational databases, and do not take into account some characteristics of HBase, such as HBase is a column-based storage mode, etc., so there is no support for the

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
  • Information persistence and query method and device
  • Information persistence and query method and device
  • Information persistence and query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to provide an object-oriented database information persistence solution based on key-value database characteristics, to solve the problem that the business entity object persistence solution in the prior art is not applicable to the characteristics of key-value databases such as HBase, this application The embodiment provides an information persistence solution. In this solution, for any business entity object, the attribute values ​​of the business entity object are stored in different columns of the same row of the data table. Since key-value databases such as HBase implement information persistence based on the column storage mode, this solution stores the attribute values ​​corresponding to the same business entity object in different columns of the same row, and optionally, the The row key (Row-Key) used as the basis for business entity object query is stored in the first column for subsequent search. Therefore, compared with the information persistence sc...

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 an information persistence and query method and device applied to a key-value database. Aiming at any business entity object, the attribute values of the business entity object are respectively stored in different columns of the same row of a datasheet; a row key is generated based on the attribute values of the business entity object. As information persistence of the database, such as a Hbase, is realized in a column-based storage mode, and according to the scheme, the attribute values corresponding to the same business entity object are stored in different columns of the same row, compared with an information persistence scheme, aiming at a relational database, provided by the prior art, the scheme provided by the embodiment of the invention can be matched with the characteristic, about the storage mode, of the key-value database. The invention also discloses a query method and device aiming at objects.

Description

technical field [0001] The present application relates to the technical field of information search, in particular to an information persistence and query method and device applied to a key-value database. Background technique [0002] HBase (Hadoop Database) is a key-value database, which is a distributed, column-oriented open source database. This technology comes from the Google paper "Bigtable: A Distributed Storage System for Structured Data" written by Chang et al. [0003] HBase is different from general relational databases, it is a database suitable for unstructured data storage. Another difference from relational databases is that HBase uses a column-based storage model. At present, for relational databases, there are many relational object mapping (ORM) frameworks for object-oriented encapsulation of JDBC, and JDO (Java Data Object) and JPA (Java Persistence API) for business entities represented by Java classes. Object persistence specification. Among them, JD...

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
IPC IPC(8): G06F17/30
CPCG06F16/316
Inventor 肖荣
Owner ALIBABA GRP HLDG 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