- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
22-utpafacultyweb
Sagas “A sequence of flat transactions that can be interleaved with other transactions”. DBMS guarantees that either all transactions in saga are successfully completed or compensating transactions are run to undo partial execution. Saga has only one level of nesting. For every subtransaction defined, there is corresponding compensating transaction that will semantically undo subtransaction’s effect. Pearson Education ? 2014 * Sagas Relax property of isolation by allowing saga to reveal its partial results to other concurrently executing transactions before it completes. Useful when subtransactions are relatively independent and compensating transactions can be produced. May be difficult sometimes to define compensating transaction in advance, and DBMS may need to interact with user to determine compensation. Pearson Education ? 2014 * Multi-level Transaction Model Closed nested transaction - atomicity enforced at the top-level. Open nested transactions - allow partial results of subtransactions to be seen outside transaction. Saga model is example of open nested transaction. So is multi-level transaction model where tree of subtransactions is balanced. Nodes at same depth of tree correspond to operations of same level of abstraction in DBMS. Pearson Education ? 2014 * Multi-level Transaction Model Edges represent implementation of an operation by sequence of operations at next lower level. Traditional flat transaction ensures no conflicts at lowest level L0 . In multi-level model two operations at level Li may not conflict even though their implementations at next lower level Li-1 do. Pearson Education ? 2014 * Example - Multi-level Transaction Model Pearson Education ? 2014 * Example - Multi-level Transaction Model T7: T71, which increases balx by 5 T72, which subtracts 5 from baly T8: T81, which increases baly by 10 T82, which subtracts 2 from balx As addition and subtraction commute, can execute these subtransactions in any order, and c
您可能关注的文档
- 2015年全国各省区市非师范生类毕业生回生源地-上海中医药大学.doc
- 2015年复印报刊资料-情报杂志.doc
- 2016-alleganymemorialspeedway.doc
- 2016keralabasketballassociationtournament.doc
- 2016routechoicemeetingminutes-trb-adb30.doc
- 2016中国食品餐饮博览会参展申请表.doc
- 2016哈博论坛征稿通知.doc-南开大学研究生院.doc
- 2016salestrainingpresentation-centrothermecosystems-us.ppt
- 20160511063748.doc-dsmataiwan(台灣數位看板多媒體聯盟).doc
- 2016国际车用塑料暨汽车零部件产业链高峰论坛-中国科学院宁波.doc
原创力文档


文档评论(0)