SlideShare a Scribd company logo
1 of 7
Download to read offline
©Silberschatz, Korth and Sudarshan
1.1
Database System Concepts - 7th Edition
Welcome to MCC539 !
Advanced DBMS
©Silberschatz, Korth and Sudarshan
1.7
Database System Concepts - 7th Edition
 Course Text Book
• Database System Concepts- 7th edition,
Silberschatz, Korth and Sudarshan
©Silberschatz, Korth and Sudarshan
20.35
Database System Concepts - 7th Edition
Distributed Systems
▪ Data spread over multiple machines (also referred to as sites or
nodes).
▪ Local-area networks (LANs)
▪ Wide-area networks (WANs)
• Higher latency
site A site C
site B
communication
via network
network
©Silberschatz, Korth and Sudarshan
20.36
Database System Concepts - 7th Edition
Distributed Databases
▪ Homogeneous distributed databases
• Same software/schema on all sites, data may be partitioned
among sites
• Goal: provide a view of a single database, hiding details of
distribution
▪ Heterogeneous distributed databases
• Different software/schema on different sites
• Goal: integrate existing databases to provide useful functionality
▪ Differentiate between local transactions and global transactions
• A local transaction accesses data in the single site at which the
transaction was initiated.
• A global transaction either accesses data in a site different from
the one at which the transaction was initiated or accesses data in
several different sites.
©Silberschatz, Korth and Sudarshan
20.37
Database System Concepts - 7th Edition
Data Integration and Distributed
Databases
▪ Data integration between multiple distributed databases
▪ Benefits:
• Sharing data – users at one site able to access the data residing
at some other sites.
• Autonomy – each site is able to retain a degree of control over
data stored locally.
©Silberschatz, Korth and Sudarshan
20.38
Database System Concepts - 7th Edition
Availability
▪ Network partitioning
▪ Availability of system
• If all nodes are required for system to function, failure of even one node
stops system functioning.
• Higher system availability through redundancy
▪ data can be replicated at remote sites, and system can function
even if a site fails.
©Silberschatz, Korth and Sudarshan
20.39
Database System Concepts - 7th Edition
Implementation Issues for Distributed
Databases
▪ Atomicity needed even for transactions that update data at multiple
sites
▪ The two-phase commit protocol (2PC) is used to ensure atomicity
• Basic idea: each site executes transaction until just before
commit, and the leaves final decision to a coordinator
• Each site must follow decision of coordinator, even if there is a
failure while waiting for coordinators decision
▪ 2PC is not always appropriate: other transaction models based on
persistent messaging, and workflows, are also used
▪ Distributed concurrency control (and deadlock detection) required
▪ Data items may be replicated to improve data availability

More Related Content

What's hot

Distributed databases and dbm ss
Distributed databases and dbm ssDistributed databases and dbm ss
Distributed databases and dbm ss
Mohd Arif
 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 Introduction
Ali Usman
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
emailharmeet
 

What's hot (15)

Distributed database system
Distributed database systemDistributed database system
Distributed database system
 
Components of ddbms
Components of ddbmsComponents of ddbms
Components of ddbms
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed databases and dbm ss
Distributed databases and dbm ssDistributed databases and dbm ss
Distributed databases and dbm ss
 
Distributed database management system
Distributed database management systemDistributed database management system
Distributed database management system
 
Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)
 
Distribution transparency and Distributed transaction
Distribution transparency and Distributed transactionDistribution transparency and Distributed transaction
Distribution transparency and Distributed transaction
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systems
 
Distributed dbms
Distributed dbmsDistributed dbms
Distributed dbms
 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 Introduction
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
 
Ch17
Ch17Ch17
Ch17
 
Intro to Distributed Database Management System
Intro to Distributed Database Management SystemIntro to Distributed Database Management System
Intro to Distributed Database Management System
 
Cluster computings
Cluster computingsCluster computings
Cluster computings
 
Storage Area Networks Unit 1 Notes
Storage Area Networks Unit 1 NotesStorage Area Networks Unit 1 Notes
Storage Area Networks Unit 1 Notes
 

Similar to Distributed_databases.pdf

Database SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementDatabase SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and Management
OllieShoresna
 
Chapter-6 Distribute Database system (3).ppt
Chapter-6 Distribute Database system (3).pptChapter-6 Distribute Database system (3).ppt
Chapter-6 Distribute Database system (3).ppt
latigudata
 
Big data and hadoop
Big data and hadoopBig data and hadoop
Big data and hadoop
Mohit Tare
 

Similar to Distributed_databases.pdf (20)

Database SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementDatabase SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and Management
 
9780538469685 ppt ch12 1er exa
9780538469685 ppt ch12 1er exa9780538469685 ppt ch12 1er exa
9780538469685 ppt ch12 1er exa
 
Ch19
Ch19Ch19
Ch19
 
Distributed Database management system .pptx
Distributed Database management system .pptxDistributed Database management system .pptx
Distributed Database management system .pptx
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
1 ddb
1 ddb1 ddb
1 ddb
 
InterSystems IRIS Data Platfrom: Sharding and Scalability
InterSystems IRIS Data Platfrom: Sharding and ScalabilityInterSystems IRIS Data Platfrom: Sharding and Scalability
InterSystems IRIS Data Platfrom: Sharding and Scalability
 
Chapter-6 Distribute Database system (3).ppt
Chapter-6 Distribute Database system (3).pptChapter-6 Distribute Database system (3).ppt
Chapter-6 Distribute Database system (3).ppt
 
lecture-13.pptx
lecture-13.pptxlecture-13.pptx
lecture-13.pptx
 
LISA2017 Big Three Cloud Networking
LISA2017 Big Three Cloud NetworkingLISA2017 Big Three Cloud Networking
LISA2017 Big Three Cloud Networking
 
Hbase hive pig
Hbase hive pigHbase hive pig
Hbase hive pig
 
ch19 (1).ppt
ch19 (1).pptch19 (1).ppt
ch19 (1).ppt
 
ch19.ppt
ch19.pptch19.ppt
ch19.ppt
 
ch19.ppt
ch19.pptch19.ppt
ch19.ppt
 
Hbase hivepig
Hbase hivepigHbase hivepig
Hbase hivepig
 
distributed db unit1 korth.ppt
distributed db unit1 korth.pptdistributed db unit1 korth.ppt
distributed db unit1 korth.ppt
 
nnnn.pptx
nnnn.pptxnnnn.pptx
nnnn.pptx
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Big data and hadoop
Big data and hadoopBig data and hadoop
Big data and hadoop
 
Sayed database system_architecture
Sayed database system_architectureSayed database system_architecture
Sayed database system_architecture
 

Recently uploaded

1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

Distributed_databases.pdf

  • 1. ©Silberschatz, Korth and Sudarshan 1.1 Database System Concepts - 7th Edition Welcome to MCC539 ! Advanced DBMS
  • 2. ©Silberschatz, Korth and Sudarshan 1.7 Database System Concepts - 7th Edition  Course Text Book • Database System Concepts- 7th edition, Silberschatz, Korth and Sudarshan
  • 3. ©Silberschatz, Korth and Sudarshan 20.35 Database System Concepts - 7th Edition Distributed Systems ▪ Data spread over multiple machines (also referred to as sites or nodes). ▪ Local-area networks (LANs) ▪ Wide-area networks (WANs) • Higher latency site A site C site B communication via network network
  • 4. ©Silberschatz, Korth and Sudarshan 20.36 Database System Concepts - 7th Edition Distributed Databases ▪ Homogeneous distributed databases • Same software/schema on all sites, data may be partitioned among sites • Goal: provide a view of a single database, hiding details of distribution ▪ Heterogeneous distributed databases • Different software/schema on different sites • Goal: integrate existing databases to provide useful functionality ▪ Differentiate between local transactions and global transactions • A local transaction accesses data in the single site at which the transaction was initiated. • A global transaction either accesses data in a site different from the one at which the transaction was initiated or accesses data in several different sites.
  • 5. ©Silberschatz, Korth and Sudarshan 20.37 Database System Concepts - 7th Edition Data Integration and Distributed Databases ▪ Data integration between multiple distributed databases ▪ Benefits: • Sharing data – users at one site able to access the data residing at some other sites. • Autonomy – each site is able to retain a degree of control over data stored locally.
  • 6. ©Silberschatz, Korth and Sudarshan 20.38 Database System Concepts - 7th Edition Availability ▪ Network partitioning ▪ Availability of system • If all nodes are required for system to function, failure of even one node stops system functioning. • Higher system availability through redundancy ▪ data can be replicated at remote sites, and system can function even if a site fails.
  • 7. ©Silberschatz, Korth and Sudarshan 20.39 Database System Concepts - 7th Edition Implementation Issues for Distributed Databases ▪ Atomicity needed even for transactions that update data at multiple sites ▪ The two-phase commit protocol (2PC) is used to ensure atomicity • Basic idea: each site executes transaction until just before commit, and the leaves final decision to a coordinator • Each site must follow decision of coordinator, even if there is a failure while waiting for coordinators decision ▪ 2PC is not always appropriate: other transaction models based on persistent messaging, and workflows, are also used ▪ Distributed concurrency control (and deadlock detection) required ▪ Data items may be replicated to improve data availability