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

A log output method and device

An output method and log technology, applied in the field of data processing, can solve problems such as inflexibility and memory occupation, and achieve the effect of high program readability and small memory occupation

Active Publication Date: 2018-11-09
ADVANCED NEW TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, saving a large number of execution parameters and results in thread variables will occupy a large amount of memory
At the same time, these two implementations can only output logs after the transaction is committed, which is not flexible enough

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
  • A log output method and device
  • A log output method and device
  • A log output method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 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 embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0034] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 provides a log output method and device.The method includes the steps that a log of a task unit is output to a preset cache region according to the execution parameters and result of the task unit; whether an affair to which the task unit belongs is submitted or not is monitored; if the affair to which the task unit belongs is submitted, the log, in the cache region, of the task unit is output to a magnetic disk.According to the technical scheme, it can be guaranteed that the execution results of the log of the task unit and the affair are consistent, meanwhile, the memory occupancy is small, program readability is high, and high flexibility is achieved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a log output method and device. Background technique [0002] A database transaction is the execution of a series of operations as a single logical unit of work, either in full or not at all. Transaction processing ensures that no data in the database is updated unless all operations within the transactional unit complete successfully. By grouping a group of related operations into an all-or-nothing unit, you can simplify error recovery and make your application run more reliably. [0003] A database transaction usually includes multiple task units. When executing a transaction, it is necessary to output logs such as the execution parameters and results of each task unit, so as to facilitate subsequent data backup and recovery. In the process of log output, it is necessary to ensure that the log of each task unit is consistent with the execution result of ...

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): G06F11/34
Inventor 湛滨瑜
Owner ADVANCED NEW TECH CO LTD