SlideShare a Scribd company logo
1 of 1
Download to read offline
Q3 - A2 - DATABASE SYSTEMS
Consider a database with object X initially 500 and assume that there are two transactions Tran1
and Tran2. Transaction Tran1 reads object X at time t1 and then writes object X and later rollback
at time t6. Transaction Tran2 reads object X at time t5 as 600 and then writes object X and finally
commit object X at time t8. That is, t1 T1:R(X), W(X); t5T2: R(X), W(X), Commit(X); t6 Tran1
Rollback; t8Tran2 Commits.
i. State and explain the above concurrent access problem scenario? 10 Marks)
ii. How best can the above problem be prevented, explain using examples? (10 Marks)
iii. Which transaction property is violated, give reasons? (10 Marks)

More Related Content

More from adarshmarketing08

Question Using the information from the scenario below ou.pdf
Question   Using the information from the scenario below ou.pdfQuestion   Using the information from the scenario below ou.pdf
Question Using the information from the scenario below ou.pdf
adarshmarketing08
 
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdfqueja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
adarshmarketing08
 
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls  1 Dirk es el repartidor de P.pdfque respuesta es correcta pls  1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
adarshmarketing08
 
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
Qu es un grfico cudruple  Un grfico cudruple es un re.pdfQu es un grfico cudruple  Un grfico cudruple es un re.pdf
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
adarshmarketing08
 

More from adarshmarketing08 (20)

Qu significa el trmino suma por resta en trminos de su.pdf
Qu significa el trmino suma por resta en trminos de su.pdfQu significa el trmino suma por resta en trminos de su.pdf
Qu significa el trmino suma por resta en trminos de su.pdf
 
Question 1 70 marks You are given the transactional data .pdf
Question 1  70 marks You are given the transactional data .pdfQuestion 1  70 marks You are given the transactional data .pdf
Question 1 70 marks You are given the transactional data .pdf
 
Question Using the information from the scenario below ou.pdf
Question   Using the information from the scenario below ou.pdfQuestion   Using the information from the scenario below ou.pdf
Question Using the information from the scenario below ou.pdf
 
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdfqueja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
 
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls  1 Dirk es el repartidor de P.pdfque respuesta es correcta pls  1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
 
Qu bonos tendrn el cupn ms alto todo lo dems igual .pdf
Qu bonos tendrn el cupn ms alto todo lo dems igual  .pdfQu bonos tendrn el cupn ms alto todo lo dems igual  .pdf
Qu bonos tendrn el cupn ms alto todo lo dems igual .pdf
 
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdfQu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
 
Qu tipos de genes se transcriben por las ARN polimerasas e.pdf
Qu tipos de genes se transcriben por las ARN polimerasas e.pdfQu tipos de genes se transcriben por las ARN polimerasas e.pdf
Qu tipos de genes se transcriben por las ARN polimerasas e.pdf
 
Qu significa el trmino Requires a Crowd en trminos de .pdf
Qu significa el trmino Requires a Crowd en trminos de .pdfQu significa el trmino Requires a Crowd en trminos de .pdf
Qu significa el trmino Requires a Crowd en trminos de .pdf
 
Qu procesos tienen lugar en el ncleo de una clula Adem.pdf
Qu procesos tienen lugar en el ncleo de una clula  Adem.pdfQu procesos tienen lugar en el ncleo de una clula  Adem.pdf
Qu procesos tienen lugar en el ncleo de una clula Adem.pdf
 
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdf
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdfQu mecanismo NO utilizan las clulas epiteliales para evit.pdf
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdf
 
Qu ocurre con la estructura de una macromolcula que deter.pdf
Qu ocurre con la estructura de una macromolcula que deter.pdfQu ocurre con la estructura de una macromolcula que deter.pdf
Qu ocurre con la estructura de una macromolcula que deter.pdf
 
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdf
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdfQu le sucedera al ADN si la bandeja de gel dentro de una .pdf
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdf
 
Qu hace normalmente el retinoblastoma RB en su estado hi.pdf
Qu hace normalmente el retinoblastoma RB en su estado hi.pdfQu hace normalmente el retinoblastoma RB en su estado hi.pdf
Qu hace normalmente el retinoblastoma RB en su estado hi.pdf
 
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
Qu es un grfico cudruple  Un grfico cudruple es un re.pdfQu es un grfico cudruple  Un grfico cudruple es un re.pdf
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
 
Qu es lo ms probable que contribuya a una escasez mundial.pdf
Qu es lo ms probable que contribuya a una escasez mundial.pdfQu es lo ms probable que contribuya a una escasez mundial.pdf
Qu es lo ms probable que contribuya a una escasez mundial.pdf
 
Qu elementos de xito potencial son cruciales ms all d.pdf
Qu elementos de xito potencial son cruciales ms all d.pdfQu elementos de xito potencial son cruciales ms all d.pdf
Qu elementos de xito potencial son cruciales ms all d.pdf
 
Qu es la matriz extracelular y cmo los azcares en la mat.pdf
Qu es la matriz extracelular y cmo los azcares en la mat.pdfQu es la matriz extracelular y cmo los azcares en la mat.pdf
Qu es la matriz extracelular y cmo los azcares en la mat.pdf
 
Qu es el mtodo de entrevista de pelar la cebolla Sig.pdf
Qu es el mtodo de entrevista de pelar la cebolla   Sig.pdfQu es el mtodo de entrevista de pelar la cebolla   Sig.pdf
Qu es el mtodo de entrevista de pelar la cebolla Sig.pdf
 
Q68 Which of the following statements is FALSE The nudles.pdf
Q68 Which of the following statements is FALSE The nudles.pdfQ68 Which of the following statements is FALSE The nudles.pdf
Q68 Which of the following statements is FALSE The nudles.pdf
 

Recently uploaded

IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
17thcssbs2
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
ashishpaul799
 

Recently uploaded (20)

REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTrain
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 

Q3 A2 DATABASE SYSTEMS Consider a database with object X.pdf

  • 1. Q3 - A2 - DATABASE SYSTEMS Consider a database with object X initially 500 and assume that there are two transactions Tran1 and Tran2. Transaction Tran1 reads object X at time t1 and then writes object X and later rollback at time t6. Transaction Tran2 reads object X at time t5 as 600 and then writes object X and finally commit object X at time t8. That is, t1 T1:R(X), W(X); t5T2: R(X), W(X), Commit(X); t6 Tran1 Rollback; t8Tran2 Commits. i. State and explain the above concurrent access problem scenario? 10 Marks) ii. How best can the above problem be prevented, explain using examples? (10 Marks) iii. Which transaction property is violated, give reasons? (10 Marks)