专利名称:METHOD FOR PROCESSING DATABASE TRANSACTION, CLIENT AND SERVER 发明人:PENG, Yongfei
申请号:EP17819132
申请日:20170619
公开号:EP3467668A4
公开日:
springframework事务
20190626
专利内容由知识产权出版社提供
摘要:The present application provides a database transaction processing method, a client, and a server. The method includes: receiving, by a server, a database access request that is used to request target data and that is sent by a client; sending a first version of the target data to the client, where the first version is a version of the target data that is currently stored in the server, and the server stores only a last committed updated version of the target data; receiving a transaction committing request sent by the client after the client executes a first transaction based on the first version, where the transaction committing request includes a log used to record a data operation of the first transaction; and modifying, according to the log and the data operation of the first transaction when it is determined that there is no data conflict between the data operation of the first transaction and the version of the target data that is currently stored in the server, the version of the target data that is currently stored in the server, and obtaining a committed updated version of the target data. In the present application, a lock-free transaction mechanism is implemented, and database storage management complexity is reduced.
申请人:Huawei Technologies Co., Ltd.
更多信息请下载全文后查看

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。