Question: Q 4 : [ 2 0 % ] The following tables and transactions are given. INSTOCK table [ [ Pid , Inventory location,productsinStock ]
Q: The following tables and transactions are given.
INSTOCK
tablePidInventory location,productsinStockJeddah,Jeddah,Riyadh,Riyadh,Dammam,Dammam,
PRODUCT
tablePidname,pricetableColorPencilEraser,Ink,
tableTTTSELECT productInStock,INSERT INTO INSTOCK,SELECT sumproductinStockFROM INSTOCK,VALUES "Taif", FROM INSTOCKWHERE pidINSERT INTO PRODUCT,,VALUES "note book", SELECT productInStock,,FROM INSTOCK,,WHERE pid
Assumptions:
Transaction isolation levels are READ COMMITTED.
Individual statements are executed atomically.
Show how nonserializable behavior is exhibited when transactions are executed concurrently.
Decide the minimum isolation levels needed for the transactions to ensure serializable behavior. Justify.
Notes on grading: This question will be graded based on the correct results correct isolation levels correct justification and the quality of the answer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
