The log operation succeeds only on transaction commit, but a failure of the log operation doesn't cause the transaction to abort.
只有当事务提交的时候日志操作才会成功,但日志操作的失败并不会导致事务被中止。
Unless you require the cursor after the transaction, it is best to close the cursor when the commit operation is carried out.
除非您在事务结束后还需要该游标,否则您最好在执行提交操作后将其关闭。
If your application needs to access multiple resources as part of the same operation, you need two-phase commit transactions.
如果您的应用程序在同一个操作中需要访问多种资源,您就要使用两阶段提交事务。
应用推荐