Preview

What Dbms Component Is Responsible for Concurrency Control? How Is This Feature Used to Resolve Conflicts?

Good Essays
Open Document
Open Document
597 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
What Dbms Component Is Responsible for Concurrency Control? How Is This Feature Used to Resolve Conflicts?
What DBMS component is responsible for concurrency control? How is this feature used to resolve conflicts?
In the fields of computer science and information technology there are often transactions, operations or jobs that are executed to gather a result. In most cases these results come in bunches and many separate transactions may have to occur at the same time. The process of managing simultaneous execution of transactions while ensuring the serializability of transactions in a database is known as concurrency control.
Concurrency control is essential to allow software to perform the way it should. In robust distributed systems it is extremely common to have multiple transactions occur which need access to the same data. One easy way of achieving this guarantee is to ensure that only one transaction executes at a time by using mutual exclusion and having a transaction resource that each transaction must have access to. This would likely be overkill and utilize concurrency controls. In the case of multiple transactions which use the same data and execute simultaneously concurrency control will keep them out of each other’s way and ensure serializability.
One way of achieving concurrency is by using locks. Locks will have a transaction lock an object and prevent another transaction from manipulating the object until the lock is released after the initial transaction completes. There is also the optimistic concurrency control. This is based on the observation that in most applications the chance of two transactions accessing the same object is low. This allows transactions to proceed as if there were no possibility of conflict with other transactions ie. A transaction does not have to obtain or check for locks.
Another control is timestamp ordering. In timestamp ordering, transactions are assigned a unique timestamp when it begins. Each object in the system has a read and a write timestamp associated with it. The read timestamp is the timestamp of the last

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 1 Study Guide

    • 378 Words
    • 2 Pages

    _____________ is the ability of a central processing unit (CPU) or a single core in a multi-core processor to execute multiple processesor threads concurrently…

    • 378 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The column specification that determines what kind of data can be stored in that column, character versus numeric or date, for example.…

    • 327 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Pt2520 Unit 6

    • 1447 Words
    • 6 Pages

    Data independence, it exists when we were able to change the database structure or characteristics without affecting the…

    • 1447 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    +• Synchronization: With multiple active processes having potential access to shared address spaces or shared I/O resources, care must be taken to provide effective synchronization. Synchronization is a facility that enforces mutual exclusion and event…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Best Essays

    Ellis, R. (n.d.). Lock Granularity. Granularity of Locks_and Degrees of Consistency_in a Shared Database. Retrieved September 12, 2013, from www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=9&sqi=2&ved=0CF8QFjAI&url=http%3A%2F%2Fpages.cs.wisc.edu%2F~nil%2F764%2FTrans%2FGranularity.ppt&ei=kQ8yUqOhPIzl4AOM6oDIDw&usg=AFQjCNEdfijo3XG83N7W2WlglSi3cEJsQQ&sig2=WGLffPJ8amqYRjHXJAHLuQ&bvm=bv.52109…

    • 1383 Words
    • 5 Pages
    Best Essays
  • Powerful Essays

    Distributed database systems do not require complex mechanisms to manage transactions and ensure the database's consistency and integrity.…

    • 1917 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    We used synchronisation quite little in the performance but what we did use of it became quite effective and useful, we shown this all throughout the performance of mad women. We used it to show the relationship between Mickey and Linda. This was shown throughout the song. We wanted to show this as later on in the play Mickey and Linda are in a relationship and we used this to show how it progresses later on.…

    • 1083 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Database and Page Ref

    • 4307 Words
    • 19 Pages

    12) A transaction is a group of alternative database actions, from which the database can choose to perform only one of them.…

    • 4307 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    Exercise 8 Study Guide

    • 398 Words
    • 2 Pages

    1. Under the above policy, 2 processes can be run simultaneously or active at once.…

    • 398 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    IT 600 Module One Lecture

    • 1256 Words
    • 5 Pages

    Page, T. W., Weinstein, M. J., & Popek, G. J. (1985). Genesis: A distributed database operating system.…

    • 1256 Words
    • 5 Pages
    Better Essays
  • Better Essays

    Input Control

    • 1095 Words
    • 5 Pages

    Input controls are fail safes that ensure that data is entered correctly, completely, and securely, in order to complete forms. As a systems analyst, one must focus on input control in every step of input design. There are many types of input control that can be implemented during the design process; all of which have a function necessary to maintain the integrity of the transaction. To list all of the input controls would take forever, so we will cover four in the following paragraphs.…

    • 1095 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    References: [1] C. J. Dimmer, “The Tandem Non-stop System”, Resilient Computing Systems, (T. Anderson , ed.), pp. 178196, Collins, 1985 [2] D. Wilson, “The STRATUS Computer system”, Resilient Computing Systems, (T. Anderson , ed.), pp. 208231, Collins, 1985. [3] S. K. Shrivastava, G. N. Dixon, and G. D. Parrington, “An Overview of Arjuna: A Programming System for Reliable Distributed Computing,” IEEE Software, Vol. 8, No. 1, pp. 63-73, January 1991. [4]G. D. Parrington et al, “The Design and Implementation of Arjuna”, USENIX Computing Systems Journal, Vol. 8., No. 3, pp. 253-306, Summer 1995. [5] S. K. Shrivastava, “Lessons learned from building and using the Arjuna distributed programming system,” Int. Workshop on Distributed Computing Systems: Theory meets Practice, Dagsthul, September 1994, LNCS 938, Springer-Verlag, July 1995. [6] P.A. Bernstein et al, “Concurrency Control and Recovery in Database Systems”, Addison-Wesley, 1987. [7] M. C. Little, “Object Replication in a Distributed System”, PhD Thesis, University of Newcastle upon Tyne, September 1991. (ftp://arjuna.ncl.ac.uk/pub/Arjuna/Docs/Theses/TR-376-9-91_EuropeA4.tar.Z) [8] M. C. Little and S. K. Shrivastava, “Object Replication in Arjuna”, BROADCAST Project Technical Report No. 50, October 1994. (ftp://arjuna.ncl.ac.uk/pub/Arjuna/Docs/Papers/Object_Replication_in_Arjuna.ps.Z)…

    • 8069 Words
    • 33 Pages
    Powerful Essays
  • Good Essays

    d. Records in reference files that are used by transaction records cannot be edited without proper authorization and data reconciliation.…

    • 666 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Describe how application controls are used in data processing systems to ensure accuracy and integrity.…

    • 1527 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    ANS: MongoDB uses reader-writer locks that allow concurrent readers shared access to a resource, such as a database or collection, but give exclusive access to a single write operation.…

    • 814 Words
    • 4 Pages
    Good Essays