Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for writing/dumping/merging/querying bitmap index

A bitmap index and query method technology, applied in the computer field, can solve the problems of inability to update and low update performance, and achieve the effect of reducing the locking range and improving concurrent update performance.

Active Publication Date: 2020-11-03
BEIJING OCEANBASE TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually a data block contains hundreds or thousands of rows of data, and updating a single row in a bitmap index will cause other irrelevant rows of the entire data block to be locked, making it impossible to update other rows in the data block
[0004] Therefore, the existing methods have low concurrent update performance

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 writing/dumping/merging/querying bitmap index
  • Method and device for writing/dumping/merging/querying bitmap index
  • Method and device for writing/dumping/merging/querying bitmap index

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0071] Such as figure 1 As shown, the embodiment of the present invention provides a method for writing a bitmap index, and the method may include the following steps:

[0072] Step 101: Determine the update row of the bitmap index Memtable according to the update data.

[0073] The bitmap index Memtable and the main table Memtable are storage structu...

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

A method and apparatus for writing in / dumping / merging / querying a bitmap index, wherein writing in a bitmap index comprises: according to update data, determining an update row in a bitmap index Memtable (101); adding a row lock to the update row of the bitmap index Memtable (102); and according to the update data, updating data in the update row of the bitmap index Memtable (103).

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for writing / dumping / merging / querying a bitmap index. Background technique [0002] Bitmap index is a database index based on bitmap, which is suitable for querying columns with a large number of repeated values. In practical application scenarios, as the data stored in the database is continuously updated, in order to meet the query requirements, the bitmap index also needs to be updated accordingly. [0003] Currently, when updating a bitmap index, the entire data block where the updated row is located will be locked. Usually, a data block contains hundreds or even thousands of rows of data. Updating a single row in a bitmap index will cause other irrelevant rows in the entire data block to be locked, making it impossible to update other rows in the data block. [0004] Therefore, the existing methods have low concurrent update performance. Contents of ...

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): G06F16/22G06F16/23
CPCG06F16/2237G06F16/2343
Inventor 谢振江赵裕众
Owner BEIJING OCEANBASE 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