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

Data writing method and data reading method

A data reading and data writing technology, which is applied in database indexing, database updating, structured data retrieval, etc., can solve the problem of slow cleaning speed and achieve the effect of improving cleaning efficiency

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

AI Technical Summary

Problems solved by technology

[0005] This limitation makes the dirty operation of the read-write node need to wait for the read-only node to execute the transaction, resulting in a slower speed of dirtying

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
  • Data writing method and data reading method
  • Data writing method and data reading method
  • Data writing method and data reading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] 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. Implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of one or more embodiments of the present specification as recited in the appended claims.

[0056] It should be noted that in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or less steps than those described in this specification. In addition, a single step described in this...

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 data writing method and a data reading method, and a historical version storage space for storing historical version pages is configured in a shared storage space which can be accessed by all nodes of a database system. In the case of writing data, the read-write node firstly obtains a data change instruction which is not executed in the redo log and a page which the data change instruction aims at, executes the obtained data change instruction on the basis of the page to obtain dirty pages, and performs dirty brushing when a specified period is reached or the number of the dirty pages exceeds a specified threshold value, so that the data change instruction is not executed in the redo log, and the data change instruction is not executed in the redo log. And storing the dirty page as a historical version page to a historical version storage space. Therefore, the read-write node can brush dirty without waiting for the read-only node to read the data, so that the dirty brushing process and the read-only node to read the data are decoupled, and the dirty brushing efficiency and the dirty brushing flexibility are improved.

Description

technical field [0001] One or more embodiments of this specification relate to the technical field of computer applications, and in particular to a data writing method and a data reading method. Background technique [0002] For a relational database system that supports one write multiple reads, it generally includes a read-write (read-write) node and multiple read-only (read-only) nodes, and multiple nodes share the same storage space (hereinafter referred to as is a shared storage space), so as to complete the write-once-read-many for the relational database in the shared storage space. [0003] When the read-write node executes the data change transaction, it does not directly write the changed data into the database, but writes the data change instructions contained in the data change transaction into the transaction log (redo log) of the shared storage space . When the subsequent read and write nodes meet the parsing conditions, in order to update the data changes to...

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/21G06F16/22G06F16/23
CPCG06F16/219G06F16/22G06F16/23
Inventor 陈宗志
Owner ALIBABA (CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More