血压什么时候量最准确| 慢性炎伴鳞化是什么意思| 高血压注意什么事项| 木字五行属什么| 肝郁症是什么病| 梦见老公出轨什么意思| 牙龈出血缺什么维生素| 孕妇喝什么牛奶对胎儿好| 什么情况下血压会升高| 2月份生日是什么星座| 鲁迅的真名叫什么| 脚崴了用什么药| 哈达是什么| 感冒发烧挂什么科室| 百福图挂在家里什么位置好| 色即是空是什么意思| 神神叨叨是什么意思| 被什么虫子咬了会刺痛| 卵巢增大是什么原因引起的| 翩翩起舞是什么意思| 细胞是由什么构成的| 脚底长水泡是什么原因| 黑鱼是什么鱼| 喝普洱茶有什么功效| 什么叫市级以上医院| 莲子心泡水喝有什么功效和作用| 布病吃什么药| 乙肝有抗体是什么意思| 什么是苔藓皮肤病| 嘴麻是什么原因引起的| 湿疣是什么病| 经常流鼻涕是什么原因引起的| 什么是金砖国家| 尿常规能查出什么病| 洗假牙用什么洗最好| 32岁属什么生肖| 2月16日是什么星座| 血脂高吃什么药最好| bl小说是什么意思| 温吞是什么意思| 做梦梦到已故的亲人是什么意思| 介入医学科是什么科室| 1979年属什么| 什么茶能去体内湿气| 日本桑是什么意思| 植物神经紊乱挂什么科| 神经性皮炎用什么药膏效果最好| 海螵蛸是什么东西| 一日清闲一日仙是什么生肖| 收官是什么意思| 长脸适合什么短头发| 木石念什么| 咳嗽咳到吐是什么原因| 毫无违和感什么意思| 孕妇的尿液有什么用途| 什么是玄关在哪个位置| 梅开二度是什么意思| 牛油果不能和什么一起吃| 桃对什么| 水泊梁山什么意思| 霉菌性阴道炎用什么药| 带状疱疹挂什么科室| 五戒十善是什么| 猫砂是什么| 自身免疫性疾病是什么意思| 心脏跳的快吃什么药| 副高相当于什么级别| 相敬如宾什么意思| 很容易出汗是什么原因| 什么叫环比| 释迦果吃了有什么好处| 肺部钙化灶是什么意思| 还记得年少时的梦吗是什么歌| 什么东西去火| 二百五是什么意思| 脑白质变性是什么病| 乾隆是什么朝代| 七匹狼属于什么档次| 小人是什么意思| 儿童拉肚子吃什么药| 脑梗输液用什么药| 右肺中叶小结节是什么意思严重吗| 人为什么要喝水| 什么是性| 幻肢是什么| 看什么| 继承衣钵是什么意思| 烫伤抹什么| 女生额头长痘痘是什么原因| 股癣用什么药膏好得快| 军级相当于什么级别| 投诉护士找什么部门| 闰六月是什么意思| c14和c13有什么区别| 小狗什么时候可以洗澡| 怀孕初期有什么反应| xxs是什么意思| 灏字五行属什么| 雨后的彩虹像什么| 骨密度是检查什么的| 踏雪寻梅什么意思| 玉五行属性是什么| 苦瓜有什么功效| 人的脾脏起什么作用| 眼睛有眼屎是什么原因引起的| cd138阳性是什么意思| 蜜枣是什么枣做的| 每天早上起床口苦是什么原因| 来月经喝红糖水有什么好处| 女生有美人尖代表什么| 女人体检都查什么项目| 孕早期吃什么有利于胎心胎芽发育| 恳谈会是什么意思| 银属于五行属什么| 卜姓氏读什么| 儿童办理身份证需要什么材料| 素心是什么意思| 梦到父母离婚是什么意思| 肿标五项查的是什么| mm代表什么单位| 孕晚期宫缩是什么感觉| 脑炎的后遗症是什么| 萤火虫为什么会发光简单回答| 湿疹涂什么药膏| 什么是三观不合| 老舍为什么自杀| 发烧喝什么水| 两个克念什么| 荷叶有什么功效| 什么事情只能用一只手去做| 为什么会有癌症| 细思极恐是什么意思| 孩子流黄鼻涕吃什么药效果好| 高压是什么意思| 4月是什么星座| 干咳无痰是什么原因| 智商高是什么意思| 黄瓜又什么又什么| 额是什么意思| 孔子是什么时期的人| n是什么牌子| 素鸡是用什么做的| 什么旺水命| 下眼皮肿是什么原因| 又字五行属什么| 可乐杀精是什么意思| 治疗脚气用什么药| 肝内胆管结石是什么意思| 减肥期间可以喝什么茶| 为什么不建议吃三代头孢| 蠕动什么意思| 戌是什么生肖| cps是什么| 5月13日什么星座| 什么是光| 水痘长什么样子| 星星是什么| xrd是什么| 今年77岁属什么生肖| 什么叫释怀| 尿是什么味道| 答谢宴是什么意思| outdoor是什么意思| 减肥早餐吃什么| 朱元璋原名叫什么| 米线里的麻油是什么油| 夏季有什么蔬菜| 20年是什么婚| 小便不利是什么意思| 风水是什么意思| 生姜和红枣煮水喝有什么作用| 胆固醇高是什么| 大便特别臭是什么原因| 紧急避孕药叫什么名字| 十月十二号是什么星座| 栀子黄是什么| 蓝玫瑰的花语是什么| 肛门潮湿是什么情况| aq是什么标准| 盆腔镜检查是查什么的| 什么东西养胃又治胃病| 女人小便出血是什么原因| 身上皮肤痒是什么原因| 狮子座跟什么星座最配| 容易静电的人说明什么| 背疽是什么病| 小孩耳鸣是什么原因引起的| 为情所困是什么意思| 欲情故纵是什么意思| 木日念什么| 蟾宫是什么意思| 什么的蚂蚁| 亚型是什么意思| 眼睛散光是什么原因造成的| 一开车就犯困是什么原因| 咳嗽有白痰是什么原因| 月经推迟7天是什么原因| 一什么见什么| 孕期用什么护肤品| 林可霉素主治什么病| 孕酮低会有什么影响| 12月20日是什么星座| 什么牌子的氨糖最好| 木屐是什么意思| 胸闷是什么原因造成的| 手脱皮用什么药| 感觉不到饿是什么原因| 血糖高吃什么水果降糖| 莴笋什么时候种植| 茴三硫片主治什么| 高烧吃什么药| 农家一碗香是什么菜| 怀孕甲减对孩子有什么影响| 姜薯是什么| 甲钴胺片主要治什么病| 什么地听| 多面手是什么意思| 属蛇的是什么星座| 撮鸟是什么意思| 吐血是什么病| 肉是什么结构| 什么的雾霾| 扁桃体发炎能吃什么水果| 女生为什么喊你男神| 龟头炎用什么药好| 什么时候排卵期| 儿童鸡胸挂什么科| 男人什么时候精子最强| 前列腺炎不能吃什么| 肉蔻炖肉起什么作用| 肾脏不好吃什么食物好| 吃瓜子有什么好处| 什么叫淋巴结| 边缘心电图是什么意思| 低血压去药店买什么药| 霉菌性炎症用什么药效果最好| 扳机点是什么意思| 慢性非萎缩性胃炎伴糜烂是什么意思| 高铁与动车的区别是什么| 吃豌豆有什么好处| 什么叫冷暴力| 上元节是什么节日| 女人梦见棺材是什么征兆| 蕈是什么意思| 哨兵是什么意思| 精益求精的意思是什么| 什么是职业病| 什么叫慢阻肺| 人黄是什么原因| nse是什么意思| 黑鱼不能和什么一起吃| 便血鲜红色无疼痛是什么原因| 吃深海鱼油有什么好处和坏处| 前列腺增生吃什么食物好| 鸡肉配什么菜好吃| 面基是什么意思啊| 蝶变是什么意思| 舌苔厚白吃什么食物好| 心肌炎吃什么食物最好| 赢字五行属什么| 什么运动减肥最快| 吃恩替卡韦有什么副作用| 五字五行属什么| 感冒了可以吃什么水果| 百度Jump to content

只有削弱!炉石传说设计师:不会增强卡牌

From Wikipedia, the free encyclopedia
百度 (估值以2017年12月31日前最新一轮融资为依据)经由企业自主申报、公开数据搜集、重点高新区推荐、长城战略咨询数据库筛选、第三方机构数据支撑等方式汇总备选企业数据,经审核筛选出164家符合标准的独角兽企业。

In computer science, transaction processing is information processing [1] that is divided into individual, indivisible operations called transactions. Each transaction must succeed or fail as a complete unit; it can never be only partially complete.

For example, when you purchase a book from an online bookstore, you exchange money (in the form of credit) for a book. If your credit is good, a series of related operations ensures that you get the book and the bookstore gets your money. However, if a single operation in the series fails during the exchange, the entire exchange fails. You do not get the book and the bookstore does not get your money. The technology responsible for making the exchange balanced and predictable is called transaction processing. Transactions ensure that data-oriented resources are not permanently updated unless all operations within the transactional unit complete successfully. By combining a set of related operations into a unit that either completely succeeds or completely fails, one can simplify error recovery and make one's application more reliable.

Transaction processing systems consist of computer hardware and software hosting a transaction-oriented application that performs the routine transactions necessary to conduct business. Examples include systems that manage sales order entry, airline reservations, payroll, employee records, manufacturing, and shipping.

Since most, though not necessarily all, transaction processing today is interactive, the term is often treated as synonymous with online transaction processing.

Description

[edit]

Transaction processing is designed to maintain a system's Integrity (typically a database or some modern filesystems) in a known, consistent state, by ensuring that interdependent operations on the system are either all completed successfully or all canceled successfully.

For example, consider a typical banking transaction that involves moving $700 from a customer's savings account to a customer's checking account. This transaction involves at least two separate operations in computer terms: debiting the savings account by $700, and crediting the checking account by $700. If one operation succeeds but the other does not, the books of the bank will not balance at the end of the day. There must, therefore, be a way to ensure that either both operations succeed or both fail so that there is never any inconsistency in the bank's database as a whole.

Transaction processing links multiple individual operations in a single, indivisible transaction, and ensures that either all operations in a transaction are completed without error, or none of them are. If some of the operations are completed but errors occur when the others are attempted, the transaction-processing system "rolls back" all of the operations of the transaction (including the successful ones), thereby erasing all traces of the transaction and restoring the system to the consistent, known state that it was in before processing of the transaction began. If all operations of a transaction are completed successfully, the transaction is committed by the system, and all changes to the database are made permanent; the transaction cannot be rolled back once this is done.

Transaction processing guards against hardware and software errors that might leave a transaction partially completed. If the computer system crashes in the middle of a transaction, the transaction processing system guarantees that all operations in any uncommitted transactions are cancelled.

Generally, transactions are issued concurrently. If they overlap (i.e. need to touch the same portion of the database), this can create conflicts. For example, if the customer mentioned in the example above has $150 in his savings account and attempts to transfer $100 to a different person while at the same time moving $100 to the checking account, only one of them can succeed. However, forcing transactions to be processed sequentially is inefficient. Therefore, concurrent implementations of transaction processing is programmed to guarantee that the end result reflects a conflict-free outcome, the same as could be reached if executing the transactions sequentially in any order (a property called serializability). In our example, this means that no matter which transaction was issued first, either the transfer to a different person or the move to the checking account succeeds, while the other one fails.

Methodology

[edit]

The basic principles of all transaction-processing systems are the same. However, the terminology may vary from one transaction-processing system to another, and the terms used below are not necessarily universal.

Rollback

[edit]

Transaction-processing systems ensure database integrity by recording intermediate states of the database as it is modified, then using these records to restore the database to a known state if a transaction cannot be committed. For example, copies of information on the database prior to its modification by a transaction are set aside by the system before the transaction can make any modifications (this is sometimes called a before image). If any part of the transaction fails before it is committed, these copies are used to restore the database to the state it was in before the transaction began.

Rollforward

[edit]

It is also possible to keep a separate journal of all modifications to a database management system. (sometimes called after images). This is not required for rollback of failed transactions but it is useful for updating the database management system in the event of a database failure, so some transaction-processing systems provide it. If the database management system fails entirely, it must be restored from the most recent back-up. The back-up will not reflect transactions committed since the back-up was made. However, once the database management system is restored, the journal of after images can be applied to the database (rollforward) to bring the database management system up to date. Any transactions in progress at the time of the failure can then be rolled back. The result is a database in a consistent, known state that includes the results of all transactions committed up to the moment of failure.

Deadlocks

[edit]

In some cases, two transactions may, in the course of their processing, attempt to access the same portion of a database at the same time, in a way that prevents them from proceeding. For example, transaction A may access portion X of the database, and transaction B may access portion Y of the database. If at that point, transaction A then tries to access portion Y of the database while transaction B tries to access portion X, a deadlock occurs, and neither transaction can move forward. Transaction-processing systems are designed to detect these deadlocks when they occur. Typically both transactions will be cancelled and rolled back, and then they will be started again in a different order, automatically, so that the deadlock does not occur again. Or sometimes, just one of the deadlocked transactions will be cancelled, rolled back, and automatically restarted after a short delay.

Deadlocks can also occur among three or more transactions. The more transactions involved, the more difficult they are to detect, to the point that transaction processing systems find there is a practical limit to the deadlocks they can detect.

Compensating transaction

[edit]

In systems where commit and rollback mechanisms are not available or undesirable, a compensating transaction is often used to undo failed transactions and restore the system to a previous state.

ACID criteria

[edit]

Jim Gray defined properties of a reliable transaction system in the late 1970s under the acronym ACID—atomicity, consistency, isolation, and durability.[1]

Atomicity

[edit]

A transaction's changes to the state are atomic: either all happen or none happen. These changes include database changes, messages, and actions on transducers.

Consistency

[edit]

Consistency: A transaction is a correct transformation of the state. The actions taken as a group do not violate any of the integrity constraints associated with the state.

Isolation

[edit]

Even though transactions execute concurrently, it appears to each transaction T, that others executed either before T or after T, but not both.

Durability

[edit]

Once a transaction completes successfully (commits), its changes to the database survive failures and retain its changes.

Implementations

[edit]

Standard transaction-processing software, such as IBM's Information Management System, was first developed in the 1960s, and was often closely coupled to particular database management systems. Client–server computing implemented similar principles in the 1980s with mixed success. However, in more recent years, the distributed client–server model has become considerably more difficult to maintain. As the number of transactions grew in response to various online services (especially the Web), a single distributed database was not a practical solution. In addition, most online systems consist of a whole suite of programs operating together, as opposed to a strict client–server model where the single server could handle the transaction processing. Today a number of transaction processing systems are available that work at the inter-program level and which scale to large systems, including mainframes.

One effort is the X/Open Distributed Transaction Processing (DTP) (see also Java Transaction API (JTA). However, proprietary transaction-processing environments such as IBM's CICS are still very popular,[citation needed] although CICS has evolved to include open industry standards as well.

The term extreme transaction processing (XTP) was used to describe transaction processing systems with uncommonly challenging requirements, particularly throughput requirements (transactions per second). Such systems may be implemented via distributed or cluster style architectures. It was used at least by 2011.[2][3]

References

[edit]
  1. ^ a b Gray, Jim; Reuter, Andreas. "Transaction Processing – Concepts and Techniques (Powerpoint)". Retrieved Nov 12, 2012.
  2. ^ Koen Vanderkimpen and Dirk Deridder. "Going eXtreme for Health Care". Devoxx 2011 presentation. Retrieved March 18, 2017.
  3. ^ Kevin Roebuck (2011). Extreme Transaction Processing. Lightning Source. ISBN 978-1-74304-266-3.

Further reading

[edit]
  • Gerhard Weikum, Gottfried Vossen, Transactional information systems: theory, algorithms, and the practice of concurrency control and recovery, Morgan Kaufmann, 2002, ISBN 1-55860-508-8
  • Jim Gray, Andreas Reuter, Transaction Processing—Concepts and Techniques, 1993, Morgan Kaufmann, ISBN 1-55860-190-2
  • Philip A. Bernstein, Eric Newcomer, Principles of Transaction Processing, 1997, Morgan Kaufmann, ISBN 1-55860-415-4
  • Ahmed K. Elmagarmid (Editor), Transaction Models for Advanced Database Applications, Morgan-Kaufmann, 1992, ISBN 1-55860-214-3
[edit]
做小吃什么生意最赚钱 怀孕脸上长痘痘是什么原因 耕田是什么意思 更年期失眠吃什么药调理效果好 中药学专业学什么
刚出生的小猫吃什么 孕妇什么时候做nt 天秤女和什么星座最配 蔓越莓是什么水果 12月22日什么星座
儿童不长个子去医院挂什么科 乙酰胆碱的作用是什么 北京有什么 梦见穿袜子是什么意思 红脸关公代表什么意思
味淋是什么调料 晚上看见蛇有什么预兆 ut是什么 红细胞偏低是什么原因 刀厄痣是什么意思
军国主义是什么意思hcv8jop4ns8r.cn 相性是什么意思cl108k.com 月经不调是什么原因造成的hcv7jop9ns6r.cn 什么是好词hcv9jop3ns3r.cn 海兔是什么动物hcv8jop7ns0r.cn
口若什么hcv9jop2ns3r.cn 随遇而安是什么生肖hcv8jop5ns7r.cn 水命中什么水命最好hcv8jop8ns0r.cn bmo是什么意思youbangsi.com 汗毛长的女人代表什么hcv8jop2ns1r.cn
莎莎舞是什么意思hcv7jop5ns6r.cn 水肺潜水是什么意思hcv8jop9ns9r.cn 哮喘什么症状hcv8jop5ns1r.cn timing什么意思hcv8jop5ns6r.cn 子宫在肚脐眼什么位置hcv9jop7ns5r.cn
脖子长痘痘是什么原因hcv9jop3ns6r.cn 上海是什么中心hcv9jop5ns7r.cn 情绪上来像发疯一般是什么病hcv8jop2ns9r.cn 惟妙惟肖是什么意思hcv8jop5ns3r.cn 白龙马是什么生肖hcv8jop4ns7r.cn
百度