SlideShare a Scribd company logo
1 of 20
Distributed Databases
 A distributed database is a set of
interconnected databases that is distributed
over the computer network or internet.
 It manages the distributed database and
provides mechanisms so as to make the
databases transparent to the users
Distributed Databases
 Features
 Databases in the collection are logically interrelated with
each other. Often they represent a single logical database.
 Data is physically stored across multiple sites.
 The processors in the sites are connected via a network.
 A distributed database is not a loosely connected file
system.
Distributed Databases
 Advantages:
 Fast data processing
 Reliability and availability
 Reduced operating cost
 Easier to expand
 Improved sharing ability and local autonomy.
Distributed Databases
 Disadvantages:
 Complex to manage and control.
 The security issues must be carefully managed
 The system require deadlock handling during the
transaction processing
 Need of standardization.
Distributed Databases
 Homogeneous Distributed Database:
 In this, all sites have identical database
management system software.
In such a system, local sites surrender a portion of
their autonomy in terms of their right to change
schemas or database management system software.
Distributed Databases
 Homogeneous Distributed Database:
 This software must also cooperate with other sites
in exchanging information about transactions, to
make transaction processing possible across
multiple sites.
It appears to user as a single system.
Distributed Databases
 Heterogeneous Distributed Database:
 In this, different sites may use different schemas, and
different database management system software.
 The sites may not be aware of one another, and they
may provide only limited facilities for cooperation in
transaction processing.
Distributed Databases
 Data Storage:
 Replication: System maintains multiple copies of
data, stored in different sites, for faster retrieval
and fault tolerance
 Fragmentation: Relation is partitioned into several
fragments stored in distinct sites
Distributed Databases
 Data Replication:
 The process of storing separate copies of the database
at two or more sites.
 Full Replication: Entire relation is stored at all the
sites.
 Partial Replication: Only some fragments of relation
are replicated on the sites.
Distributed Databases
 Data Replication – Advantages:
 Availability
 Parallelism
 Faster Accessing
 Fault Tolerance
 Reduction in Network Load
Distributed Databases
 Data Replication – Disadvantages:
 Increased Storage Requirements
 Increased Cost and Complexity of Data Updating
Distributed Databases
 Data Fragmentation:
 A division of relation r into fragments r1, r2,
r3…rn which contain sufficient information to
reconstruct relation r.
Distributed Databases
 Data Fragmentation – Vertical Fragmentation:
 The fields or columns of a table are grouped into
fragments.
 In order to maintain reconstructiveness, each
fragment should contain the primary key field(s) of
the table.
Distributed Databases
 Data Fragmentation – Vertical Fragmentation:
 Example: Student(RollNo, Marks, City)
 select RollNo from Student
 select City from Student.
Distributed Databases
 Data Fragmentation – Horizontal Fragmentation:
 In this approach, each tuple of r is assigned to one or
more fragments.
 If relation R is fragmentation in r1 and r2 fragments,
then to bring these fragments back to R we must use
union operation.
Distributed Databases
 Data Fragmentation – Horizontal
Fragmentation:
 Example:
Select * from student where marks>50 and
city=‘chennai’
Distributed Databases
 Transaction Processing:
 Transaction may access data at several sites
 Local and Global Transaction
Distributed Databases
 Transaction Processing – Transaction
Manager:
Maintaining a log for recovery purposes
Participating in coordinating the concurrent
execution of the transactions executing at that site
Distributed Databases
 Transaction Processing – Transaction
Coordinator:
 Starting the execution of transactions that
originate at the site.
Distributing subtransactions at appropriate sites for
execution
Distributed Databases
 Transaction Processing – Architecture:

More Related Content

What's hot

Database management system
Database management system   Database management system
Database management system 9535814851
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMSSarmad Ali
 
Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...Rubal Sagwal
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databaseArpee Callejo
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentationa9oolq8
 
Data base management systems ppt
Data base management systems pptData base management systems ppt
Data base management systems pptsuthi
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecturesontumax
 
Database management system
Database management systemDatabase management system
Database management systemGovinda Neupane
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
overview of database concept
overview of database conceptoverview of database concept
overview of database conceptgourav kottawar
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management systemPooja Dixit
 
Importance of database design (1)
Importance of database design (1)Importance of database design (1)
Importance of database design (1)yhen06
 
Presentation of DBMS (database management system) part 1
Presentation of DBMS (database management system) part 1Presentation of DBMS (database management system) part 1
Presentation of DBMS (database management system) part 1Junaid Nadeem
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1Pranab Dasgupta
 

What's hot (20)

Database management system
Database management system   Database management system
Database management system
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...Database Models, Client-Server Architecture, Distributed Database and Classif...
Database Models, Client-Server Architecture, Distributed Database and Classif...
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
A concept of dbms
A concept of dbmsA concept of dbms
A concept of dbms
 
RDBMS
RDBMS RDBMS
RDBMS
 
Data base management systems ppt
Data base management systems pptData base management systems ppt
Data base management systems ppt
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
 
Database management system
Database management systemDatabase management system
Database management system
 
Types of databases
Types of databases   Types of databases
Types of databases
 
DBMS CONCEPT
DBMS CONCEPTDBMS CONCEPT
DBMS CONCEPT
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
 
Importance of database design (1)
Importance of database design (1)Importance of database design (1)
Importance of database design (1)
 
Presentation of DBMS (database management system) part 1
Presentation of DBMS (database management system) part 1Presentation of DBMS (database management system) part 1
Presentation of DBMS (database management system) part 1
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
 

Similar to DBMS - Distributed Databases

Lec 8 (distributed database)
Lec 8 (distributed database)Lec 8 (distributed database)
Lec 8 (distributed database)Sudarshan Mondal
 
Introduction to distributed database
Introduction to distributed databaseIntroduction to distributed database
Introduction to distributed databaseSonia Panesar
 
Distributed database
Distributed databaseDistributed database
Distributed databasesanjay joshi
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management SystemAAKANKSHA JAIN
 
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUESDISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUESAAKANKSHA JAIN
 
Distributed database
Distributed databaseDistributed database
Distributed databasesanjay joshi
 
Distributed database. pdf
Distributed database. pdfDistributed database. pdf
Distributed database. pdfSurajGhadge15
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database SystemSulemang
 
Distributed databases
Distributed databasesDistributed databases
Distributed databasesSuneel Dogra
 
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).pptlatigudata
 
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptxSantosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptxSANTOSH KUMAR MEHER
 
Distributed design alternatives
Distributed design alternativesDistributed design alternatives
Distributed design alternativesPooja Dixit
 

Similar to DBMS - Distributed Databases (20)

Lec 8 (distributed database)
Lec 8 (distributed database)Lec 8 (distributed database)
Lec 8 (distributed database)
 
DDBS PPT (1).pptx
DDBS PPT (1).pptxDDBS PPT (1).pptx
DDBS PPT (1).pptx
 
1 ddbms jan 2011_u
1 ddbms jan 2011_u1 ddbms jan 2011_u
1 ddbms jan 2011_u
 
Introduction to distributed database
Introduction to distributed databaseIntroduction to distributed database
Introduction to distributed database
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management System
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUESDISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
 
Pptofdistributeddb
PptofdistributeddbPptofdistributeddb
Pptofdistributeddb
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed database. pdf
Distributed database. pdfDistributed database. pdf
Distributed database. pdf
 
Advance DBMS
Advance DBMSAdvance DBMS
Advance DBMS
 
Ddbms1
Ddbms1Ddbms1
Ddbms1
 
Distributed D B
Distributed  D BDistributed  D B
Distributed D B
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 
Distributed databases
Distributed databasesDistributed databases
Distributed databases
 
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
 
DDBMS.pptx
DDBMS.pptxDDBMS.pptx
DDBMS.pptx
 
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptxSantosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
 
Distributed design alternatives
Distributed design alternativesDistributed design alternatives
Distributed design alternatives
 

More from MythiliMurugan3

More from MythiliMurugan3 (8)

DS - Quick Sort
DS - Quick SortDS - Quick Sort
DS - Quick Sort
 
DS - Graph Traversal
DS - Graph TraversalDS - Graph Traversal
DS - Graph Traversal
 
DS- Stack ADT
DS- Stack ADTDS- Stack ADT
DS- Stack ADT
 
DS - BST
DS - BSTDS - BST
DS - BST
 
DS - Application of List
DS - Application of ListDS - Application of List
DS - Application of List
 
DBMS - Relational Algebra
DBMS - Relational AlgebraDBMS - Relational Algebra
DBMS - Relational Algebra
 
DBMS - Transactions
DBMS - TransactionsDBMS - Transactions
DBMS - Transactions
 
DBMS - ER Model
DBMS - ER ModelDBMS - ER Model
DBMS - ER Model
 

Recently uploaded

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 

Recently uploaded (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 

DBMS - Distributed Databases

  • 1. Distributed Databases  A distributed database is a set of interconnected databases that is distributed over the computer network or internet.  It manages the distributed database and provides mechanisms so as to make the databases transparent to the users
  • 2. Distributed Databases  Features  Databases in the collection are logically interrelated with each other. Often they represent a single logical database.  Data is physically stored across multiple sites.  The processors in the sites are connected via a network.  A distributed database is not a loosely connected file system.
  • 3. Distributed Databases  Advantages:  Fast data processing  Reliability and availability  Reduced operating cost  Easier to expand  Improved sharing ability and local autonomy.
  • 4. Distributed Databases  Disadvantages:  Complex to manage and control.  The security issues must be carefully managed  The system require deadlock handling during the transaction processing  Need of standardization.
  • 5. Distributed Databases  Homogeneous Distributed Database:  In this, all sites have identical database management system software. In such a system, local sites surrender a portion of their autonomy in terms of their right to change schemas or database management system software.
  • 6. Distributed Databases  Homogeneous Distributed Database:  This software must also cooperate with other sites in exchanging information about transactions, to make transaction processing possible across multiple sites. It appears to user as a single system.
  • 7. Distributed Databases  Heterogeneous Distributed Database:  In this, different sites may use different schemas, and different database management system software.  The sites may not be aware of one another, and they may provide only limited facilities for cooperation in transaction processing.
  • 8. Distributed Databases  Data Storage:  Replication: System maintains multiple copies of data, stored in different sites, for faster retrieval and fault tolerance  Fragmentation: Relation is partitioned into several fragments stored in distinct sites
  • 9. Distributed Databases  Data Replication:  The process of storing separate copies of the database at two or more sites.  Full Replication: Entire relation is stored at all the sites.  Partial Replication: Only some fragments of relation are replicated on the sites.
  • 10. Distributed Databases  Data Replication – Advantages:  Availability  Parallelism  Faster Accessing  Fault Tolerance  Reduction in Network Load
  • 11. Distributed Databases  Data Replication – Disadvantages:  Increased Storage Requirements  Increased Cost and Complexity of Data Updating
  • 12. Distributed Databases  Data Fragmentation:  A division of relation r into fragments r1, r2, r3…rn which contain sufficient information to reconstruct relation r.
  • 13. Distributed Databases  Data Fragmentation – Vertical Fragmentation:  The fields or columns of a table are grouped into fragments.  In order to maintain reconstructiveness, each fragment should contain the primary key field(s) of the table.
  • 14. Distributed Databases  Data Fragmentation – Vertical Fragmentation:  Example: Student(RollNo, Marks, City)  select RollNo from Student  select City from Student.
  • 15. Distributed Databases  Data Fragmentation – Horizontal Fragmentation:  In this approach, each tuple of r is assigned to one or more fragments.  If relation R is fragmentation in r1 and r2 fragments, then to bring these fragments back to R we must use union operation.
  • 16. Distributed Databases  Data Fragmentation – Horizontal Fragmentation:  Example: Select * from student where marks>50 and city=‘chennai’
  • 17. Distributed Databases  Transaction Processing:  Transaction may access data at several sites  Local and Global Transaction
  • 18. Distributed Databases  Transaction Processing – Transaction Manager: Maintaining a log for recovery purposes Participating in coordinating the concurrent execution of the transactions executing at that site
  • 19. Distributed Databases  Transaction Processing – Transaction Coordinator:  Starting the execution of transactions that originate at the site. Distributing subtransactions at appropriate sites for execution
  • 20. Distributed Databases  Transaction Processing – Architecture: