发明名称 Two phase commit emulation for non distributed transactions
摘要 A method is described that comprises executing a non distributed transaction by reading persistent data from a database and performing executions with the persistent data. A prepare command is sent to the database after a change to be made to the persistent data as a consequence of the non distributed transaction's execution is confirmed. A commit command is sent to the database to cause the database to commit the change to the database.
申请公布号 US8918367(B2) 申请公布日期 2014.12.23
申请号 US200410837001 申请日期 2004.04.30
申请人 SAP SE 发明人 Manolov Svetoslav;Simeonov Ivo
分类号 G06F7/00;G06F17/30 主分类号 G06F7/00
代理机构 代理人
主权项 1. A computer implemented method for executing a non distributed transaction that involves a single database storage unit, comprising: detecting that a transaction is a non distributed transaction; reading persistent data from said database storage unit and performing a plurality of operations with said persistent data to execute said non distributed transaction; and executing an emulated two-phase commit protocol comprising: sending a prepare command from a resource manager to said database storage unit to prepare for changes to be made to said persistent data as a result of the plurality of operations;sending a commit command from said resource manager to said database storage unit prior to reception of a ready command sent from said database storage unit in response to said prepare command to cause said database storage unit to commit said changes to said database storage unit; andupdating said persistent data of said database storage unit with said changes only once in response to sending said prepare and said commit commands only after all of the plurality of operations with said persistent data are complete.
地址 Walldorf DE