长事务定义

The long transaction and work management integration

Kevin W. Miller
FristEnergy Corp, 253 White Pond Drive
Akron, Ohio 44230


The Long Transaction

PaperBackground
In this paper I will discuss the Long Transaction (LT) and its role in the Geographical Information System (GIS) -Work Management System (wMS) integration. I will explain at a high level what a Long Transaction is, why they are important in the GIS realm, and how they are applied. I will explain how the LT is affected by WMS / GIS integration. Finally, I will provide a high level view of the FirstEnergy Corp WMS / GIS integration with GIS long transactions.

Definition
A LT is an update to a database that takes longer than time required by hardware or software constraints. Business processes determine the time required for the transaction. The duration of a LT can range from a few minutes to a few years. The business need is based on the importance of storing information about a change in the system being modeled until the change actually occurs in the system. The goal is to capture future updates to a database during some process like planning or design.


Because the changes being captured have not occurred in the system being modeled, it is important that the changes do not affect the production view of the data presented to the user. It is beneficial if the user can identify areas where these changes are occurring and view them when needed. For example, if a planned or designed change to the modeled system includes the installation of a piece of equipment, system users might design changes using current production data for context. The change would be captured in a LT and could be displayed within the data as a change and not as the production data which would remain unchanged. When design changes were completed in the field and the equipment installed, the LT could be completed updating the production view of the database. This process could take years and the LT functionality must support this possibility.

To support business functions related to their normal life cycle, LTs are often designed to support a progression of stages. The LT must pass through these stages before being posted to production. The way the LTs data is presented or the functions that may preformed on the LT can be altered as the LT progresses through these stages. For instance, a LT may be created in an initiation stage. Then it may be moved to a design stage where changes required by the design are recorded and the data edited. The next stage could be a construction stage where the LT may be write protected. Finally, the LT could be moved to an as-built or closeout stage where post construction updates were recorded and the design is reconciled with the field construction. Business functions like material reconciliation can also be captured in this process. The stages are not required by the LT process but are driven by business requirements. This compliance with normal business functions adds value to LT functionality.
 


   长事务开始后,其他用户只能看到被锁定区域在编辑之前的数据,而不能看到锁定后的编辑情况,也不能对锁定的数据进行编辑;
   长事务可以持续几天、几个月甚至更长的时间,期间无需任何特殊处理,可以随时继续;
   长事务中所作的修改具有相当的安全性,即使遇到突然断电、死机或者其它意外情况,所编辑的数据也不会丢失或被破坏;
   任何时候,如果对于所作的修改不满意,可以回滚所作的修改,恢复到锁定时的状态;
   编辑结束,只要提交了所作的修改,其他用户立即就能看到修改后的内容;
   只有提交或回滚了修改之后,其他用户才可以对原锁定区域进行修改。

http://www.infoq.com/cn/articles/History-of-Extended-Transactions
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值