Business locking and unlocking method and device

A locking device and unlocking technology, applied in the field of database clusters, can solve the problems of message channel pressure, large message delay, and the influence of linear expansion of database clusters, etc., and achieve the effect of reducing message delay, reducing channel pressure, and improving linear expansion capability.

Active Publication Date: 2013-04-24
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The inventors have found that the above prior art has at least the following technical problems: since a transaction contains one or more statements, when one or more statements in the transaction access different locks, the LLM needs to send a lock or unlock lock to the GLM every time. The request

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
  • Business locking and unlocking method and device
  • Business locking and unlocking method and device
  • Business locking and unlocking method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] In the present invention, the central node and member nodes are logical concepts. In general, the central node and each member node are respectively configured in different computers. The central node installs coordination software, and the member nodes install database service software. The performance of the computer where the central node is located Generally, the...

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 business locking and unlocking method and device which are applied to the technical field of data clusters. The business locking and unlocking method includes that: a local lock manager (LLM) receives a locking or unlocking request of a business; the LLM places the locking or unlocking request of the business into a batch message packet when determining that the locking or unlocking request of the business cannot be met locally, wherein the batch message packet is used for storing a plurality of locking or unlocking requests; and the LLM transmits the batch message packet to a general lock manger (GLM) when judging that batch messages meet batch conditions, so that the GLM can process the locking or unlocking request in the batch message packet conveniently. By adopting the business locking and unlocking method and device, the quantity of the locking or unlocking requests transmitted to the GLM by the LLM in a short time can be reduced, pressure of a channel between the LLM and the GLM is reduced, message delay is reduced, and linear scalability of the database clusters is improved.

Description

technical field [0001] The invention relates to the technical field of database clusters, in particular to a transaction locking and unlocking method and device. Background technique [0002] Database cluster technology is a technology that combines multiple servers to form a cluster to achieve better overall performance than a single large server. There are currently two mainstream database cluster architectures: Shared-Disk database cluster and Shared-Nothing database cluster. [0003] figure 1 Describes a shared disk database cluster architecture, including shared disks, member nodes and central nodes, where shared disks are responsible for data storage, so that data can be shared among member nodes, and member nodes are used to access and modify shared disks The central node is used to coordinate the concurrent access of the member nodes to the shared disk. [0004] Transaction is one of the important functions provided by the database system. The transaction is compo...

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
Inventor 王传廷黄文龙
Owner HUAWEI CLOUD COMPUTING 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