Mixed log generation method and resolution method

A parsing method and log technology, applied in the field of in-memory databases

Inactive Publication Date: 2012-05-23
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In order to solve the problems of waste of storage space caused by the simultaneous existence of transaction log files and synchronization data files in the above database system and low efficiency of system failure recovery, it is necessary to provide a storage space Hybrid log generation method with small size and high system failure recovery 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
  • Mixed log generation method and resolution method
  • Mixed log generation method and resolution method
  • Mixed log generation method and resolution method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The hybrid log format of the present invention is described by extended BNF syntax meta-symbols.

[0038] The BNF grammar metasymbols are as follows:

[0039] [, ], |, *, +, ::

[0040] Among them, [ and ] are used to delimit the scope of syntax elements or indicate optional parts. | means to choose one item on the left and right sides. * means 0 or more. + means at least 1. Square brackets are optional when they appear alone to denote enclosed syntax elements. The pair of square brackets used together with * or + indicates that the enclosed syntax element appears 0 to n times and at least once. :: means definition. The BNF syntax meta-symbol is only a tool used to describe the log format, not an integral part of the described log line.

[0041] For example, field is used to describe a field value, and the BNF paradigm for defining field is as follows:

[0042] field::name_len, name, type, prec, data_len, data

[0043] Among them, name_len indicates the string ...

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 method for producing hybrid log and an analytical method thereof, wherein, the method for producing the hybrid log comprises the following steps: opening or creating a hybrid log file; receiving user commands and judging the types of the user commands; and concluding the type of the user command according to the judgment and registering the corresponding command type log. The analytical method of the hybrid log comprises the following steps: A, applying for a handle of a log parser and opening a hybrid log file; B, judging whether a closed REDO / UNDO affair block node exists or not; if yes, executing step C, and if not, executing step D; D, analyzing log lines in the hybrid log file sequentially, executing the operation for producing REDO / UNDO transaction block, and then executing step B. The hybrid log combines all information of transaction log and synchronous log, so that redundant information is eliminated.

Description

technical field [0001] The invention relates to the field of in-memory databases, in particular to a hybrid log generation method and analysis method for in-memory databases. Background technique [0002] Modern communications rely more and more on computer technology. In the continuous development of telecom operators, various information systems have been established, including operating network systems, integrated camping systems, billing systems, office automation systems, etc. These systems have accumulated It collects a large amount of valuable data, and through data mining, query analysis and online analysis of these data, market opportunities can be identified and market strategies can be formulated. However, these data materials are too large, and the number of records can easily reach hundreds of millions. For example, the SMS system needs to store thousands of pieces of user information per second. For such a huge amount of data, the traditional disk-based databa...

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): G06F17/30
Inventor 陈河堆李世亮印和平
Owner ZTE CORP
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