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

Log storage method and device

A log and storage space technology, applied in the direction of file/folder operation, file system type, file system, etc., can solve the problems of uneven data distribution in the shared log library and high cost of the log library, so as to avoid uneven data distribution and realize Storage space, avoiding the effect of high cost

Active Publication Date: 2020-01-14
ALIBABA GRP HLDG LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] This application provides a method for storing logs to solve the problems of high cost of the existing independent log library and uneven distribution of data in the shared log library

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
  • Log storage method and device
  • Log storage method and device
  • Log storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0077] The present application provides a method for storing logs, a device for storing logs, a computer-readable storage medium, and an electronic device. Embodiments are provided below to describe the method, device, computer-readable storage medium, and electronic equipment in detail.

[0078] The first embodiment of the present application provides a method for storing logs. A log is an event record named log generated by a log source (such as a network device, system, and service program) at runtime, and is a c...

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 log storage method and device, and the method comprises the steps: determining that the storage condition of a log of a target type in a first log library reaches or exceedsa storage threshold value, wherein the first log library stores at least two types of logs; and storing the logs belonging to the target category into a second log library special for storing the logsof the target category. By using the method, the storage mode of the log can be adjusted according to the storage condition of the log, so that high cost caused by respectively using independent loglibraries for various types of logs is avoided, and non-uniform data distribution caused by storing multiple types of logs into a shared log library is avoided.

Description

technical field [0001] This application relates to the field of computer storage, in particular to a method for storing logs. The present application also relates to a device for storing logs, an electronic device, and a computer-readable storage medium. The present application also relates to a data processing method. Background technique [0002] A basic method for storing large batches of logs is shard storage. This process is to allocate different types of logs to different log libraries for storage through predetermined allocation rules. The log library refers to the log library that can provide log query functions. The final storage location of the log, which can be a separate database, or a log search server. Common shard storage methods mainly include the following two types: [0003] Solution 1: Create an independent log library for each category of logs, and log data of a single category is fixedly written into an independent log library. [0004] Solution 2: C...

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): G06F16/16G06F16/17G06F16/18
Inventor 黄雨洁
Owner ALIBABA GRP HLDG LTD