Unlock instant, AI-driven research and patent intelligence for your innovation.

Data inquiry method, data inquiry device, equipment and storage medium

A data query and data block technology, applied in the field of data processing, can solve the problems of inability to confirm the actual content of transaction tables, inability to confirm the existence and content of other versions, incorrect query results, etc., to improve query performance, reduce data read, Guaranteed correctness

Active Publication Date: 2018-11-30
TRANSWARP INFORMATION TECH SHANGHAI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing the present invention, the inventor found that the existing technology has the following defects: since the content in the incremental file only represents the information of the current version, it cannot be confirmed whether there are other versions and the content
If the filter conditions are directly applied to the stage of reading the content of each basic file and incremental file, the actual content of each row of the transaction table will not be confirmed, and wrong query results may be generated

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
  • Data inquiry method, data inquiry device, equipment and storage medium
  • Data inquiry method, data inquiry device, equipment and storage medium
  • Data inquiry method, data inquiry device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0032] figure 1 It is a flow chart of a data query method provided by an embodiment of the present invention. The method is applicable to the case of data query using a database for data storage in an incremental storage mode, wherein the database may include at least basic files and modified files. Incremental file of operational information. The method can be performed by a data query device, the device is implemented by software and / or hardware, and generally can be integrated into a data query device. Data q...

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 data inquiry method, a data inquiry device, equipment and a storage medium, wherein the method comprises the following steps of generating a filtering condition according toa data inquiry request; obtaining a target document in the database; determining a target data block influenced by a second increment document in the target file, wherein the second increment documentcomprises an increment document of modification operation information; filtering data blocks beyond the target data blocks in the target document to obtain a filtering result; directly reading the documents except for the target documents in the database and the target data blocks to obtain a reading result; filtering the filtering result and the reading result again according to the filtering condition to generate a final inquiry result. By using the technical scheme provided by the embodiment, the document can be filtered according to the modification information in the data inquiry document reading stage; the inquiry result correctness is ensured; meanwhile, the unnecessary data reading is reduced; the inquiry performance is improved.

Description

technical field [0001] The embodiments of the present invention relate to data processing technologies, and in particular to a data query method, device, equipment, and storage medium. Background technique [0002] A common storage method for transaction tables in distributed databases is incremental storage. The original version of the data is stored in the base file. The data related to the addition, deletion and modification of each transaction operation will be stored in an incremental file as a new version. When reading a row in a transaction table, all versions of the data need to be merged to obtain the actual content of the current row in the transaction table. Therefore, when the database detects a query request from a user, it first reads all the contents of each basic file and incremental file. Then filter the results according to the filter conditions generated by the user's query request, filter the data that does not meet the filter conditions, and generate ...

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 TRANSWARP INFORMATION TECH SHANGHAI