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

Method, device and system for processing pre-writing log

A log and write request technology, applied in the computer field, can solve the problems of computing engine and storage engine processing pressure, large data redundancy, database performance degradation, etc., to improve performance, reduce processing operations, and reduce redundant storage Effect

Pending Publication Date: 2022-06-03
ALIBABA (CHINA) CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this technical architecture not only brings greater processing pressure to the computing engine and storage engine, but also has greater data redundancy, resulting in a decline in database performance

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
  • Method, device and system for processing pre-writing log
  • Method, device and system for processing pre-writing log
  • Method, device and system for processing pre-writing log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0027] The terminology used in one or more embodiments of this specification is for the purpose of describing a particular embodiment only and is not intended to limit the one or more embodiments of this specification. As used in the specification or embodiments 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 will also be understood that the term "and / or" as used in this specification in one or more embodi...

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 embodiment of the invention provides a method, a device and a system for processing a pre-written log. The method for processing the pre-written log comprises the following steps: providing a publishing interface and a subscription interface based on a message queue communication protocol; receiving a pre-writing log writing request through the publishing interface; obtaining a pre-writing log record according to data carried by the pre-writing log writing request; storing the pre-written log record into a message queue, so that a subscription end consumes the log record through the subscription interface; wherein the log sequence number in the pre-writing log record is determined based on the corresponding rule between the message offset and the log sequence number, the message offset is the message offset of the pre-writing log record in the message queue, and the log sequence number is used for enabling the subscription end to write the pre-writing log record in the message queue based on the corresponding rule between the message offset and the log sequence number. And determining a message offset corresponding to the pre-write log record needing to be played back.

Description

technical field [0001] The embodiments of the present specification relate to the field of computer technologies, and in particular, to a method, an apparatus, and a system for processing a write-ahead log. Background technique [0002] With the development of computer technology, databases have been widely used as an important basic software that provides data storage and query capabilities. Among them, the write-ahead log technology is a technology used in the database system to provide atomicity and durability. This technique enables any changes to the database to be written to the log before they actually take effect. [0003] In the technical architecture of the existing database, the write-ahead log function is set in the storage engine of the database. The database's compute engine writes data to the storage engine and places the data in memory on demand for forwarding to external applications via http requests. The storage engine persists the data written by the 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
IPC IPC(8): G06F16/18G06F9/54G06F16/27
CPCG06F16/1815G06F9/546G06F16/27G06F2209/547
Inventor 伊翼胡建洪张友东孟庆义
Owner ALIBABA (CHINA) 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