Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Construction and management method for secondary indexes of key value library

A technology of auxiliary indexing and management method, applied in the field of computer data management, can solve the problems of data inconsistency, data transmission consumption, etc., and achieve the effect of consistent performance guarantee

Active Publication Date: 2012-10-24
TSINGHUA UNIV
View PDF3 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This indexing method is simple, but has two major disadvantages. First, the indexed data may not be local but on other machines, which will cause data transmission consumption. Second, data updates and index updates are not atomic, which will cause data inconsistencies

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The construction and management method of the key-value database auxiliary index proposed by the present invention comprises the following steps:

[0034] (1) Assuming that there is no data to be indexed in the key-value database, the user initializes the key-value database system, establishes column families and columns for data indexing, and inserts data to be indexed into the column family and columns of data indexing; Subsequent auxiliary indexes can be indexed and queried;

[0035] (2) Create an auxiliary index column family in the key-value store and initialize it. The process is as follows:

[0036] (2-1) Create a storage index information table in the key-value store;

[0037] (2-2) Add two column families to the above index information table, the two column families are index information and index items respectively, and set the comparison type of the column name of the column family to the composite column name type;

[0038] Composite column names are colum...

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 relates to a construction and management method for secondary indexes of a key value library and belongs to the technical field of computer data management. The construction and management method for secondary indexes of the key value library mainly aims at performing index on columns in the key value library so as to accelerate range query of the columns. The method includes initializing an index information column family and an index entry column family needed by the secondary indexes of the key value library and setting a comparison type of column names of the column families as a composite column name type; building a batch processing operation list of the secondary indexes to data to be indexed and submitting the completion of an index creation to the key value library; and according to the query requests of a user and with an index name serving as a column key, building a minimum and a maximum of a composite column name with query ranges and obtaining and sending back query results from the index information column family. The method is based on column families of the key value library, indexes are performed by building of the composite column name, most operations of the indexes are column operations, the speed is rapid, and efficient range inquires are facilitated for users.

Description

technical field [0001] The invention relates to a method for constructing and managing an auxiliary index of a key-value database, and belongs to the technical field of computer data management. Background technique [0002] The rapid development of the Internet has brought about an explosive growth of data, which not only increases exponentially in quantity, but also has complex and diverse data types and structures, which cannot be represented by relational two-dimensional tables, making traditional relational databases unable to process and analyze such data. large-scale data. Therefore, the industry and academia began to consider new data models to process massive unstructured data. In 2006, Google published a paper on BigTable, revealing Google's core technology for processing massive data. The data model of the wide table is flexible and changeable, and there is no need to pre-define the columns of the table, and the wide table can dynamically add columns at runtime. ...

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
Inventor 王建民丁贵广卓安
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products