SlideShare a Scribd company logo
1 of 16
DISTRIBUTED
DBMS
B Y PAT E L V I N AY K U M A R D I N E S H C H A N D R A
CONTENT
• Abstract
• Introduction
• Definition
• Architecture
• How it works ?
• Its types
• Characteristics
• Functions
• Advantages
• Disadvantages
ABSTRACT
• The purpose of this presentation is to present an introduction to distributed database
management system (DDBMS).
• We discuss Distributed DBMS, Its architecture, Its design, Its Types, Its Properties, Its
Functionality etc.
INTRODUCTION
• In today’s world of universal dependence on information systems, all sorts of people need access to
companies’ databases. In addition to a company’s own employees, these include the company’s
customers, potential customers, suppliers, and vendors of all types. It is possible for a company to have
all of its databases concentrated at one mainframe computer site with worldwide access to this site
provided by telecommunications networks, including the Internet.
• Although the management of such a centralized system and its databases can be controlled in a well-
contained manner and this can be advantageous, it poses some problems as well. For example, if the
single site goes down, then everyone is blocked from accessing the databases until the site comes
back up again. Also the communications costs from the many far PCs and terminals to the central site
can be expensive.
• One solution to such problems, and an alternative design to the centralized database concept, is known
as ‘Distributed Database’. The idea is that instead of having one, centralized database, we are going to
spread the data out among the cities on the distributed network, each of which has its own computer
and data storage facilities. All of this distributed data is still considered to be a single logical database.
• When a person or process anywhere on the distributed network queries the database, it is not
necessary to know where on the network the data being sought is located. The user just issues the
query, and the result is returned. This feature is known as ‘Location Transparency’. This can become
rather complex very quickly, and it must be managed by sophisticated software known as a ‘Distributed
DEFINITION
• A distributed database (DDB) is a collection of multiple, logically interrelated databases
distributed over a computer network.
• A ‘Distributed Database Management System’ (Distributed DBMS) is the software that
manages the DDB, and provides an access mechanism that makes this distribution
transparent to the user.
• Distributed Database System (DDBS) is the integration of Distributed DB and Distributed
DBMS.
• This integration is achieved through the merging the database and networking
technologies together or it can be described as, a system that runs on a collection of
machines that do not have shared memory, yet looks to the user like a single machine.
ARCHITECTURE OF DISTRIBUTED DBMS
ARCHITECTURE OF DISTRIBUTED DBMS
• Each computer (site) in a distributed system may contain a Transaction Manager (TM)
and a Data Manager (DM) - as we will see later, there is also a Transaction Coordinator
(TC). The TM is responsible for the Transactions received by the computer. The DM
manages the database access on the local computer.
• When a Transaction arrives at the TM, the TM divides the transaction into sub
transactions which are transmitted to those DMs containing the data needed by the
Transaction. (In some cases the TC is responsible for this.)
• The TM processes the collected received data from the sub-transactions' responses and
produces the final result.
• Any TM can communicate with all DMs.
HOW DISTRIBUTED DBMS WORKS ?
TYPES OF DISTRIBUTED DBMS
1. Homogeneous Distributed DBMS
2. Heterogeneous Distributed DBMS
1 . H O M O G E N E O U S
D I S T R I B U T E D D B M S
This is the case when the
application programs are
independent of how the
database is distributed; i.e. if
the distribution of the physical
data can be altered without
having to make alterations to
the application programs.
Here, all sites use the same
DBMS product - same
schemata and same data
dictionaries.
2 . H E T E R O G E N E O U S
D I S T R I B U T E D D B M S
This is the case when the
application programs are
dependent on the physical
location of the stored data; i.e.
application programs must be
altered if data is moved from
one site to another. Here, there
are different kinds of DBMSs
(i.e. Hierarchical, Network,
Relational, Object., etc.), with
different underlying data
models.
CHARACTERISTICS OF DISTRIBUTED DBMS
- A Distributed DBMS developed by a single vendor may contain:
• Data Independence
• Concurrency Control
• Replication facilities
• Recovery facilities
FUNCTIONS OF DISTRIBUTED DBMS
• A DDBMS governs the storage and processing of logically related data over
interconnected computer systems in which both data and processing functions are
distributed among several sites. A DBMS must have at least the following functions to be
classified as distributed :
1. Application interface to interact with the end user, application programs, and other
DBMSs within the distributed database.
2. Validation to analyse data requests for syntax correctness.
3. Transformation to decompose complex requests into atomic data request
components.
4. Query optimization to find the best access strategy. (Which database fragments
must be accessed by the query, and how must data updates, if any, be
synchronized?)
5. Mapping to determine the data location of local and remote fragments.
ADVANTAGES
• Data are located near the greatest demand site :- The data in a distributed database
system are dispersed to match business requirements which reduce the cost of data
access.
• Faster data access :- End users often work with only a locally stored subset of the
company’s data.
• Faster data processing:- A distributed database system spreads out the systems
workload by processing data at several sites.
• Growth facilitation :- New sites can be added to the network without affecting the
operations of other sites.
• Improved communications :- Because local sites are smaller and located closer to
customers, local sites foster better communication among departments and between
customers and company staff.
DISADVANTAGES
• Complexity of management and control :- Applications must recognize data location,
and they must be able to stitch together data from various sites. Database administrators
must have the ability to coordinate database activities to prevent database degradation
due to data anomalies.
• Technological difficulty :- Data integrity, transaction management, concurrency
control, security, backup, recovery, query optimization, access path selection, and so on,
must all be addressed and resolved.
• Security :- The probability of security lapses increases when data are located at
multiple sites. The responsibility of data management will be shared by different people
at several sites.
• Lack of standards :- There are no standard communication protocols at the database
level. For example, different database vendors employ different—and often
incompatible—techniques to manage the distribution of data and processing in a
DDBMS environment.
Distributed database management system

More Related Content

What's hot

Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Rabin BK
 
Ecg analysis in the cloud
Ecg analysis in the cloudEcg analysis in the cloud
Ecg analysis in the cloudgaurav jain
 
Concurrency Control in Distributed Database.
Concurrency Control in Distributed Database.Concurrency Control in Distributed Database.
Concurrency Control in Distributed Database.Meghaj Mallick
 
Lesson 1: Introduction to DBMS
Lesson 1: Introduction to DBMSLesson 1: Introduction to DBMS
Lesson 1: Introduction to DBMSAmrit Kaur
 
Transaction management DBMS
Transaction  management DBMSTransaction  management DBMS
Transaction management DBMSMegha Patel
 
Query Decomposition and data localization
Query Decomposition and data localization Query Decomposition and data localization
Query Decomposition and data localization Hafiz faiz
 
Load Balancing in Parallel and Distributed Database
Load Balancing in Parallel and Distributed DatabaseLoad Balancing in Parallel and Distributed Database
Load Balancing in Parallel and Distributed DatabaseMd. Shamsur Rahim
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architecturesPooja Dixit
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraintsmadhav bansal
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMSkoolkampus
 
Difference between Homogeneous and Heterogeneous
Difference between Homogeneous  and    HeterogeneousDifference between Homogeneous  and    Heterogeneous
Difference between Homogeneous and HeterogeneousFaraz Qaisrani
 

What's hot (20)

Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Distributed DBMS - Unit 6 - Query Processing
Distributed DBMS - Unit 6 - Query ProcessingDistributed DBMS - Unit 6 - Query Processing
Distributed DBMS - Unit 6 - Query Processing
 
Ecg analysis in the cloud
Ecg analysis in the cloudEcg analysis in the cloud
Ecg analysis in the cloud
 
Deductive databases
Deductive databasesDeductive databases
Deductive databases
 
Parallel Database
Parallel DatabaseParallel Database
Parallel Database
 
Concurrency Control in Distributed Database.
Concurrency Control in Distributed Database.Concurrency Control in Distributed Database.
Concurrency Control in Distributed Database.
 
Lesson 1: Introduction to DBMS
Lesson 1: Introduction to DBMSLesson 1: Introduction to DBMS
Lesson 1: Introduction to DBMS
 
Transaction management DBMS
Transaction  management DBMSTransaction  management DBMS
Transaction management DBMS
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Query Decomposition and data localization
Query Decomposition and data localization Query Decomposition and data localization
Query Decomposition and data localization
 
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed DBMS - Unit 3 - Distributed DBMS ArchitectureDistributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
Load Balancing in Parallel and Distributed Database
Load Balancing in Parallel and Distributed DatabaseLoad Balancing in Parallel and Distributed Database
Load Balancing in Parallel and Distributed Database
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architectures
 
Dbms
DbmsDbms
Dbms
 
Triggers and active database
Triggers and active databaseTriggers and active database
Triggers and active database
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS
 
Difference between Homogeneous and Heterogeneous
Difference between Homogeneous  and    HeterogeneousDifference between Homogeneous  and    Heterogeneous
Difference between Homogeneous and Heterogeneous
 
Distributed dbms
Distributed dbmsDistributed dbms
Distributed dbms
 

Similar to Distributed database management system

Database SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementDatabase SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementOllieShoresna
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Surya Swaroop
 
lecture-13.pptx
lecture-13.pptxlecture-13.pptx
lecture-13.pptxlaiba29012
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsKunal Anand
 
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
 
Database management system
Database management systemDatabase management system
Database management systemAmit Sarkar
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxRamyaGr4
 
My seminar on distributed dbms
My seminar on distributed dbmsMy seminar on distributed dbms
My seminar on distributed dbmsVinay D. Patel
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptxAaravSharma743156
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxXanGwaps
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01ITNet
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1Jyothis Menon
 

Similar to Distributed database management system (20)

Distributed dbms (ddbms)
Distributed dbms (ddbms)Distributed dbms (ddbms)
Distributed dbms (ddbms)
 
DDBMS
DDBMSDDBMS
DDBMS
 
Database SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementDatabase SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and Management
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
lecture-13.pptx
lecture-13.pptxlecture-13.pptx
lecture-13.pptx
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
 
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
 
Csc 303
Csc 303 Csc 303
Csc 303
 
Database management system
Database management systemDatabase management system
Database management system
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
My seminar on distributed dbms
My seminar on distributed dbmsMy seminar on distributed dbms
My seminar on distributed dbms
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptx
 
ppt on database management
ppt on database management ppt on database management
ppt on database management
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 

Recently uploaded

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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Recently uploaded (20)

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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
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🔝
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

Distributed database management system

  • 1. DISTRIBUTED DBMS B Y PAT E L V I N AY K U M A R D I N E S H C H A N D R A
  • 2. CONTENT • Abstract • Introduction • Definition • Architecture • How it works ? • Its types • Characteristics • Functions • Advantages • Disadvantages
  • 3. ABSTRACT • The purpose of this presentation is to present an introduction to distributed database management system (DDBMS). • We discuss Distributed DBMS, Its architecture, Its design, Its Types, Its Properties, Its Functionality etc.
  • 4. INTRODUCTION • In today’s world of universal dependence on information systems, all sorts of people need access to companies’ databases. In addition to a company’s own employees, these include the company’s customers, potential customers, suppliers, and vendors of all types. It is possible for a company to have all of its databases concentrated at one mainframe computer site with worldwide access to this site provided by telecommunications networks, including the Internet. • Although the management of such a centralized system and its databases can be controlled in a well- contained manner and this can be advantageous, it poses some problems as well. For example, if the single site goes down, then everyone is blocked from accessing the databases until the site comes back up again. Also the communications costs from the many far PCs and terminals to the central site can be expensive. • One solution to such problems, and an alternative design to the centralized database concept, is known as ‘Distributed Database’. The idea is that instead of having one, centralized database, we are going to spread the data out among the cities on the distributed network, each of which has its own computer and data storage facilities. All of this distributed data is still considered to be a single logical database. • When a person or process anywhere on the distributed network queries the database, it is not necessary to know where on the network the data being sought is located. The user just issues the query, and the result is returned. This feature is known as ‘Location Transparency’. This can become rather complex very quickly, and it must be managed by sophisticated software known as a ‘Distributed
  • 5. DEFINITION • A distributed database (DDB) is a collection of multiple, logically interrelated databases distributed over a computer network. • A ‘Distributed Database Management System’ (Distributed DBMS) is the software that manages the DDB, and provides an access mechanism that makes this distribution transparent to the user. • Distributed Database System (DDBS) is the integration of Distributed DB and Distributed DBMS. • This integration is achieved through the merging the database and networking technologies together or it can be described as, a system that runs on a collection of machines that do not have shared memory, yet looks to the user like a single machine.
  • 7. ARCHITECTURE OF DISTRIBUTED DBMS • Each computer (site) in a distributed system may contain a Transaction Manager (TM) and a Data Manager (DM) - as we will see later, there is also a Transaction Coordinator (TC). The TM is responsible for the Transactions received by the computer. The DM manages the database access on the local computer. • When a Transaction arrives at the TM, the TM divides the transaction into sub transactions which are transmitted to those DMs containing the data needed by the Transaction. (In some cases the TC is responsible for this.) • The TM processes the collected received data from the sub-transactions' responses and produces the final result. • Any TM can communicate with all DMs.
  • 9. TYPES OF DISTRIBUTED DBMS 1. Homogeneous Distributed DBMS 2. Heterogeneous Distributed DBMS
  • 10. 1 . H O M O G E N E O U S D I S T R I B U T E D D B M S This is the case when the application programs are independent of how the database is distributed; i.e. if the distribution of the physical data can be altered without having to make alterations to the application programs. Here, all sites use the same DBMS product - same schemata and same data dictionaries.
  • 11. 2 . H E T E R O G E N E O U S D I S T R I B U T E D D B M S This is the case when the application programs are dependent on the physical location of the stored data; i.e. application programs must be altered if data is moved from one site to another. Here, there are different kinds of DBMSs (i.e. Hierarchical, Network, Relational, Object., etc.), with different underlying data models.
  • 12. CHARACTERISTICS OF DISTRIBUTED DBMS - A Distributed DBMS developed by a single vendor may contain: • Data Independence • Concurrency Control • Replication facilities • Recovery facilities
  • 13. FUNCTIONS OF DISTRIBUTED DBMS • A DDBMS governs the storage and processing of logically related data over interconnected computer systems in which both data and processing functions are distributed among several sites. A DBMS must have at least the following functions to be classified as distributed : 1. Application interface to interact with the end user, application programs, and other DBMSs within the distributed database. 2. Validation to analyse data requests for syntax correctness. 3. Transformation to decompose complex requests into atomic data request components. 4. Query optimization to find the best access strategy. (Which database fragments must be accessed by the query, and how must data updates, if any, be synchronized?) 5. Mapping to determine the data location of local and remote fragments.
  • 14. ADVANTAGES • Data are located near the greatest demand site :- The data in a distributed database system are dispersed to match business requirements which reduce the cost of data access. • Faster data access :- End users often work with only a locally stored subset of the company’s data. • Faster data processing:- A distributed database system spreads out the systems workload by processing data at several sites. • Growth facilitation :- New sites can be added to the network without affecting the operations of other sites. • Improved communications :- Because local sites are smaller and located closer to customers, local sites foster better communication among departments and between customers and company staff.
  • 15. DISADVANTAGES • Complexity of management and control :- Applications must recognize data location, and they must be able to stitch together data from various sites. Database administrators must have the ability to coordinate database activities to prevent database degradation due to data anomalies. • Technological difficulty :- Data integrity, transaction management, concurrency control, security, backup, recovery, query optimization, access path selection, and so on, must all be addressed and resolved. • Security :- The probability of security lapses increases when data are located at multiple sites. The responsibility of data management will be shared by different people at several sites. • Lack of standards :- There are no standard communication protocols at the database level. For example, different database vendors employ different—and often incompatible—techniques to manage the distribution of data and processing in a DDBMS environment.