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

Retrieval device and retrieval method for log database

A database and log technology, applied in the database field, can solve the problems of reducing retrieval efficiency, increasing database operation load, reducing retrieval efficiency, etc., and achieves the effect of improving retrieval efficiency, avoiding IO operations, and improving efficiency.

Inactive Publication Date: 2016-01-27
CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the index established for the log database is stored in the memory of the system. When the user calls the index, he will find the unique identifier of the log in the database from the memory, and then retrieve it in the database. This method will greatly increase the The computing load of the database reduces the efficiency of retrieval; and when the index is updated, a large number of IO operations will be performed on the index in memory to update the index established in memory, which will also reduce the retrieval efficiency

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
  • Retrieval device and retrieval method for log database
  • Retrieval device and retrieval method for log database
  • Retrieval device and retrieval method for log database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0058] The index can be regarded as one of the cores of the retrieval technology. Around the index, the full-text index (hereinafter referred to as the index) service provided by the present invention can be divided into three modules: index creation, index management, and index retrieval. The system schematic diagram can be found in figure 1 shown. exist figure 1Among them, the web server Web...

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

Embodiments of the invention provide a retrieval device and a retrieval method for a log database. The device comprises an index creation module, a retrieval module and an index management module, wherein the index creation module is used for obtaining new log data, establishing a full-text index after carrying out format conversion on new log data and storing the full-text index in a disk in a file form; the retrieval module is used for receiving a search request, searching according to the search request and an index in an internal storage, and returning a search result; and the index management module is used for judging whether the index involved in the search request received by the retrieval module is in the internal storage, and if no, loading the index involved in the search request in the internal storage from the disk. According to the retrieval device and the retrieval method, the index is stored in the disk in a file form and is loaded in the internal storage as needed, so that the retrieval efficiency can be improved. Meanwhile, the index file is not maintained, but the index is blocked, so that index increment type extension is realized, a large amount of IO operations caused by updating the index is avoided, and the search efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a log database retrieval device and retrieval method. Background technique [0002] Enterprise-level databases usually store tens of thousands of data. Taking the auditing system as an example, it is very common to store hundreds of millions or even billions of logs for auditing in its database. When this kind of log database stores massive data, it is very important for auditing and other work to realize convenient and fast retrieval in the massive data. [0003] In the existing technology, the index established for the log database is stored in the memory of the system. When the user calls the index, he will find the unique identifier of the log in the database from the memory, and then retrieve it in the database. This method will greatly increase the The computing load of the database reduces the efficiency of retrieval; and when the index is updated, a large number of IO...

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 CHINA MOBILE GRP GUANGDONG CO LTD
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