Modern Database Management
Modern Database Management
13th Edition
ISBN: 9780134773650
Author: Hoffer
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 9, Problem 9.36PAE
Program Plan Intro

(a)

To construct:

Table for the given transactions assuming the data as transient.

Program Plan Intro

(b)

To construct:

The tables for the given transactions if the data is periodic.

Blurred answer
Students have asked these similar questions
co5ds13h.Ch10.02 or the following two transactions and the initial table values as shown complete the missing blanks in the transaction log below: Part_ID Desrption OnHand OnOrder 57 Assembled Foo 5 0 987 Foo Fastener 12 7 989 Foo Half 7 0 BEGIN TRANSACTION; UPDATE Part SET OnHand = OnHand + 7, OnOrder = OnOrder – 7 WHERE Part_ID = 987; COMMIT; BEGIN TRANSACTION; UPDATE Part SET OnHand = OnHand - 4 WHERE Part_ID = 987; UPDATE Part SET OnHand = OnHand - 2 WHERE Part_ID = 989; UPDATE Part SET OnHand = OnHand + 1 WHERE Part_ID = 57; COMMIT TRL_ID TRX_ID PREV_PTR NEXT_PTR OPERATION TABLE ROW ID ATTRIBUTE BEFORE VALUE AFTER VALUE 1787 109 NULL   START ****         1788 109 1787   UPDATE PART 987 OnHand 12   1789 109     UPDATE PART 987 OnOrder 7   1790 109   NULL COMMIT ****         1791 110 NULL   START ****         1792 110…
The database contains the following data items and their values: A = 1000B = 1500C = 3000 Log file is empty at first (contains no entries). x, y, z, t - transaction local variables (not stored in DB). The following transaction execution schedule is given: T0 T1 T2 START TRANSACTION WRITE(2000, B)       Start TRANSACTION READ (x, A) x=x+n1n2n3n4n5 WRITE (x, A)   CHECKPOINT     START TRANSACTION COMMIT TRANSACTION       READ (y, B) y = y-n3n4n5       READ (z, C) z=z+n1n2n3n4 WRITE (z, C)   WRITE (y, B)   CHECKPOINT     COMMIT TRANSACTION   Read (t, C)   SYSTEM FAIL The activity logging is performed (in the database). Log file entries are not buffered and are saved to disk when each new log file entry is inserted (Immediate Database Modification scheme is used). No fuzzy checkpointing is used. Any of Early lock release and Logical Undo Loging are not used. a)      What will be the contents of…
Database Systems Each branch of the Jaja restaurant has a mainstay menu that is very popular with customers, so information on the availability of the number of servings is needed to be able to serve orders. Here are two transactions that are ordering a food menu at the same time. T1: Start the transaction at time t1, read 10 servings of food stock at t2. Because ordering one portion, the stock is reduced by 1 at t3. On t6, update the stock count, and commit to t7. T2: Transaction T2 starts a transaction on t2, reads the number of stocks in t3 as many as 10. At t4 orders 3 portions. On t5 it updates the stock to 7 and then on t6 commits it. As a result of the T1 and T2 transactions above, there was an error in the amount of food stocks. Make a solution with 2PL. What kinds of problems happened? Give a reason why choosing this type of problem! How much food is still available?

Chapter 9 Solutions

Modern Database Management

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr