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.