Database Concepts (8th Edition)
Database Concepts (8th Edition)
8th Edition
ISBN: 9780134601533
Author: David M. Kroenke, David J. Auer, Scott L. Vandenberg, Robert C. Yoder
Publisher: PEARSON
Question
Book Icon
Chapter 6, Problem 6.18RQ
Program Plan Intro

Transaction:

A transaction is a small set of changes which must be made to the database. The transaction done to the database may or may not affect the changes to the content of the database. The execution takes place as a single unit.

Locks:

Resource locking is a technique which prevents the concurrent processing problems and it blocks the sharing of resources or data by locking the resources or data.

Locks can be invoked in two basic styles:

  • Optimistic locking
  • Pessimistic locking

Blurred answer
Students have asked these similar questions
What is the distinction between optimistic and pessimistic locking?
What exactly is the difference between implicit locking and explicit locking when it comes to multiple-granularity locking?
What is the advantage of rigorous two-phase locking? What are the drawbacks as a result?
Knowledge Booster
Background pattern image
Recommended textbooks for you
  • Text book image
    Oracle 12c: SQL
    Computer Science
    ISBN:9781305251038
    Author:Joan Casteel
    Publisher:Cengage Learning
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning