Recorded data updating method and device

A technology of recording data and updating method, applied in the field of database, can solve the problem of low efficiency of updating processing of concurrent recording data, and achieve the effect of reducing time duration, reducing time duration, and improving processing efficiency

Active Publication Date: 2015-03-25
BEIJING OCEANBASE TECH CO LTD
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In view of this, the embodiment of the present application provides a method and device for updating record data, w

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
  • Recorded data updating method and device
  • Recorded data updating method and device
  • Recorded data updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] Embodiment 1 of the present application provides a method for updating record data, which can be applied to a database, such as figure 2 It specifically includes the following processing steps:

[0070] Step 201: Acquire the received update operation request, where the update operation request is used to request to update the record data in the database.

[0071] Step 202: Determine the update operation requested to be performed according to the received update operation request, for example, determine the record requested to be updated in the update operation, and determine the updated data to which the record data of the record will be updated.

[0072] The record data after the update can be determined according to the update indication information carried in the update operation request and the current record data of the record in the database. In different application scenarios, corresponding specific determination methods can be used, and no examples are given he...

Embodiment 2

[0102] Based on the same inventive concept, according to the method for updating recorded data provided in Embodiment 1 of the present application, correspondingly, Embodiment 2 of the present application also provides a device for updating recorded data, the schematic diagram of which is as follows: image 3 shown, including:

[0103] The cache processing unit 301 is configured to sequentially for each update operation in a plurality of update operations requesting to update the same record, and cache the updated record data to which the record data of the record in the update operation will be updated;

[0104] The write redo log unit 302 is configured to write the recorded redo logs of the multiple update operations to the persistent device at one time based on the respective updated record data corresponding to the multiple update operations in the cache. ;

[0105] The update processing unit 303 is configured to update the record data of the records in the database by us...

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 recorded data updating method and device. The recorded data updating method comprises the steps that each of a plurality of update operations of one record is updated for a request, and recorded data of the record buffered in the update operation are updated recorded data; on the basis of the updated recorded data corresponding to the buffered update operations, redo logs of the record corresponding to the multiple update operations are written into persistent equipment at a time; when the redo logs are written successfully, the recorded data of the record in a database are updated by means of the updated recorded data corresponding to the multiple buffered update operations. By the adoption of the scheme, the concurrent recorded data updating processing efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of databases, and in particular, to a method and device for updating record data. Background technique [0002] In the process of using the database, it is often necessary to update the record data stored in the database. In the prior art, the update process of the record data stored in the database, in order to ensure the atomic operation of the data update, the update process mainly includes preprocessing operations, write redo log operations, and commit operations, as follows: [0003] Preprocessing operation: After receiving the update operation request, first determine the record corresponding to this update operation, and determine the record data of the record will be updated in this update operation to the updated record data, and then cache the updated record data. Recording the data completes the preprocessing operation. [0004] During the above preprocessing operation, in order to pre...

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): G06F17/30
CPCG06F16/2358G06F16/24552
Inventor 李凯
Owner BEIJING OCEANBASE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products