Database System Concepts
Database System Concepts
7th Edition
ISBN: 9781260084504
Author: Abraham Silberschatz, S. Sudarshan, Abraham, Henry Korth, Silberschatz Abraham, Silberschatz Professor
Publisher: McGraw-Hill Education
Expert Solution & Answer
Book Icon
Chapter 25, Problem 2PE

Explanation of Solution

a)

Sequence counter in two phase manner:

  • The sequence counter remains locked in two phase in exclusive mode till it acquires the lock from other transaction
  • There might be data conflict during the transaction with...

Explanation of Solution

b)

i. Improving the concurrency using counters:

  • When the transaction abort it does not create any problems and increment operation can be performed easily on the counter.
  • It cannot retain its original position during an abort. But it remains as it stands.
  • So, there might be gaps in the sequence number as the counter cannot be restored to its previous value.
  • These values are assigned to its aborted transactions.

ii. Gaps in sequence numbers:

  • For example assume the counter value which cannot restore to its previous value during transactions...

Blurred answer
Students have asked these similar questions
using r language
using r language
using r langauge
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education