TRANSACTIONS AND LOCKS, TRANSACTION ISOLATION LEVELS

Authors

  • T. Filimonchuk
  • V. Martovytskyi
  • D. Hontarieva

DOI:

https://doi.org/10.26906/SUNZ.2020.4.073

Keywords:

data inconsistency, transactions, versioning, blocking, levels of transaction isolation, reading of unfixed data, reading of fixed data, repeatability of reading, orderliness

Abstract

The subject of the study is the effectiveness of the use of transaction isolation levels. The purpose of this publication is to determine the feasibility of using common levels of transaction isolation that affect blocking, to prevent data inconsistencies (lost updates, "dirty" reading, non-repetitive reading, phantom reading) in parallel transactions. The results were obtained. Only one transaction isolation level parameter can be set at a time, which remains valid for the current connection until it is explicitly changed. When the isolation level for a transaction changes, the resources read after the change are protected according to the rules of the new level. Resources that are read before the change remain protected according to the rules of the previous level. Database management systems that provide transactivity do not always support all four levels of transaction isolation and may introduce additional levels. Conclusions. Using a high level of isolation (order), you can protect one transaction from the impact of another, but at the expense of significant damage to database performance. At this level, the results of parallel transactions for the database in most cases can be considered to coincide with the sequential execution of the same transactions (alternately in any order). On the other hand, the low level of isolation (reading of unrecorded data) of the transaction creates problems with data inconsistency, while providing higher performance

Downloads

References

Фиайли К. SQL. Москва: ДМК Пресс, 2013, 456 с.

Connolly T., Begg C. Database Systems A Practical Approach to Design, Implementation, and Management: Global Edition. Boston: Pearson Education, 2014, 1440 p.

Elmasri R., Navathe S.B. Fundamentals of Database Systems. Boston: Addison Wesley, 2016, 1272 p.

Кен Хендерсон, Профессиональное руководство по SQL Server. Структура и реализация. Москва: Вильямс, 2006, 1056 с.

Coronel C., Morris S. Database system: Design, Implementation, & Management: 13th Edition. Boston: Cengage, 2019, 802 p.

Davidson L., Moss J. Pro SQL Server Relational Database Design and Implementation: Fifth Edition. New York: Apress, 2012, 791 p.

Pavlovic Z., Veselica M. Oracle Database 12c Security Cookbook. Birmingham: Packt publishing, 2016, 358p.

Korotkevitch D. Expert SQL Server Transactions and Locking. Birmingham: Packt publishing, 2018, 320 p.

Nechausov A., Mamusuĉ I., Kuchuk N. Synthesis of the air pollution level control system on the basis of hyperconvergent infrastructures. Сучасні інформаційні системи. 2017. Т. 1, No 2. С. 21 – 26. DOI: https://doi.org/10.20998/2522-9052.2017.2.04

Гайдаржи В., Ізварін І. Бази даних в інформаційних системах. Київ: Університет «Україна», 2018, 418 с.

Published

2020-11-25