Preview

Concurrency Control In Database Systems

Better Essays
Open Document
Open Document
2731 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Concurrency Control In Database Systems
Concurrency Control in Database Systems

Key Points

The purpose of concurrency control is to ensure that one user’s work does not inappropriately influence another user’s work. In some cases, these measures ensure that a user gets the same result when processing with other users as that person would have received if processing alone. In other cases, it means that the user’s work is influenced by other users but in an anticipated way.

When many transactions take place at the same time, they are called concurrent transactions. Managing the execution of such transactions is called concurrency control. As you can imagine, concurrency control is especially important in a multiuser database environment.

Deadlock:
When dealing with locks two problems can arise, the first of which being deadlock. Deadlock refers to a particular situation where two or more processes are each waiting for another to release a resource, or more than two processes are waiting for resources in a circular chain. Deadlock is a common problem in multiprocessing where many processes share a specific type of mutually exclusive resource. Some computers, usually those intended for the time-sharing and/or real-time markets, are often equipped with a hardware lock, or hard lock, which guarantees exclusive access to processes, forcing serialization. Deadlocks are particularly disconcerting because there is no general solution to avoid them.
A fitting analogy of the deadlock problem could be a situation like when you go to unlock your car door and your passenger pulls the handle at the exact same time, leaving the door still locked. If you have ever been in a situation where the passenger is impatient and keeps trying to open the door, it can be very frustrating. Basically you can get stuck in an endless cycle, and since both actions cannot be satisfied, deadlock occurs.

Livelock:
Livelock is a special case of resource starvation. A livelock is similar to a deadlock, except that the states of the

You May Also Find These Documents Helpful

  • Good Essays

    * The deadweight loss from monopoly pricing is the amount by which aggregate surplus falls short of its maximum possible value, which is attained in a perfectly competitive market…

    • 788 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Study Guide

    • 378 Words
    • 2 Pages

    Multiple threads can interfere with each other when sharing hardware resources such as caches or translation lookaside buffers (TLBs). As a result, execution times of a single thread are not improved but can be degraded, even when only one thread is executing, due to lower frequencies or additional pipeline stages that are necessary to accommodate thread-switching hardware.…

    • 378 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    programs is not new, the renewed and increased interest is aided by certain trends in…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Better Essays

    A bottleneck in a process is a specific part which falls short of meeting the demand. The capacity, which is necessary for that portion of the process does not have the capability of meeting that demand, has the most lag, or uses the most time or resources. Bottlenecks lessen the output of a process because the flow of the process is halted or slowed (Chase, Jacobs, & Aquilano, 2006).…

    • 1307 Words
    • 6 Pages
    Better 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
  • Better Essays

    BIS 320 Week 2 Asm

    • 1188 Words
    • 5 Pages

    An operating system that is out dated, can present computer software freeze ups, loss of data, and eventually loss of productivity.…

    • 1188 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Pos/355 Failures

    • 2109 Words
    • 9 Pages

    A failure happens when a piece of equipment such as the hardware or software on a computer aren’t working properly. When the computer isn’t working properly, it can cause problems such as data loss, reduced…

    • 2109 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    computers

    • 1169 Words
    • 4 Pages

    Summarize the case study, being sure to describe the underlying problem(s) of the collapse of the system…

    • 1169 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Filures Paper

    • 498 Words
    • 2 Pages

    Timing failures occur in a distributed system when the client expects a response from the server and the response is not received in the expected time frame. Some clients cannot wait for the required response from the server. This causes server operations to fail and thus resulting in timing failures.…

    • 498 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Database and Page Ref

    • 4307 Words
    • 19 Pages

    9) Concurrency control measures are taken to ensure that one user's work has absolutely no influence on another user's work.…

    • 4307 Words
    • 19 Pages
    Powerful Essays
  • Good Essays

    Eco11

    • 1214 Words
    • 5 Pages

    Disequilibrium is where we have surplus or a shortage in a product. If we have an increase in milk supplied to the market and this exceeds the current price that people are willing to pay, we will end up with a surplus of product on the market, where as if the quantity exceeds the price of a product we will end up with a shortage of milk supplied.…

    • 1214 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Database Management

    • 613 Words
    • 3 Pages

    In his book Groupware -- Computer Support for Business Teams, Robert Johansen defines groupware as "specialized computer aids that are designed for the use of collaborative work groups." This definition is better than the "shared data" definition because it helps eliminate multiuser databases from the groupware category. Yet electronic mail fits this definition, as well as some other software sharing tools that experts are still debating.…

    • 613 Words
    • 3 Pages
    Good Essays
  • Good Essays

    When Resources are Limited. People's needs and wants are unlimited. The Combination of limited economic resources and unwanted wants a result in a condition Known as Scarcity.…

    • 994 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Systems Theory

    • 2631 Words
    • 11 Pages

    systems or more come in contact with each other causing conflict is called interface. This…

    • 2631 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    In pure monopoly, there is an efficiency loss which is called dead weight loss (also known as excess burden and allocative efficiency). This situation occurs because the sum of consumer surplus + producer surplus is less than the maximum. In other words, this situation occurs either because of the people who have more marginal benefit than marginal cost are not buying the product, or those who have more marginal cost than marginal benefit are buying the product.…

    • 450 Words
    • 2 Pages
    Satisfactory Essays