CONCURRENCY CONTROL METHOD AND APPARATUS
    1.
    发明公开

    公开(公告)号:EP3264283A4

    公开(公告)日:2018-03-21

    申请号:EP15885278

    申请日:2015-11-27

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30362 G06F17/30377

    摘要: Embodiments of the present invention provide a concurrency control method, including: receiving at least two transaction operation requests, where each transaction operation request of the at least two transaction operation requests includes operation object information and operation type information, the operation object information is used to indicate an operation object of the transaction operation request, and the operation type information includes a write operation or a read operation; making a lock-use application according to the at least two transaction operation requests; and determining, according to a requested lock status and a current lock status in the lock-use application, whether the application is passed, and if the application is passed, determining to perform concurrency control on the at least two transaction operation requests by using the requested lock status, where the lock status includes at least three modes: a shared read mode, a shared write mode, and an exclusive mode, where the shared write mode includes allowing two or more write operations to be simultaneously performed on the operation object. According to the concurrency control method, a database system concurrency throughput capability is improved.

    RESOURCE COORDINATION METHOD, DEVICE, AND SYSTEM FOR DATABASE CLUSTER

    公开(公告)号:EP3185148A4

    公开(公告)日:2017-11-29

    申请号:EP16732876

    申请日:2016-01-04

    发明人: XIAO YULEI YE TAO

    摘要: A resource coordination method, an apparatus, and a system for a database cluster are provided. The method includes: An active coordinator node obtains status information corresponding to each processing node in multiple processing nodes (201), where the status information is used to indicate an operating load status of the processing node; determines, according to the status information corresponding to each processing node in multiple processing nodes, whether the active coordinator node has an idle resource whose capacity is a preset threshold X (203); and if the active coordinator node has the idle resource whose capacity is the preset threshold X, instructs each processing node to upload subsequently generated clean page data to the active coordinator node (205). More data generated by a processing node can be stored in a coordinator node by using this method. An idle resource on the coordinator node and a high-speed communication feature of a communication interface between the coordinator node and the processing node are fully used, so that starting of the processing node is more rapid and efficient.