SlideShare a Scribd company logo
1 of 3
LOVELY PROFESSIONAL UNIVERSITY

                                          Model HOME WORK: #4

  Code : CSE 351                                                     Course Title: DATABASE SYSTEMS

  School: LHST                                                       Department: CSE/IT

Name of the faculty member: Monalisa Panigrahi

Class: B.Tech                     Term: 2                  Section: A1802            Batch: 2008

Max. Marks: 5                  DOA: 6-04-2011            DOS: 18-04-2011             DOT: 18-04-2011


                                             PART – A
      1. Assume that the Banking system is implemented using an RDBMS. What are the concurrency control
         measures one has to take, in order to avoid concurrency related problems in the above system? How
         can the deadlock be avoided in this system? How can we implement recovery techniques in such a
         system?


      2. Design a Query processing engine with all the basic functions for RDBMS ?


      3. Why Check points are needed in a Recovery System ?



                                             PART – B

      4. How does the concept of an object in the object-oriented model differ from the concept of an entity in
         the entity relationship model ?



      5. In a Schedule S, two transactions T1 and T2 are executing concurrently. The execution order of those
         transaction is given below. What are the problems with the concurrency ?
Schedule S




T1          T2

Read A

A= A-1000   Read B

            B=B+1000

Read B

B=B+500

            Read A

Write B     A= A+500

            Write A

            Write B

Write A     Commit

Commit
6. Why do database systems support concurrent execution of transactions, in spite of the extra
   programming effort needed to ensure that concurrent execution does not cause any problems ?

More Related Content

Viewers also liked

Product Development and Market Expansion: A Real Options Model
Product Development and Market Expansion: A Real Options ModelProduct Development and Market Expansion: A Real Options Model
Product Development and Market Expansion: A Real Options ModelAlberto Micalizzi
 
Netherlands
NetherlandsNetherlands
NetherlandsLexi34
 
Integrale ondersteuning van leren en werken 1.3 final
Integrale ondersteuning van leren en werken 1.3 finalIntegrale ondersteuning van leren en werken 1.3 final
Integrale ondersteuning van leren en werken 1.3 finalsjoerd_de_vries
 
2011-04-05 Open Textbooks: The College Student Speaks Out (Webinar)
2011-04-05 Open Textbooks: The College Student Speaks Out  (Webinar)2011-04-05 Open Textbooks: The College Student Speaks Out  (Webinar)
2011-04-05 Open Textbooks: The College Student Speaks Out (Webinar)Nicole Allen
 
Edct 203 11b
Edct 203 11bEdct 203 11b
Edct 203 11bcolinissa
 
SPIC MACAY: Raison d’etre
SPIC MACAY: Raison d’etreSPIC MACAY: Raison d’etre
SPIC MACAY: Raison d’etreDhanada Mishra
 
Panel lavar dientes
Panel lavar dientesPanel lavar dientes
Panel lavar dientesmlgg007
 
National Conference for the IASCW Presentation Athlone
National Conference for the IASCW Presentation AthloneNational Conference for the IASCW Presentation Athlone
National Conference for the IASCW Presentation AthloneSocial Care Ireland
 
Presentation 15 04 10_long_v3
Presentation 15 04 10_long_v3Presentation 15 04 10_long_v3
Presentation 15 04 10_long_v3Yellie Alkema
 
2007-10-19 Working With Faculty (SWSLC)
2007-10-19 Working With Faculty (SWSLC)2007-10-19 Working With Faculty (SWSLC)
2007-10-19 Working With Faculty (SWSLC)Nicole Allen
 
Dare de seama.2011
Dare de seama.2011Dare de seama.2011
Dare de seama.2011Adela Negura
 
Análisis de la realidad en intervención social
Análisis de la realidad en intervención socialAnálisis de la realidad en intervención social
Análisis de la realidad en intervención socialAlberto Herranz Peris
 

Viewers also liked (20)

Digestion game
Digestion gameDigestion game
Digestion game
 
Product Development and Market Expansion: A Real Options Model
Product Development and Market Expansion: A Real Options ModelProduct Development and Market Expansion: A Real Options Model
Product Development and Market Expansion: A Real Options Model
 
جعفر منصور
جعفر منصورجعفر منصور
جعفر منصور
 
Maltrato infantil
Maltrato infantilMaltrato infantil
Maltrato infantil
 
Netherlands
NetherlandsNetherlands
Netherlands
 
Integrale ondersteuning van leren en werken 1.3 final
Integrale ondersteuning van leren en werken 1.3 finalIntegrale ondersteuning van leren en werken 1.3 final
Integrale ondersteuning van leren en werken 1.3 final
 
2011-04-05 Open Textbooks: The College Student Speaks Out (Webinar)
2011-04-05 Open Textbooks: The College Student Speaks Out  (Webinar)2011-04-05 Open Textbooks: The College Student Speaks Out  (Webinar)
2011-04-05 Open Textbooks: The College Student Speaks Out (Webinar)
 
Cleopatra
CleopatraCleopatra
Cleopatra
 
Edct 203 11b
Edct 203 11bEdct 203 11b
Edct 203 11b
 
SPIC MACAY: Raison d’etre
SPIC MACAY: Raison d’etreSPIC MACAY: Raison d’etre
SPIC MACAY: Raison d’etre
 
Gadgets(autosaved)
Gadgets(autosaved)Gadgets(autosaved)
Gadgets(autosaved)
 
Panel lavar dientes
Panel lavar dientesPanel lavar dientes
Panel lavar dientes
 
Simt advertment
Simt advertmentSimt advertment
Simt advertment
 
National Conference for the IASCW Presentation Athlone
National Conference for the IASCW Presentation AthloneNational Conference for the IASCW Presentation Athlone
National Conference for the IASCW Presentation Athlone
 
LEED EBOM 101
LEED EBOM 101LEED EBOM 101
LEED EBOM 101
 
Creativity Killers
Creativity KillersCreativity Killers
Creativity Killers
 
Presentation 15 04 10_long_v3
Presentation 15 04 10_long_v3Presentation 15 04 10_long_v3
Presentation 15 04 10_long_v3
 
2007-10-19 Working With Faculty (SWSLC)
2007-10-19 Working With Faculty (SWSLC)2007-10-19 Working With Faculty (SWSLC)
2007-10-19 Working With Faculty (SWSLC)
 
Dare de seama.2011
Dare de seama.2011Dare de seama.2011
Dare de seama.2011
 
Análisis de la realidad en intervención social
Análisis de la realidad en intervención socialAnálisis de la realidad en intervención social
Análisis de la realidad en intervención social
 

Similar to Database Concurrency Control Measures

A. Can InciFIN 465Innovations in Contemporary FinanceP.docx
A. Can InciFIN 465Innovations in Contemporary FinanceP.docxA. Can InciFIN 465Innovations in Contemporary FinanceP.docx
A. Can InciFIN 465Innovations in Contemporary FinanceP.docxbartholomeocoombs
 
Student database management system
Student database management systemStudent database management system
Student database management systemSnehal Raut
 
Session 2 - Akyildiz, Beinecke, Yee at MLconf NYC
Session 2 - Akyildiz, Beinecke, Yee at MLconf NYCSession 2 - Akyildiz, Beinecke, Yee at MLconf NYC
Session 2 - Akyildiz, Beinecke, Yee at MLconf NYCMLconf
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systemssmumbahelp
 
School management System
School management SystemSchool management System
School management SystemHATIM Bhagat
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systemssmumbahelp
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_designTushar Rajput
 
files_1570175665_204715750.pdf
files_1570175665_204715750.pdffiles_1570175665_204715750.pdf
files_1570175665_204715750.pdfbeherapravat936
 
Bba205 management information system
Bba205   management information systemBba205   management information system
Bba205 management information systemsmumbahelp
 
Notifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docx
Notifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docxNotifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docx
Notifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docxpicklesvalery
 
Chapter 2
Chapter 2Chapter 2
Chapter 2uabir
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)anita bodke
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)anita bodke
 
Documentation project of college management [1]
Documentation project of college management [1]Documentation project of college management [1]
Documentation project of college management [1]Priyaranjan Verma
 
Business Intelligence
Business IntelligenceBusiness Intelligence
Business IntelligenceTing Yin
 

Similar to Database Concurrency Control Measures (20)

Is 4 th
Is 4 thIs 4 th
Is 4 th
 
A. Can InciFIN 465Innovations in Contemporary FinanceP.docx
A. Can InciFIN 465Innovations in Contemporary FinanceP.docxA. Can InciFIN 465Innovations in Contemporary FinanceP.docx
A. Can InciFIN 465Innovations in Contemporary FinanceP.docx
 
Mb0047
Mb0047Mb0047
Mb0047
 
Student database management system
Student database management systemStudent database management system
Student database management system
 
Management information system
Management information systemManagement information system
Management information system
 
Session 2 - Akyildiz, Beinecke, Yee at MLconf NYC
Session 2 - Akyildiz, Beinecke, Yee at MLconf NYCSession 2 - Akyildiz, Beinecke, Yee at MLconf NYC
Session 2 - Akyildiz, Beinecke, Yee at MLconf NYC
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
 
Ems
EmsEms
Ems
 
School management System
School management SystemSchool management System
School management System
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_design
 
files_1570175665_204715750.pdf
files_1570175665_204715750.pdffiles_1570175665_204715750.pdf
files_1570175665_204715750.pdf
 
Bba205 management information system
Bba205   management information systemBba205   management information system
Bba205 management information system
 
Print report
Print reportPrint report
Print report
 
Notifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docx
Notifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docxNotifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docx
Notifications My CommunityHomeBBA 3551-16P-5A19-S3, Inform.docx
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)
 
Scheme g fifth semester (co)
Scheme   g fifth semester (co)Scheme   g fifth semester (co)
Scheme g fifth semester (co)
 
Documentation project of college management [1]
Documentation project of college management [1]Documentation project of college management [1]
Documentation project of college management [1]
 
Business Intelligence
Business IntelligenceBusiness Intelligence
Business Intelligence
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

Database Concurrency Control Measures

  • 1. LOVELY PROFESSIONAL UNIVERSITY Model HOME WORK: #4 Code : CSE 351 Course Title: DATABASE SYSTEMS School: LHST Department: CSE/IT Name of the faculty member: Monalisa Panigrahi Class: B.Tech Term: 2 Section: A1802 Batch: 2008 Max. Marks: 5 DOA: 6-04-2011 DOS: 18-04-2011 DOT: 18-04-2011 PART – A 1. Assume that the Banking system is implemented using an RDBMS. What are the concurrency control measures one has to take, in order to avoid concurrency related problems in the above system? How can the deadlock be avoided in this system? How can we implement recovery techniques in such a system? 2. Design a Query processing engine with all the basic functions for RDBMS ? 3. Why Check points are needed in a Recovery System ? PART – B 4. How does the concept of an object in the object-oriented model differ from the concept of an entity in the entity relationship model ? 5. In a Schedule S, two transactions T1 and T2 are executing concurrently. The execution order of those transaction is given below. What are the problems with the concurrency ?
  • 2. Schedule S T1 T2 Read A A= A-1000 Read B B=B+1000 Read B B=B+500 Read A Write B A= A+500 Write A Write B Write A Commit Commit
  • 3. 6. Why do database systems support concurrent execution of transactions, in spite of the extra programming effort needed to ensure that concurrent execution does not cause any problems ?