Database log processing method and device
A processing method and database technology, applied in the computer field, can solve the problems of long preprocessing time, low log processing efficiency, etc., and achieve the effect of improving processing speed and processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] The embodiment of the present invention provides a database log processing method.
[0022] figure 1 is a flow chart of a database log processing method according to an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:
[0023] Step S11, obtaining log files.
[0024] Specifically, through the above step S11, the log file generated by the server is obtained.
[0025] Step S13, read the segmentation rules of the log file.
[0026] Specifically, through the above-mentioned step S13, the preset division rule for dividing the log file is read.
[0027] Step S15, splitting the log file according to the splitting rule to obtain at least two pre-processed log files.
[0028] Specifically, according to the above step S15, the entire acquired log file is divided according to the read division rule, and the log file is divided into two or more pre-processed log files for subsequent use.
[0029] In step S17, at least tw...
Embodiment 2
[0082] The embodiment of the present invention also provides a database log processing device, such as Figure 4 As shown, the device may include: a first acquisition module 31 , a first reading module 33 , a segmentation module 35 and a first storage module 37 .
[0083] Wherein, the first acquiring module 31 is configured to acquire log files.
[0084] Specifically, the log file generated by the server is obtained through the above-mentioned first obtaining module 31 .
[0085] The first reading module 33 is configured to read the division rules of the log file.
[0086] Specifically, through the above-mentioned first reading module 33, the preset division rule for dividing the log file is read.
[0087] The splitting module 35 is configured to split the log file according to the splitting rule to obtain at least two pre-processed log files.
[0088] Specifically, the above-mentioned segmentation module 35 divides the entire acquired log file according to the read segment...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 