SlideShare a Scribd company logo
III. Current Trends


Distributed Databases and DBMSs:
       Concepts and Design




                                   Slide 1/32
12.0 Content

                           Content
12.1 Objectives
12.2 Overview of Networking
12.3 Introduction to DDBMSs
   - Concepts                      12.6 Transparency in a DDBMS
   - Advantages and Disadvantages         - Distribution Transparency
   - Homogeneous and Heterogeneous        - Transaction Transparency
12.4 Functions and Architecture           - Performance Transparency
   - Functions of a DDBMS          12.7 Date’s 12 Rules for DDBMs
   - Reference Architecture for a  12.8 Summary
     DDBMS/ Federated MDBS
12.5 Distributed Relational Database Design
   - Data Allocation
   - Fragmentation

                                                          Slide 2/32
12.1 Objectives


                  Objectives
 In this Lecture you will learn:
 •   Concepts.
 •   Advantages and disadvantages of distributed
     databases.
 •   Functions and architecture for a DDBMS.
 •   Distributed database design.
 •   Levels of transparency.
 •   Comparison criteria for DDBMSs.

                                            Slide 3/32
12.2 Overview of Networking


           Overview of Networking
Network: interconnected collection of autonomous computers,
capable of exchanging information.
• Local Area Network (LAN) intended for connecting computers at
same site.
• Wide Area Network (WAN) used when computers or LANs need
to be connected over long distances.

    •WAN   relatively slow
    •Less reliable than LANs.
    •DDBMS using LAN provides much faster response time than
    one using WAN.


                                                        Slide 4/32
12.2 Overview of Networking


           Overview of Networking
Network: interconnected collection of autonomous computers,
capable of exchanging information.
• Local Area Network (LAN) intended for connecting computers at
same site.
• Wide Area Network (WAN) used when computers or LANs need
to be connected over long distances.

    •WAN   relatively slow
    •Less reliable than LANs.
    •DDBMS using LAN provides much faster response time than
    one using WAN.


                                                        Slide 5/32
12.3 Introduction

                           Concepts
 Databases and networks:

 1.       A centralized DBMS could be physically processed
          by several computers distributed across a network
 2.       There could be several separate DBMS on several
          computers distributed across a network
 3.       There may be a Distributed DBMS (DDBMS)
      •     made up of several DBMSs distributed across a network
      •     each with local autonomy
      •     Each participates in at least one global DBMS action
      •     The DDBMS therefore can operate as a single global DBMS




                                                             Slide 6/32
12.3 Introduction

                          Concepts
 DDBMS to Avoid `islands of information’ problem…

 A “Distributed Database”: is a logically interrelated collection of
     shared data (and a description of this data), physically distributed
     over a computer network.
 A “Distributed DBMS” (DDBMS): is a Software system that
     permits the management of the distributed database and makes
     the distribution transparent to users.

 Fundamental Principle: make distribution transparent to user.

      The fact that fragments are stored on different
      computers is hidden from the users


                                                                 Slide 7/32
12.3 Introduction

                            Concepts

DDBMS has following characteristics:
                                              •Data at each site is under
•Collection of logically-related shared data. control of a DBMS.
•Data split into fragments.                   •DBMSs handle local
•Fragments may be replicated.                 applications autonomously.
•Fragments/replicas allocated to sites.       •Each DBMS participates in at
•Sites linked by a communication network. least one global application.




                                                                  Slide 8/32
12.3 Introduction


 Important difference between DDBMS and distributed
 processing !
                              Distributed processing of
DDBMS                         centralised DBMS




                                                  Slide 9/32
12.3 Introduction

           Distributed Processing

Distributed processing of a centralised DBMS has following
characteristics :
•Much more tightly coupled than a DDBMS.
•Database design is same as for standard DBMS
•No attempt to reflect organizational structure
•Much simpler than DDBMS
•More secure than DDBMS
•No local autonomy




                                                     Slide 10/32
12.3 Introduction


Important difference between DDBMS and parallel database
                              Parallel Database
                              Architectures:
DDBMS                         Shared: a)memory b)disk
                              c)nothing




                                                  Slide 11/32
12.3 Introduction

          Why use a DDBMS? (!)
 Advantages:                  Disadvantages:
 •Reflects organizational     •Complexity
 structure                    •Cost
 •Improved shareability and   •Security
   local autonomy             •Integrity control more
 •Improved availability       difficult
 •Improved reliability        •Lack of standards
 •Improved performance        •Lack of experience
 •Economics                   •Database design more
 •Modular growth              complex


                                                  Slide 12/32
12.3 Introduction

              Homogeneous &
          Heterogeneous DDBMSs
Homogeneous: All sites use same DBMS product.
    • Much easier to design and manage.
    • Approach provides incremental growth
    • Allows increased performance.

Heterogeneous: Sites may run different DBMS products,
underlying data models.
   • Sites implemented their own databases - integration considered later.
    •Translations required to allow for • Different hardware.
                                         • Different DBMS products.
                                         • Different hardware and DBMS products.
    •Typical solution is to use gateways.
                                                                   Slide 13/32
12.3 Introduction

      Open Database access and
           interoperability
“The Open Group” formed Specification Working Group (SWG)
to provide specifications that create database infrastructure environment
where there is:
    • Common SQL API :allows client applications to be written that do
    not need to know vendor of DBMS they are accessing.
    • Common database protocol : enables DBMS from one vendor
    to communicate directly with DBMS from another vendor without
    need for a gateway.
    •Common network protocol: allows communications between
    different DBMSs.


                                                                Slide 14/32
12.3 Introduction

           Multidatabase system
                 (MDBS)!
MDBS: DDBMS where each site maintains complete autonomy

• Resides transparently on top of existing database and file systems
   • presents a single database to its users.
• Allows users to access and share data without requiring physical
database integration.

2 types:
• Federated MDBS: looks like a DDBMS for global users and a
centralized DBMS for local users.
• Unfederated MDBS: has no “local” users



                                                         Slide 15/32
12.4 Functions and Architecture of a DDBMS




    Functions and Architecture of
             a DDBMS




                                             Slide 16/32
12.4 Functions and Architecture of a DDBMS


           Functions of a DDBMS
  • Expect DDBMS to have at least the functionality of a DBMS.


  Also to have following functionality:
     •   Extended communication services.
     •   Extended Data Dictionary.
     •   Distributed query processing.
     •   Extended concurrency control.
     •   Extended recovery services.

                                                        Slide 17/32
12.4 Functions and Architecture of a DDBMS


 DDBMS Reference Architecture
 A reference architecture consists of:
    • Set of global external schemas.
    • Global conceptual schema (GCS).
    • Fragmentation schema and allocation schema (see later …)
    • Set of schemas for each local DBMS conforming to 3-level
    ANSI/SPARC.

 Comparison with federated MDBS:
 In DDBMS: GCS is union of all local conceptual schemas.
 In FMDBS: GCS is subset of local conceptual schemas (LCS),
 consisting of data that each local system agrees to share.
 GCS of tightly coupled system involves integration of either parts of
 LCSs or local external schemas.
 FMDBS with no GCS is called loosely coupled.

                                                                Slide 18/32
12.4 Functions and Architecture of a DDBMS




   Distributed Relation Database
               Design




                                             Slide 19/32
12.5 Distributed Relational Database Design


                Data Allocation !
Four alternative strategies regarding placement of data:
• Centralized: single database and DBMS stored at one site with
        users distributed across the network.
• Partitioned: Database partitioned into disjoint fragments, each
fragment assigned to one site.
• Complete Replication: Consists of maintaining complete copy
of      database at each site.
• Selective Replication: Combination of partitioning, replication,
        and centralization.



Comparison of strategies

                                                         Slide 20/32
12.5 Distributed Relational Database Design


                 Data Allocation
Four alternative strategies regarding placement of data:
• Centralized: single database and DBMS stored at one site with
        users distributed across the network.
• Partitioned: Database partitioned into disjoint fragments, each
fragment assigned to one site.
• Complete Replication: Consists of maintaining complete copy
of      database at each site.
• Selective Replication: Combination of partitioning, replication,
        and centralization.



Comparison of strategies

                                                         Slide 21/32
12.5 Distributed Relational Database Design


                  Fragmentation
 Why fragment?
                        Disadvantages: Performance & Integrity.
 Usage:
        - Apps work with views rather than entire relations.
 Efficiency:
        - Data stored close to where most frequently used.
        - Data not needed by local applications is not stored.
 Security:
        - and so not available to unauthorized users.
 Parallelism:
        - With fragments as unit of distribution, T can be divided
                into several subqueries that operate on fragments.

                                                          Slide 22/32
12.5 Distributed Relational Database Design


                  Fragmentation !
Three Correctness of fragmentation rules:
1. Completeness: If relation R decomposed into fragments R1, R2, ...
   Rn, each data item that can be found in R must appear in at least one
   fragment.

2. Reconstruction: Must be possible to define a relational operation
   that will reconstruct R from the fragments.
       - for horizontal fragmentation: Union operation
       - for vertical: Join
3. Disjointness: If data item di appears in fragment Ri, then should not
   appear in any other fragment.
       - Exception: vertical fragmentation.
       - For horizontal fragmentation, data item is a tuple.
       - For vertical fragmentation, data item is an attribute.
                                                              Slide 23/32
12.5 Distributed Relational Database Design


                    Fragmentation !
Four types of fragmentation:
1.   Horizontal:          Consists of a subset of the tuples of a relation.

         - Defined using Selection operation
         - Determined by looking at predicates used by Ts.
         - Involves finding set of minimal (complete and relevant)
     predicates.

         - Set of predicates is complete, iff, any two tuples in same
     fragment are referenced with same probability by any application.
         - Predicate is relevant if there is at least one application that
     accesses fragments differently.

                                                                   Slide 24/32
12.5 Distributed Relational Database Design


                  Fragmentation !
                                                Other possibility is no
Four types of fragmentation:                    fragmentation:

2. Vertical: subset of atts of a relation.
                                                -If relation is small and not
       - Defined using Projection operation updated frequently, may be
       - Determined by establishing affinity of one attribute fragment.
                                                better not to to another.
3. Mixed: horizontal fragment that is vertically fragmented, or a
   vertical fragment that is horizontally fragmented.
        - Defined using Selection and Projection operations
4. Derived: horizontal fragment that is based on horizontal
   fragmentation of a parent relation.
       - Ensures fragments frequently joined together are at same site.
       - Defined using Semijoin operation

                                                                 Slide 25/32
12.6 Distributed Relational Database Design


       Transparency in a DDBMS
Transparency hides implementation details from users.

Overall objective: equivalence to user of DDBMs to
  centralised DBMS
            - FULL transparency not universally accepted objective

Four main types:
1.   Distribution transparency
2.   Transaction transparency
3.   Performance transparency
4.   DBMS transparency (only applicable to heterogeneous)
                                                          Slide 26/32
12.6 Distributed Relational Database Design


      1. Distribution Transparency
Distribution transparency: allows user to perceive database as
   single, logical entity.

If DDBMS exhibits distribution transparency, user does not need to know:
• fragmentation transparency: data is fragmented
• Location transparency: location of data items
• otherwise call this local mapping transparency
• replication transparency : user unaware of replication of fragments

Naming transparency : each item in a DDB must have a unique name.
-One solution: create central name server - loss of some local autonomy.
   - central site may become a bottleneck. - low availability: if the central site fails.
Alternative solution: prefix object with identifier of creator site, each
fragment and its copies. Then each site uses alias.
                                                                             Slide 27/32
12.6 Distributed Relational Database Design


    2. Transaction Transparency
Transaction transparency: Ensures all distributed Ts
   maintain distributed database’s integrity and consistency.

•   Distributed T accesses data stored at more than one
    location.
•   Each T is divided into no. of subTs, one for each site that
    has to be accessed.
•   DDBMS must ensure the indivisibility of both the global T
    and each of the subTs.


                                                       Slide 28/32
12.6 Distributed Relational Database Design


        2. Transaction Transparency
Concurrency transparency: All Ts must execute independently and
    be logically consistent with results obtained if Ts executed in some
    arbitrary serial order.
    •   Replication makes concurrency more complex
Failure transparency: must ensure atomicity and durability of global T.

    •    Means ensuring that subTs of global T either all commit or all abort.
•   Classification transparency: In IBM’s Distributed Relational
    Database Architecture (DRDA), four types of Ts:
    – Remote request
    – Remote unit of work
    – Distributed unit of work
    – Distributed request .

                                                                 Slide 29/32
12.6 Distributed Relational Database Design


   3. Performance Transparency
DDBMS: - no performance degradation due to distributed architecture.
     - determine most cost-effective strategy to execute a request.

Distributed Query Processor (DQP) maps data request into ordered
     sequence of operations on local databases.
     - Must consider fragmentation, replication, and allocation schemas.
DQP has to decide:
     1. which fragment to access
     2. which copy of a fragment to use
     3. which location to use.
- produces execution strategy optimized with respect to some cost function.
Typically, costs associated with a distributed request include: I/O cost;
CPU cost, communication cost.

                                                               Slide 30/32
12.7 Dates 12 Rules for DDBMS


      Date’s 12 Rules for DDBMS
Fundamental Principle: To the user, distributed system should
look exactly like a nondistributed system.
1. Local Autonomy
2. No Reliance on a Central Site
3. Continuous Operation                 Ideals:
4. Location Independence                9. Hardware Independence
5. Fragmentation Independence           10. Operating System
6. Replication Independence                    Independence
7. Distributed Query Processing         11. Network Independence
8. Distributed Transaction Processing   12. Database Independence

                                                         Slide 31/32
12.8 Summary


                          Summary
12.1 Objectives                        12.6 Transparency in a DDBMS
12.2 Overview of Networking                  - Distribution Transparency
12.3 Introduction to DDBMSs                    - Transaction Transparency
 Concepts                                     - Performance Transparency
 Advantages and Disadvantages  12.7 Date’s 12 Rules for DDBMs
 Homogeneous and Heterogeneous
                                               NEXT LECTURE:
12.4 Functions and Architecture              III Current Trends
   Functions of a DDBMS                     Part 2: Distributed DBMSs-
   Reference Architecture for a             Advanced concepts
                                             - advanced concepts
   DDBMS/ Federated MDBS
                                             - protocols for distributed
12.5 Distributed Relational Database   Designdeadlock control
   Data Allocation                          - X/Open Distributed Transaction
   Fragmentation                            Processing Model
                                             - Oracle.

                                                                 Slide 32/32

More Related Content

What's hot

Sun NFS , Case study
Sun NFS , Case study Sun NFS , Case study
Sun NFS , Case study
Shashwat Singh
 
Types of databases
Types of databases   Types of databases
Types of databases
Md Showrov Ahmed
 
Replication in Distributed Database
Replication in Distributed DatabaseReplication in Distributed Database
Replication in Distributed Database
Abhilasha Lahigude
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM
 
Distributed database system
Distributed database systemDistributed database system
Distributed database system
M. Ahmad Mahmood
 
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed Database
Abhilasha Lahigude
 
Types and Functions of DDBMS
Types and Functions of DDBMSTypes and Functions of DDBMS
Types and Functions of DDBMS
Adeel Rasheed
 
Database management system
Database management systemDatabase management system
Database management system
Amit Sarkar
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
Rahul Narang
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
Aya Mahmoud
 
Distributed database
Distributed databaseDistributed database
Distributed database
sanjay joshi
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 
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
Gyanmanjari Institute Of Technology
 
Deductive databases
Deductive databasesDeductive databases
Deductive databases
John Popoola
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
NANDINI SHARMA
 
Data base security & integrity
Data base security &  integrityData base security &  integrity
Data base security & integrity
Pooja Dixit
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Temporal databases
Temporal databasesTemporal databases
Temporal databases
Dabbal Singh Mahara
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
Dinesh Modak
 
Distributed System ppt
Distributed System pptDistributed System ppt

What's hot (20)

Sun NFS , Case study
Sun NFS , Case study Sun NFS , Case study
Sun NFS , Case study
 
Types of databases
Types of databases   Types of databases
Types of databases
 
Replication in Distributed Database
Replication in Distributed DatabaseReplication in Distributed Database
Replication in Distributed Database
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Distributed database system
Distributed database systemDistributed database system
Distributed database system
 
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed Database
 
Types and Functions of DDBMS
Types and Functions of DDBMSTypes and Functions of DDBMS
Types and Functions of DDBMS
 
Database management system
Database management systemDatabase management system
Database management system
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
 
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
 
Deductive databases
Deductive databasesDeductive databases
Deductive databases
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Data base security & integrity
Data base security &  integrityData base security &  integrity
Data base security & integrity
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Temporal databases
Temporal databasesTemporal databases
Temporal databases
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Distributed System ppt
Distributed System pptDistributed System ppt
Distributed System ppt
 

Viewers also liked

Difference between Homogeneous and Heterogeneous
Difference between Homogeneous  and    HeterogeneousDifference between Homogeneous  and    Heterogeneous
Difference between Homogeneous and Heterogeneous
Faraz Qaisrani
 
MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...
MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...
MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...
Institute of Information Systems (HES-SO)
 
CURRENT AND FUTURE TRENDS IN DBMS
CURRENT AND FUTURE TRENDS IN DBMSCURRENT AND FUTURE TRENDS IN DBMS
CURRENT AND FUTURE TRENDS IN DBMS
Gayathri P
 
Local Search Hawaii Michael Dorausch PubCon SEO
Local Search Hawaii Michael Dorausch PubCon SEOLocal Search Hawaii Michael Dorausch PubCon SEO
Local Search Hawaii Michael Dorausch PubCon SEOMichael Dorausch
 
[DSBW Spring 2010] Unit 10: XML and Web And beyond
[DSBW Spring 2010] Unit 10: XML and Web And beyond[DSBW Spring 2010] Unit 10: XML and Web And beyond
[DSBW Spring 2010] Unit 10: XML and Web And beyond
Carles Farré
 
A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...
A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...
A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...Beniamino Murgante
 
Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...
Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...
Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...hamidnazary2002
 
Ontology integration - Heterogeneity, Techniques and more
Ontology integration - Heterogeneity, Techniques and moreOntology integration - Heterogeneity, Techniques and more
Ontology integration - Heterogeneity, Techniques and more
Adriel Café
 
8 ontology integration and interoperability (onto i op)
8 ontology integration and interoperability (onto i op)8 ontology integration and interoperability (onto i op)
8 ontology integration and interoperability (onto i op)
AEGIS-ACCESSIBLE Projects
 
[ABDO] Data Integration
[ABDO] Data Integration[ABDO] Data Integration
[ABDO] Data IntegrationCarles Farré
 
Pal gov.tutorial2.session13 2.gav and lav integration
Pal gov.tutorial2.session13 2.gav and lav integrationPal gov.tutorial2.session13 2.gav and lav integration
Pal gov.tutorial2.session13 2.gav and lav integrationMustafa Jarrar
 
DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)Carles Farré
 
Jarrar: Data Schema Integration
Jarrar: Data Schema Integration Jarrar: Data Schema Integration
Jarrar: Data Schema Integration
Mustafa Jarrar
 
1 ddbms jan 2011_u
1 ddbms jan 2011_u1 ddbms jan 2011_u
1 ddbms jan 2011_u
betheperformer
 
Database , 17 Web
Database , 17 WebDatabase , 17 Web
Database , 17 WebAli Usman
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control system
Alireza Mirzaei
 
Ontology-based Data Integration
Ontology-based Data IntegrationOntology-based Data Integration
Ontology-based Data Integration
Janna Hastings
 

Viewers also liked (20)

Distributed database
Distributed databaseDistributed database
Distributed database
 
Difference between Homogeneous and Heterogeneous
Difference between Homogeneous  and    HeterogeneousDifference between Homogeneous  and    Heterogeneous
Difference between Homogeneous and Heterogeneous
 
MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...
MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...
MUSYOP: Towards a Query Optimization for Heterogeneous Distributed Database S...
 
CURRENT AND FUTURE TRENDS IN DBMS
CURRENT AND FUTURE TRENDS IN DBMSCURRENT AND FUTURE TRENDS IN DBMS
CURRENT AND FUTURE TRENDS IN DBMS
 
Local Search Hawaii Michael Dorausch PubCon SEO
Local Search Hawaii Michael Dorausch PubCon SEOLocal Search Hawaii Michael Dorausch PubCon SEO
Local Search Hawaii Michael Dorausch PubCon SEO
 
[DSBW Spring 2010] Unit 10: XML and Web And beyond
[DSBW Spring 2010] Unit 10: XML and Web And beyond[DSBW Spring 2010] Unit 10: XML and Web And beyond
[DSBW Spring 2010] Unit 10: XML and Web And beyond
 
A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...
A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...
A Data Fusion System for Spatial Data Mining, Analysis and Improvement Silvij...
 
Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...
Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...
Enterprise and Data Mining Ontology Integration to Extract Actionable Knowled...
 
Ontology integration - Heterogeneity, Techniques and more
Ontology integration - Heterogeneity, Techniques and moreOntology integration - Heterogeneity, Techniques and more
Ontology integration - Heterogeneity, Techniques and more
 
8 ontology integration and interoperability (onto i op)
8 ontology integration and interoperability (onto i op)8 ontology integration and interoperability (onto i op)
8 ontology integration and interoperability (onto i op)
 
Lecture 07: Localization and Mapping I
Lecture 07: Localization and Mapping ILecture 07: Localization and Mapping I
Lecture 07: Localization and Mapping I
 
[ABDO] Data Integration
[ABDO] Data Integration[ABDO] Data Integration
[ABDO] Data Integration
 
Pal gov.tutorial2.session13 2.gav and lav integration
Pal gov.tutorial2.session13 2.gav and lav integrationPal gov.tutorial2.session13 2.gav and lav integration
Pal gov.tutorial2.session13 2.gav and lav integration
 
DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)
 
Lecture 09: Localization and Mapping III
Lecture 09: Localization and Mapping IIILecture 09: Localization and Mapping III
Lecture 09: Localization and Mapping III
 
Jarrar: Data Schema Integration
Jarrar: Data Schema Integration Jarrar: Data Schema Integration
Jarrar: Data Schema Integration
 
1 ddbms jan 2011_u
1 ddbms jan 2011_u1 ddbms jan 2011_u
1 ddbms jan 2011_u
 
Database , 17 Web
Database , 17 WebDatabase , 17 Web
Database , 17 Web
 
How to design a linear control system
How to design a linear control systemHow to design a linear control system
How to design a linear control system
 
Ontology-based Data Integration
Ontology-based Data IntegrationOntology-based Data Integration
Ontology-based Data Integration
 

Similar to Distributed databases and dbm ss

Lecture 11 - distributed database
Lecture 11 - distributed databaseLecture 11 - distributed database
Lecture 11 - distributed database
HoneySah
 
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
 
Distributed Databases
Distributed DatabasesDistributed Databases
Distributed Databases
Meghaj Mallick
 
ditributed databases
ditributed databasesditributed databases
ditributed databases
Hira Awan
 
9780538469685 ppt ch12 1er exa
9780538469685 ppt ch12 1er exa9780538469685 ppt ch12 1er exa
9780538469685 ppt ch12 1er exa
carldevsco63
 
Distributed databases
Distributed  databasesDistributed  databases
Distributed databases
Dr. C.V. Suresh Babu
 
Week 17 slides 1 7 multidimensional, parallel, and distributed database
Week 17 slides 1 7 multidimensional, parallel, and distributed databaseWeek 17 slides 1 7 multidimensional, parallel, and distributed database
Week 17 slides 1 7 multidimensional, parallel, and distributed database
Anne Lee
 
Database SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementDatabase SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and Management
OllieShoresna
 
Database 2 ddbms,homogeneous & heterognus adv & disadvan
Database 2 ddbms,homogeneous & heterognus adv & disadvanDatabase 2 ddbms,homogeneous & heterognus adv & disadvan
Database 2 ddbms,homogeneous & heterognus adv & disadvan
Iftikhar Ahmad
 
Lecture#5
Lecture#5Lecture#5
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptx
XanGwaps
 
ADBMS 29Tasks of DDBMS Component
ADBMS 29Tasks of DDBMS ComponentADBMS 29Tasks of DDBMS Component
ADBMS 29Tasks of DDBMS Component
Vaibhav Khanna
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
Tushar Wagh
 
Different types of DBMS
Different types of DBMSDifferent types of DBMS
Different types of DBMS
MdAlAmin187
 
T7
T7T7
ppt on database management
ppt on database management ppt on database management
ppt on database management
sonveer singh baghel
 
Adbms 23 distributed database design
Adbms 23 distributed database designAdbms 23 distributed database design
Adbms 23 distributed database design
Vaibhav Khanna
 

Similar to Distributed databases and dbm ss (20)

Lecture 11 - distributed database
Lecture 11 - distributed databaseLecture 11 - distributed database
Lecture 11 - distributed database
 
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
 
Distributed Databases
Distributed DatabasesDistributed Databases
Distributed Databases
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
distributed dbms
distributed dbmsdistributed dbms
distributed dbms
 
Distributed dbms
Distributed dbmsDistributed dbms
Distributed dbms
 
ditributed databases
ditributed databasesditributed databases
ditributed databases
 
9780538469685 ppt ch12 1er exa
9780538469685 ppt ch12 1er exa9780538469685 ppt ch12 1er exa
9780538469685 ppt ch12 1er exa
 
Distributed databases
Distributed  databasesDistributed  databases
Distributed databases
 
Week 17 slides 1 7 multidimensional, parallel, and distributed database
Week 17 slides 1 7 multidimensional, parallel, and distributed databaseWeek 17 slides 1 7 multidimensional, parallel, and distributed database
Week 17 slides 1 7 multidimensional, parallel, and distributed database
 
Database SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and ManagementDatabase SystemsDesign, Implementation, and Management
Database SystemsDesign, Implementation, and Management
 
Database 2 ddbms,homogeneous & heterognus adv & disadvan
Database 2 ddbms,homogeneous & heterognus adv & disadvanDatabase 2 ddbms,homogeneous & heterognus adv & disadvan
Database 2 ddbms,homogeneous & heterognus adv & disadvan
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptx
 
ADBMS 29Tasks of DDBMS Component
ADBMS 29Tasks of DDBMS ComponentADBMS 29Tasks of DDBMS Component
ADBMS 29Tasks of DDBMS Component
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
 
Different types of DBMS
Different types of DBMSDifferent types of DBMS
Different types of DBMS
 
T7
T7T7
T7
 
ppt on database management
ppt on database management ppt on database management
ppt on database management
 
Adbms 23 distributed database design
Adbms 23 distributed database designAdbms 23 distributed database design
Adbms 23 distributed database design
 

More from Mohd Arif

Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcpMohd Arif
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarpMohd Arif
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocolMohd Arif
 
Project identification
Project identificationProject identification
Project identificationMohd Arif
 
Project evalaution techniques
Project evalaution techniquesProject evalaution techniques
Project evalaution techniquesMohd Arif
 
Presentation
PresentationPresentation
PresentationMohd Arif
 
Pointers in c
Pointers in cPointers in c
Pointers in cMohd Arif
 
Peer to-peer
Peer to-peerPeer to-peer
Peer to-peerMohd Arif
 
Overview of current communications systems
Overview of current communications systemsOverview of current communications systems
Overview of current communications systemsMohd Arif
 
Overall 23 11_2007_hdp
Overall 23 11_2007_hdpOverall 23 11_2007_hdp
Overall 23 11_2007_hdpMohd Arif
 
Objectives of budgeting
Objectives of budgetingObjectives of budgeting
Objectives of budgetingMohd Arif
 
Network management
Network managementNetwork management
Network managementMohd Arif
 
Networing basics
Networing basicsNetworing basics
Networing basicsMohd Arif
 
Iris ngx next generation ip based switching platform
Iris ngx next generation ip based switching platformIris ngx next generation ip based switching platform
Iris ngx next generation ip based switching platformMohd Arif
 
Ip sec and ssl
Ip sec and  sslIp sec and  ssl
Ip sec and sslMohd Arif
 
Ip security in i psec
Ip security in i psecIp security in i psec
Ip security in i psecMohd Arif
 
Intro to comp. hardware
Intro to comp. hardwareIntro to comp. hardware
Intro to comp. hardwareMohd Arif
 

More from Mohd Arif (20)

Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcp
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
Project identification
Project identificationProject identification
Project identification
 
Project evalaution techniques
Project evalaution techniquesProject evalaution techniques
Project evalaution techniques
 
Presentation
PresentationPresentation
Presentation
 
Pointers in c
Pointers in cPointers in c
Pointers in c
 
Peer to-peer
Peer to-peerPeer to-peer
Peer to-peer
 
Overview of current communications systems
Overview of current communications systemsOverview of current communications systems
Overview of current communications systems
 
Overall 23 11_2007_hdp
Overall 23 11_2007_hdpOverall 23 11_2007_hdp
Overall 23 11_2007_hdp
 
Objectives of budgeting
Objectives of budgetingObjectives of budgeting
Objectives of budgeting
 
Network management
Network managementNetwork management
Network management
 
Networing basics
Networing basicsNetworing basics
Networing basics
 
Loaders
LoadersLoaders
Loaders
 
Lists
ListsLists
Lists
 
Iris ngx next generation ip based switching platform
Iris ngx next generation ip based switching platformIris ngx next generation ip based switching platform
Iris ngx next generation ip based switching platform
 
Ip sec and ssl
Ip sec and  sslIp sec and  ssl
Ip sec and ssl
 
Ip security in i psec
Ip security in i psecIp security in i psec
Ip security in i psec
 
Intro to comp. hardware
Intro to comp. hardwareIntro to comp. hardware
Intro to comp. hardware
 
Heap sort
Heap sortHeap sort
Heap sort
 

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Distributed databases and dbm ss

  • 1. III. Current Trends Distributed Databases and DBMSs: Concepts and Design Slide 1/32
  • 2. 12.0 Content Content 12.1 Objectives 12.2 Overview of Networking 12.3 Introduction to DDBMSs - Concepts 12.6 Transparency in a DDBMS - Advantages and Disadvantages - Distribution Transparency - Homogeneous and Heterogeneous - Transaction Transparency 12.4 Functions and Architecture - Performance Transparency - Functions of a DDBMS 12.7 Date’s 12 Rules for DDBMs - Reference Architecture for a 12.8 Summary DDBMS/ Federated MDBS 12.5 Distributed Relational Database Design - Data Allocation - Fragmentation Slide 2/32
  • 3. 12.1 Objectives Objectives In this Lecture you will learn: • Concepts. • Advantages and disadvantages of distributed databases. • Functions and architecture for a DDBMS. • Distributed database design. • Levels of transparency. • Comparison criteria for DDBMSs. Slide 3/32
  • 4. 12.2 Overview of Networking Overview of Networking Network: interconnected collection of autonomous computers, capable of exchanging information. • Local Area Network (LAN) intended for connecting computers at same site. • Wide Area Network (WAN) used when computers or LANs need to be connected over long distances. •WAN relatively slow •Less reliable than LANs. •DDBMS using LAN provides much faster response time than one using WAN. Slide 4/32
  • 5. 12.2 Overview of Networking Overview of Networking Network: interconnected collection of autonomous computers, capable of exchanging information. • Local Area Network (LAN) intended for connecting computers at same site. • Wide Area Network (WAN) used when computers or LANs need to be connected over long distances. •WAN relatively slow •Less reliable than LANs. •DDBMS using LAN provides much faster response time than one using WAN. Slide 5/32
  • 6. 12.3 Introduction Concepts Databases and networks: 1. A centralized DBMS could be physically processed by several computers distributed across a network 2. There could be several separate DBMS on several computers distributed across a network 3. There may be a Distributed DBMS (DDBMS) • made up of several DBMSs distributed across a network • each with local autonomy • Each participates in at least one global DBMS action • The DDBMS therefore can operate as a single global DBMS Slide 6/32
  • 7. 12.3 Introduction Concepts DDBMS to Avoid `islands of information’ problem… A “Distributed Database”: is a logically interrelated collection of shared data (and a description of this data), physically distributed over a computer network. A “Distributed DBMS” (DDBMS): is a Software system that permits the management of the distributed database and makes the distribution transparent to users. Fundamental Principle: make distribution transparent to user. The fact that fragments are stored on different computers is hidden from the users Slide 7/32
  • 8. 12.3 Introduction Concepts DDBMS has following characteristics: •Data at each site is under •Collection of logically-related shared data. control of a DBMS. •Data split into fragments. •DBMSs handle local •Fragments may be replicated. applications autonomously. •Fragments/replicas allocated to sites. •Each DBMS participates in at •Sites linked by a communication network. least one global application. Slide 8/32
  • 9. 12.3 Introduction Important difference between DDBMS and distributed processing ! Distributed processing of DDBMS centralised DBMS Slide 9/32
  • 10. 12.3 Introduction Distributed Processing Distributed processing of a centralised DBMS has following characteristics : •Much more tightly coupled than a DDBMS. •Database design is same as for standard DBMS •No attempt to reflect organizational structure •Much simpler than DDBMS •More secure than DDBMS •No local autonomy Slide 10/32
  • 11. 12.3 Introduction Important difference between DDBMS and parallel database Parallel Database Architectures: DDBMS Shared: a)memory b)disk c)nothing Slide 11/32
  • 12. 12.3 Introduction Why use a DDBMS? (!) Advantages: Disadvantages: •Reflects organizational •Complexity structure •Cost •Improved shareability and •Security local autonomy •Integrity control more •Improved availability difficult •Improved reliability •Lack of standards •Improved performance •Lack of experience •Economics •Database design more •Modular growth complex Slide 12/32
  • 13. 12.3 Introduction Homogeneous & Heterogeneous DDBMSs Homogeneous: All sites use same DBMS product. • Much easier to design and manage. • Approach provides incremental growth • Allows increased performance. Heterogeneous: Sites may run different DBMS products, underlying data models. • Sites implemented their own databases - integration considered later. •Translations required to allow for • Different hardware. • Different DBMS products. • Different hardware and DBMS products. •Typical solution is to use gateways. Slide 13/32
  • 14. 12.3 Introduction Open Database access and interoperability “The Open Group” formed Specification Working Group (SWG) to provide specifications that create database infrastructure environment where there is: • Common SQL API :allows client applications to be written that do not need to know vendor of DBMS they are accessing. • Common database protocol : enables DBMS from one vendor to communicate directly with DBMS from another vendor without need for a gateway. •Common network protocol: allows communications between different DBMSs. Slide 14/32
  • 15. 12.3 Introduction Multidatabase system (MDBS)! MDBS: DDBMS where each site maintains complete autonomy • Resides transparently on top of existing database and file systems • presents a single database to its users. • Allows users to access and share data without requiring physical database integration. 2 types: • Federated MDBS: looks like a DDBMS for global users and a centralized DBMS for local users. • Unfederated MDBS: has no “local” users Slide 15/32
  • 16. 12.4 Functions and Architecture of a DDBMS Functions and Architecture of a DDBMS Slide 16/32
  • 17. 12.4 Functions and Architecture of a DDBMS Functions of a DDBMS • Expect DDBMS to have at least the functionality of a DBMS. Also to have following functionality: • Extended communication services. • Extended Data Dictionary. • Distributed query processing. • Extended concurrency control. • Extended recovery services. Slide 17/32
  • 18. 12.4 Functions and Architecture of a DDBMS DDBMS Reference Architecture A reference architecture consists of: • Set of global external schemas. • Global conceptual schema (GCS). • Fragmentation schema and allocation schema (see later …) • Set of schemas for each local DBMS conforming to 3-level ANSI/SPARC. Comparison with federated MDBS: In DDBMS: GCS is union of all local conceptual schemas. In FMDBS: GCS is subset of local conceptual schemas (LCS), consisting of data that each local system agrees to share. GCS of tightly coupled system involves integration of either parts of LCSs or local external schemas. FMDBS with no GCS is called loosely coupled. Slide 18/32
  • 19. 12.4 Functions and Architecture of a DDBMS Distributed Relation Database Design Slide 19/32
  • 20. 12.5 Distributed Relational Database Design Data Allocation ! Four alternative strategies regarding placement of data: • Centralized: single database and DBMS stored at one site with users distributed across the network. • Partitioned: Database partitioned into disjoint fragments, each fragment assigned to one site. • Complete Replication: Consists of maintaining complete copy of database at each site. • Selective Replication: Combination of partitioning, replication, and centralization. Comparison of strategies Slide 20/32
  • 21. 12.5 Distributed Relational Database Design Data Allocation Four alternative strategies regarding placement of data: • Centralized: single database and DBMS stored at one site with users distributed across the network. • Partitioned: Database partitioned into disjoint fragments, each fragment assigned to one site. • Complete Replication: Consists of maintaining complete copy of database at each site. • Selective Replication: Combination of partitioning, replication, and centralization. Comparison of strategies Slide 21/32
  • 22. 12.5 Distributed Relational Database Design Fragmentation Why fragment? Disadvantages: Performance & Integrity. Usage: - Apps work with views rather than entire relations. Efficiency: - Data stored close to where most frequently used. - Data not needed by local applications is not stored. Security: - and so not available to unauthorized users. Parallelism: - With fragments as unit of distribution, T can be divided into several subqueries that operate on fragments. Slide 22/32
  • 23. 12.5 Distributed Relational Database Design Fragmentation ! Three Correctness of fragmentation rules: 1. Completeness: If relation R decomposed into fragments R1, R2, ... Rn, each data item that can be found in R must appear in at least one fragment. 2. Reconstruction: Must be possible to define a relational operation that will reconstruct R from the fragments. - for horizontal fragmentation: Union operation - for vertical: Join 3. Disjointness: If data item di appears in fragment Ri, then should not appear in any other fragment. - Exception: vertical fragmentation. - For horizontal fragmentation, data item is a tuple. - For vertical fragmentation, data item is an attribute. Slide 23/32
  • 24. 12.5 Distributed Relational Database Design Fragmentation ! Four types of fragmentation: 1. Horizontal: Consists of a subset of the tuples of a relation. - Defined using Selection operation - Determined by looking at predicates used by Ts. - Involves finding set of minimal (complete and relevant) predicates. - Set of predicates is complete, iff, any two tuples in same fragment are referenced with same probability by any application. - Predicate is relevant if there is at least one application that accesses fragments differently. Slide 24/32
  • 25. 12.5 Distributed Relational Database Design Fragmentation ! Other possibility is no Four types of fragmentation: fragmentation: 2. Vertical: subset of atts of a relation. -If relation is small and not - Defined using Projection operation updated frequently, may be - Determined by establishing affinity of one attribute fragment. better not to to another. 3. Mixed: horizontal fragment that is vertically fragmented, or a vertical fragment that is horizontally fragmented. - Defined using Selection and Projection operations 4. Derived: horizontal fragment that is based on horizontal fragmentation of a parent relation. - Ensures fragments frequently joined together are at same site. - Defined using Semijoin operation Slide 25/32
  • 26. 12.6 Distributed Relational Database Design Transparency in a DDBMS Transparency hides implementation details from users. Overall objective: equivalence to user of DDBMs to centralised DBMS - FULL transparency not universally accepted objective Four main types: 1. Distribution transparency 2. Transaction transparency 3. Performance transparency 4. DBMS transparency (only applicable to heterogeneous) Slide 26/32
  • 27. 12.6 Distributed Relational Database Design 1. Distribution Transparency Distribution transparency: allows user to perceive database as single, logical entity. If DDBMS exhibits distribution transparency, user does not need to know: • fragmentation transparency: data is fragmented • Location transparency: location of data items • otherwise call this local mapping transparency • replication transparency : user unaware of replication of fragments Naming transparency : each item in a DDB must have a unique name. -One solution: create central name server - loss of some local autonomy. - central site may become a bottleneck. - low availability: if the central site fails. Alternative solution: prefix object with identifier of creator site, each fragment and its copies. Then each site uses alias. Slide 27/32
  • 28. 12.6 Distributed Relational Database Design 2. Transaction Transparency Transaction transparency: Ensures all distributed Ts maintain distributed database’s integrity and consistency. • Distributed T accesses data stored at more than one location. • Each T is divided into no. of subTs, one for each site that has to be accessed. • DDBMS must ensure the indivisibility of both the global T and each of the subTs. Slide 28/32
  • 29. 12.6 Distributed Relational Database Design 2. Transaction Transparency Concurrency transparency: All Ts must execute independently and be logically consistent with results obtained if Ts executed in some arbitrary serial order. • Replication makes concurrency more complex Failure transparency: must ensure atomicity and durability of global T. • Means ensuring that subTs of global T either all commit or all abort. • Classification transparency: In IBM’s Distributed Relational Database Architecture (DRDA), four types of Ts: – Remote request – Remote unit of work – Distributed unit of work – Distributed request . Slide 29/32
  • 30. 12.6 Distributed Relational Database Design 3. Performance Transparency DDBMS: - no performance degradation due to distributed architecture. - determine most cost-effective strategy to execute a request. Distributed Query Processor (DQP) maps data request into ordered sequence of operations on local databases. - Must consider fragmentation, replication, and allocation schemas. DQP has to decide: 1. which fragment to access 2. which copy of a fragment to use 3. which location to use. - produces execution strategy optimized with respect to some cost function. Typically, costs associated with a distributed request include: I/O cost; CPU cost, communication cost. Slide 30/32
  • 31. 12.7 Dates 12 Rules for DDBMS Date’s 12 Rules for DDBMS Fundamental Principle: To the user, distributed system should look exactly like a nondistributed system. 1. Local Autonomy 2. No Reliance on a Central Site 3. Continuous Operation Ideals: 4. Location Independence 9. Hardware Independence 5. Fragmentation Independence 10. Operating System 6. Replication Independence Independence 7. Distributed Query Processing 11. Network Independence 8. Distributed Transaction Processing 12. Database Independence Slide 31/32
  • 32. 12.8 Summary Summary 12.1 Objectives 12.6 Transparency in a DDBMS 12.2 Overview of Networking  - Distribution Transparency 12.3 Introduction to DDBMSs  - Transaction Transparency  Concepts  - Performance Transparency  Advantages and Disadvantages 12.7 Date’s 12 Rules for DDBMs  Homogeneous and Heterogeneous NEXT LECTURE: 12.4 Functions and Architecture III Current Trends  Functions of a DDBMS Part 2: Distributed DBMSs-  Reference Architecture for a Advanced concepts - advanced concepts  DDBMS/ Federated MDBS - protocols for distributed 12.5 Distributed Relational Database Designdeadlock control  Data Allocation - X/Open Distributed Transaction  Fragmentation Processing Model - Oracle. Slide 32/32

Editor's Notes

  1. So a public key program is used to encrypt a randomly generated encryption key. The random key is used to encrypt the actual message using a symmetric algorithm