所有栈帧被分配在称为调用栈的内存区域。
All the stack frames are allocated in a region of memory called the call stack.
不用在相同的方法中使用编程事务,而是将更新操作移动到调用栈的另一个公共方法中。
Rather than using programmatic transactions within the same method, you can move the update operations to another public method within the call stack.
通过此技巧,您可以有效地在调用栈的较低层次开始事务,从而减少花费在数据库中的时间。
With this technique, you are effectively starting the transaction at a lower level in the call stack, thereby reducing the amount of time you are in the database.
应用推荐