SlideShare a Scribd company logo
1 of 26
Chapter – 6
Advance Database Architecture
Topics:
 Distributed Databases
 Homogenous and Heterogenous Databases
Objectives
1. Explain the distributed databases
2. Differentiate Parallel and distributed database
3. Explain the difference between homogenous
and heterogenous
Introduction
The revolutionize data management by dispersing information across
interconnected sites, leveraging a computer network. This architecture
enhances scalability, fault tolerance, and overall performance. Two key
types are prevalent: Homogeneous Distributed Databases, where identical
databases collaborate seamlessly, ensuring consistency; and
Heterogeneous Distributed Databases, featuring diverse schemas and
software for flexible data management. Homogeneous systems prioritize
uniformity, while heterogeneous systems excel in accommodating various
data formats. Both approaches address modern data challenges, offering
tailored solutions for collaborative and efficient data processing.
What is Distributed Databases
1. A Distributed Database is a collection of multiple interconnected
databases, which are spread physically across various locations that
communicate via a computer network.
2. Distributed database utilize multiple nodes. They scale horizontally and
develop a distributed system. More nodes in the system provides more
computing power, offers greater availability, and resolve the single
point of failure issue.
3. Different parts of the distributed database are stored in several
physical locations, and the processing requirements are distributed
among processors on multiple database nodes.
Some features of distributed database
are:
1. Location Independency: Data stored at multiple sites, managed
independently by a DDBMS.
2. Distributed Query Processing: Queries handled across sites, with high-
level queries transformed for efficient execution.
3. Distributed Transaction Management: Ensures consistency via commit
protocols, concurrency control, and recovery methods.
Some features of database are:
4. Seamless Integration: Interconnected databases create a unified, single
logical database.
5. Network Linking: All databases connected through a network for
seamless communication.
6. Transaction Processing: Executes a set of database operations as an
atomic process in distributed databases.
Difference between parallel and
distributed database
Parallel Distributed
• The process are tightly coupled and
constitutes a single database system
i.e., the parallel database is a
centralized database and data
resides in a single location.
• The sites are loosely coupled and
share no physical components i.e.,
distributed database is our
geographically departed, and data
are distributed at several locations.
• Query processing and transaction is
complicated.
• Query processing and transaction is
more complicated.
• It’s not applicable. • A local and global transaction can be
transformed into distributed
database systems.
Difference between parallel and
distributed database
Parallel Distributed
• The data is partitioned among
various disk so that it can retrieved
faster.
• Each sites preserve a local database
system for faster processing due to
slow interconnection between sites.
• There are 3 types of architecture:
shared memory, shared disk, and
shared shared-mothing.
• Distributed Database are generally a
kind of shared-nothing architecture.
• Query optimization is more
complicated.
• Query optimization techniques may
be different at different sites and are
easy to maintain
Difference between parallel and
distributed database
Parallel Distributed
• Data is generally not copied. • Data is replicated at any number
of sites to improve the
performance of systems.
• Parallel Database are generally
homogeneous in nature.
• Distributed Database may be
homogeneous or heterogeneous
in nature.
• Skew is the major issue with the
increasing degree of parallelism
in parallel database.
• Blocking due to site failure and
transparency are major issues in
distributed databases.
2 Types of Distributed Database
1. Homogeneous Database
2. Heterogeneous Database
1. Homogeneous Distributed Database
A homogenous distributed database is a network of identical
databases stored on multiple sites. The sites have the same operating system,
DDBMS, and data structure, making them easily manageable. Its’ properties are:
• The sites are very similar software.
• The sites use identical DBMS or DBMS from the same vendor.
• Each site is aware of all other sites and cooperates with other sites to process user
requests.
• The database is accessed through a single interface as if it is a single database.
Example diagram:
Characteristics of homogeneous database
• Uniformity - All nodes utilize the same DBMS software and possess identical
data scheme.
• Data Consistency - Changes made to the database on one node are
automatically propagated to other nodes, ensuring data consistency.
• Simplicity - Homogeneous databases are relatively easier to manage as the
same DBMS software is employed throughout the system.
• 2 Types of homogeneous database
1. Autonomous - each database is independent that functions on its own. They
are integrated by a controlling application and use message passing to share
data updates.
2. Non-autonomous - data is distributed across the homogeneous nodes and a
central or master DBMS coordinates data across the sites.
Step to set-up a Homogeneous database
• Select a DBMS: Choose a DBMS that aligns with the distributed
system’s requirements, such as MySQL, PostgreSQL, or Oracle.
• Install the DBMS: Install the chosen DBMS on each node within the
distributed system.
• Design the Schema: Create a unified database schema to be shared
across all nodes.
• Establish Communication: Configure network connectivity between
the nodes to facilitate data replication and synchronization.
• Implement Replication: Set up replication mechanisms provided by
the DBMS to ensure changes made on one node are propagated to
others.
Use Case Example
• Consider a distributed e-commerce system with multiple nodes
handling customer orders, inventory management, and shipping.
Employing a homogeneous database approach, all nodes share
the same DBMS (e.g., MySQL) and adhere to a consistent schema.
When an order is placed on one node, the system automatically
synchronizes the order details and inventory updates across all
nodes, enabling real-time visibility and consistency.
2 Types of Distributed Database
2. Heterogeneous Distributed Database
A heterogeneous distributed database uses different schemas, operating
systems, DDBMS, and different data models. In the case of a heterogeneous
distributed database, a particular site can be completely unaware of other sites
causing limited cooperation in processing user requests. The limitation is why
translations are required to establish communication between sites. Its’
properties are:
• Different sites use dissimilar schemas and software.
• The system may be composed of a variety of DBMSs like relational, network, hierarchical
or object oriented.
• Query processing is complex due to dissimilar schemas,
• Transaction processing is complex due to dissimilar software.
• A site may not be aware of other sites and there is limited cooperation in user requests.
Example diagram:
Characteristics of Heterogeneous
database
• Flexibility: More flexible, accommodating various data formats and storage
systems.
• Nodes can employ different DBMS software, such as MySQL, MongoDB,
or Cassandra, based on their specific needs.
• Schema Mapping: Heterogeneous databases necessitate mapping between
different schemas to ensure interoperability between nodes.
• Data Transformation: Data might need to be transformed or translated
between different formats or encodings to maintain consistency.
Types of Heterogeneous database
1. Federated – The heterogeneous database systems are independent in nature
and integrated together so that they function as a single database system.
2. Un-federated – the database systems employ a central coordinating module
through which the database are accessed.
Step to set-up Heterogeneous database
• Identify Diverse Requirements: Understand the specific needs of each node in the
distributed system and select the appropriate DBMS software accordingly.
• Define Schema Mapping: Analyze the differences in database schemas between
nodes and establish mapping rules to convert data between schemas.
• Implement Data Transformation: Develop mechanisms or scripts to transform data
from one format to another, ensuring seamless integration.
• Establish Communication: Configure network connectivity and establish
communication channels between heterogeneous nodes.
Use Case Example
• Imagine a distributed system where one node utilizes a
traditional relational database (e.g., MySQL) for order
management, while another node relies on a NoSQL database
(e.g., MongoDB) for user analytics. Employing a heterogeneous
database approach enables the two nodes to leverage their
preferred DBMS technologies while facilitating data exchange
through schema mapping and data transformation
Summary
• Distributed databases provide several advantages, including improved
performance through parallel processing and horizontal scalability, enabling
organizations to handle larger workloads and datasets. They offer high
availability and fault tolerance by distributing data redundantly across multiple
nodes, ensuring continuous operation even in the face of node failures.
Geographical distribution allows for global data access, reducing latency for
users worldwide. Local autonomy empowers individual nodes to manage
resources independently, adapting to local requirements. Cost efficiency arises
from optimized resource utilization and the ease of adding new nodes
compared to upgrading centralized systems.
Summary
• Homogeneous environments, characterized by uniformity in components, offer
advantages such as consistency, interoperability, simplified management, and
easier troubleshooting due to standardized configurations. On the other hand,
heterogeneous environments provide flexibility, enabling organizations to
choose best-of-breed solutions, adapt to diverse needs, embrace technological
innovation, and avoid vendor lock-in. Heterogeneous environments support
scalability, making them well-suited for dynamic business scenarios. The choice
between homogeneous and heterogeneous environments depends on
organizational goals, requirements, and the desire for standardized operations
versus flexibility and innovation.
Assessment#1 Questions and Answer:
1. What is a distributed database, and how does it differ from a centralized database?
2. Explain the concept of "location independency" in the context of distributed databases.
3. What are some key features of distributed databases as mentioned in the text?
4. How does distributed query processing contribute to the efficiency of a distributed
database system?
5. Discuss the role of distributed transaction management in maintaining consistency in a
distributed database.
6. What is meant by "seamless integration" in the context of distributed databases, and
why is it important?
7. Differentiate between parallel and distributed databases, highlighting their respective
characteristics.
8. Why might data be replicated in a distributed database, and what benefits does
replication offer?
9. Explain the significance of network linking in a collection of interconnected databases.
10. What challenges are associated with query optimization in distributed databases?
Assessment#2 Enumeration:
1. List three key properties of a homogeneous distributed database.
2. Name two types of homogeneous distributed databases and briefly describe their
characteristics.
3. Outline the steps involved in setting up a homogeneous distributed database.
4. Provide two types of homogeneous distributed databases based on their level of
autonomy.
5. Name three characteristics of heterogeneous distributed databases.
6. List the steps to set up a heterogeneous distributed database.
Assessment#3 True/False:
7. True or False: In a homogeneous distributed database, each site is unaware of other sites
and operates independently.
8. True or False: Data consistency is automatically maintained in a homogeneous distributed
database without the need for synchronization.
9. True or False: Heterogeneous databases are less flexible than homogeneous databases in
accommodating various data formats.
10. True or False: Schema mapping is not required in a heterogeneous distributed database as
nodes can operate independently with different schemas.
11. True or False: Query processing is simpler in heterogeneous distributed databases due to
the use of the same DBMS across all nodes.
12. True or False: Federated heterogeneous databases function as independent systems and do
not operate as a single database.
13. True or False: Homogeneous distributed databases can use different DBMS software across
nodes, such as MySQL, MongoDB, or Cassandra.
14. True or False: In a heterogeneous distributed database, a central coordinating module is
necessary for database access in unfederated systems.
15. True or False: Flexibility is a characteristic of homogeneous databases, allowing nodes to
use different DBMS software based on specific needs.
AdvanceDatabaseChapter6Advance Dtabases.pptx

More Related Content

Similar to AdvanceDatabaseChapter6Advance Dtabases.pptx

Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsjayussuryawan
 
Distributed database
Distributed databaseDistributed database
Distributed databasesanjay joshi
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbmsSweta Singh
 
Distributed database
Distributed databaseDistributed database
Distributed databasesanjay joshi
 
Homogeneous ddbms
Homogeneous ddbmsHomogeneous ddbms
Homogeneous ddbmsPooja Dixit
 
DDMS
DDMSDDMS
DDMSRonit BK
 
FALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptx
FALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptxFALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptx
FALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptxVivekananda Gn
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptxchatkall46
 
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...raghdooosh
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptxATISHAYJAIN847270
 
Heterogenous data base
Heterogenous data baseHeterogenous data base
Heterogenous data baseHaqnawaz Ch
 
Database management system
Database management systemDatabase management system
Database management systemAmit Sarkar
 
Distributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptxDistributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptxKumbiraiLuciaKondo
 
DDBMS.pptx
DDBMS.pptxDDBMS.pptx
DDBMS.pptxManishBej1
 
ditributed databases
ditributed databasesditributed databases
ditributed databasesHira Awan
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsZulfiquer Ahmed Amin
 

Similar to AdvanceDatabaseChapter6Advance Dtabases.pptx (20)

Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed Database
Distributed DatabaseDistributed Database
Distributed Database
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Homogeneous ddbms
Homogeneous ddbmsHomogeneous ddbms
Homogeneous ddbms
 
DDMS
DDMSDDMS
DDMS
 
FALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptx
FALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptxFALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptx
FALLSEM2021-22_SWE2004_ETH_VL2021220101016_2021-11-11_Reference-Material-II.pptx
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptx
 
Heterogenous data base
Heterogenous data baseHeterogenous data base
Heterogenous data base
 
Database management system
Database management systemDatabase management system
Database management system
 
Distributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptxDistributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptx
 
DDBMS.pptx
DDBMS.pptxDDBMS.pptx
DDBMS.pptx
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
ditributed databases
ditributed databasesditributed databases
ditributed databases
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 

More from XanGwaps

MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxMSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxXanGwaps
 
C++ Inheritance.pptx
C++ Inheritance.pptxC++ Inheritance.pptx
C++ Inheritance.pptxXanGwaps
 
Chapter-OBDD.pptx
Chapter-OBDD.pptxChapter-OBDD.pptx
Chapter-OBDD.pptxXanGwaps
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxXanGwaps
 
Java ConstructorsPPT.pptx
Java ConstructorsPPT.pptxJava ConstructorsPPT.pptx
Java ConstructorsPPT.pptxXanGwaps
 
AdvanceSQL.ppt
AdvanceSQL.pptAdvanceSQL.ppt
AdvanceSQL.pptXanGwaps
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
mod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptmod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptXanGwaps
 
globodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxglobodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxXanGwaps
 
chapter-2.ppt
chapter-2.pptchapter-2.ppt
chapter-2.pptXanGwaps
 
Requirements Analysis.pptx
Requirements Analysis.pptxRequirements Analysis.pptx
Requirements Analysis.pptxXanGwaps
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptxXanGwaps
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptxXanGwaps
 
CS530-Tuesday01.ppt
CS530-Tuesday01.pptCS530-Tuesday01.ppt
CS530-Tuesday01.pptXanGwaps
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
Functions of Operating System.pptx
Functions of Operating System.pptxFunctions of Operating System.pptx
Functions of Operating System.pptxXanGwaps
 
HCI 1 Module 2.pptx
HCI 1 Module 2.pptxHCI 1 Module 2.pptx
HCI 1 Module 2.pptxXanGwaps
 
The virtual box.pptx
The virtual box.pptxThe virtual box.pptx
The virtual box.pptxXanGwaps
 
Presentation (10).pptx
Presentation (10).pptxPresentation (10).pptx
Presentation (10).pptxXanGwaps
 
Presentation (4).pptx
Presentation (4).pptxPresentation (4).pptx
Presentation (4).pptxXanGwaps
 

More from XanGwaps (20)

MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxMSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
 
C++ Inheritance.pptx
C++ Inheritance.pptxC++ Inheritance.pptx
C++ Inheritance.pptx
 
Chapter-OBDD.pptx
Chapter-OBDD.pptxChapter-OBDD.pptx
Chapter-OBDD.pptx
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptx
 
Java ConstructorsPPT.pptx
Java ConstructorsPPT.pptxJava ConstructorsPPT.pptx
Java ConstructorsPPT.pptx
 
AdvanceSQL.ppt
AdvanceSQL.pptAdvanceSQL.ppt
AdvanceSQL.ppt
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
mod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptmod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.ppt
 
globodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxglobodox-presentation-v14.ppsx
globodox-presentation-v14.ppsx
 
chapter-2.ppt
chapter-2.pptchapter-2.ppt
chapter-2.ppt
 
Requirements Analysis.pptx
Requirements Analysis.pptxRequirements Analysis.pptx
Requirements Analysis.pptx
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptx
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptx
 
CS530-Tuesday01.ppt
CS530-Tuesday01.pptCS530-Tuesday01.ppt
CS530-Tuesday01.ppt
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
Functions of Operating System.pptx
Functions of Operating System.pptxFunctions of Operating System.pptx
Functions of Operating System.pptx
 
HCI 1 Module 2.pptx
HCI 1 Module 2.pptxHCI 1 Module 2.pptx
HCI 1 Module 2.pptx
 
The virtual box.pptx
The virtual box.pptxThe virtual box.pptx
The virtual box.pptx
 
Presentation (10).pptx
Presentation (10).pptxPresentation (10).pptx
Presentation (10).pptx
 
Presentation (4).pptx
Presentation (4).pptxPresentation (4).pptx
Presentation (4).pptx
 

Recently uploaded

Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the 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
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 

Recently uploaded (20)

Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
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
 
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
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 

AdvanceDatabaseChapter6Advance Dtabases.pptx

  • 1. Chapter – 6 Advance Database Architecture
  • 2. Topics:  Distributed Databases  Homogenous and Heterogenous Databases
  • 3. Objectives 1. Explain the distributed databases 2. Differentiate Parallel and distributed database 3. Explain the difference between homogenous and heterogenous
  • 4. Introduction The revolutionize data management by dispersing information across interconnected sites, leveraging a computer network. This architecture enhances scalability, fault tolerance, and overall performance. Two key types are prevalent: Homogeneous Distributed Databases, where identical databases collaborate seamlessly, ensuring consistency; and Heterogeneous Distributed Databases, featuring diverse schemas and software for flexible data management. Homogeneous systems prioritize uniformity, while heterogeneous systems excel in accommodating various data formats. Both approaches address modern data challenges, offering tailored solutions for collaborative and efficient data processing.
  • 5. What is Distributed Databases 1. A Distributed Database is a collection of multiple interconnected databases, which are spread physically across various locations that communicate via a computer network. 2. Distributed database utilize multiple nodes. They scale horizontally and develop a distributed system. More nodes in the system provides more computing power, offers greater availability, and resolve the single point of failure issue. 3. Different parts of the distributed database are stored in several physical locations, and the processing requirements are distributed among processors on multiple database nodes.
  • 6. Some features of distributed database are: 1. Location Independency: Data stored at multiple sites, managed independently by a DDBMS. 2. Distributed Query Processing: Queries handled across sites, with high- level queries transformed for efficient execution. 3. Distributed Transaction Management: Ensures consistency via commit protocols, concurrency control, and recovery methods.
  • 7. Some features of database are: 4. Seamless Integration: Interconnected databases create a unified, single logical database. 5. Network Linking: All databases connected through a network for seamless communication. 6. Transaction Processing: Executes a set of database operations as an atomic process in distributed databases.
  • 8. Difference between parallel and distributed database Parallel Distributed • The process are tightly coupled and constitutes a single database system i.e., the parallel database is a centralized database and data resides in a single location. • The sites are loosely coupled and share no physical components i.e., distributed database is our geographically departed, and data are distributed at several locations. • Query processing and transaction is complicated. • Query processing and transaction is more complicated. • It’s not applicable. • A local and global transaction can be transformed into distributed database systems.
  • 9. Difference between parallel and distributed database Parallel Distributed • The data is partitioned among various disk so that it can retrieved faster. • Each sites preserve a local database system for faster processing due to slow interconnection between sites. • There are 3 types of architecture: shared memory, shared disk, and shared shared-mothing. • Distributed Database are generally a kind of shared-nothing architecture. • Query optimization is more complicated. • Query optimization techniques may be different at different sites and are easy to maintain
  • 10. Difference between parallel and distributed database Parallel Distributed • Data is generally not copied. • Data is replicated at any number of sites to improve the performance of systems. • Parallel Database are generally homogeneous in nature. • Distributed Database may be homogeneous or heterogeneous in nature. • Skew is the major issue with the increasing degree of parallelism in parallel database. • Blocking due to site failure and transparency are major issues in distributed databases.
  • 11. 2 Types of Distributed Database 1. Homogeneous Database 2. Heterogeneous Database 1. Homogeneous Distributed Database A homogenous distributed database is a network of identical databases stored on multiple sites. The sites have the same operating system, DDBMS, and data structure, making them easily manageable. Its’ properties are: • The sites are very similar software. • The sites use identical DBMS or DBMS from the same vendor. • Each site is aware of all other sites and cooperates with other sites to process user requests. • The database is accessed through a single interface as if it is a single database.
  • 13. Characteristics of homogeneous database • Uniformity - All nodes utilize the same DBMS software and possess identical data scheme. • Data Consistency - Changes made to the database on one node are automatically propagated to other nodes, ensuring data consistency. • Simplicity - Homogeneous databases are relatively easier to manage as the same DBMS software is employed throughout the system. • 2 Types of homogeneous database 1. Autonomous - each database is independent that functions on its own. They are integrated by a controlling application and use message passing to share data updates. 2. Non-autonomous - data is distributed across the homogeneous nodes and a central or master DBMS coordinates data across the sites.
  • 14. Step to set-up a Homogeneous database • Select a DBMS: Choose a DBMS that aligns with the distributed system’s requirements, such as MySQL, PostgreSQL, or Oracle. • Install the DBMS: Install the chosen DBMS on each node within the distributed system. • Design the Schema: Create a unified database schema to be shared across all nodes. • Establish Communication: Configure network connectivity between the nodes to facilitate data replication and synchronization. • Implement Replication: Set up replication mechanisms provided by the DBMS to ensure changes made on one node are propagated to others.
  • 15. Use Case Example • Consider a distributed e-commerce system with multiple nodes handling customer orders, inventory management, and shipping. Employing a homogeneous database approach, all nodes share the same DBMS (e.g., MySQL) and adhere to a consistent schema. When an order is placed on one node, the system automatically synchronizes the order details and inventory updates across all nodes, enabling real-time visibility and consistency.
  • 16. 2 Types of Distributed Database 2. Heterogeneous Distributed Database A heterogeneous distributed database uses different schemas, operating systems, DDBMS, and different data models. In the case of a heterogeneous distributed database, a particular site can be completely unaware of other sites causing limited cooperation in processing user requests. The limitation is why translations are required to establish communication between sites. Its’ properties are: • Different sites use dissimilar schemas and software. • The system may be composed of a variety of DBMSs like relational, network, hierarchical or object oriented. • Query processing is complex due to dissimilar schemas, • Transaction processing is complex due to dissimilar software. • A site may not be aware of other sites and there is limited cooperation in user requests.
  • 18. Characteristics of Heterogeneous database • Flexibility: More flexible, accommodating various data formats and storage systems. • Nodes can employ different DBMS software, such as MySQL, MongoDB, or Cassandra, based on their specific needs. • Schema Mapping: Heterogeneous databases necessitate mapping between different schemas to ensure interoperability between nodes. • Data Transformation: Data might need to be transformed or translated between different formats or encodings to maintain consistency.
  • 19. Types of Heterogeneous database 1. Federated – The heterogeneous database systems are independent in nature and integrated together so that they function as a single database system. 2. Un-federated – the database systems employ a central coordinating module through which the database are accessed. Step to set-up Heterogeneous database • Identify Diverse Requirements: Understand the specific needs of each node in the distributed system and select the appropriate DBMS software accordingly. • Define Schema Mapping: Analyze the differences in database schemas between nodes and establish mapping rules to convert data between schemas. • Implement Data Transformation: Develop mechanisms or scripts to transform data from one format to another, ensuring seamless integration. • Establish Communication: Configure network connectivity and establish communication channels between heterogeneous nodes.
  • 20. Use Case Example • Imagine a distributed system where one node utilizes a traditional relational database (e.g., MySQL) for order management, while another node relies on a NoSQL database (e.g., MongoDB) for user analytics. Employing a heterogeneous database approach enables the two nodes to leverage their preferred DBMS technologies while facilitating data exchange through schema mapping and data transformation
  • 21. Summary • Distributed databases provide several advantages, including improved performance through parallel processing and horizontal scalability, enabling organizations to handle larger workloads and datasets. They offer high availability and fault tolerance by distributing data redundantly across multiple nodes, ensuring continuous operation even in the face of node failures. Geographical distribution allows for global data access, reducing latency for users worldwide. Local autonomy empowers individual nodes to manage resources independently, adapting to local requirements. Cost efficiency arises from optimized resource utilization and the ease of adding new nodes compared to upgrading centralized systems.
  • 22. Summary • Homogeneous environments, characterized by uniformity in components, offer advantages such as consistency, interoperability, simplified management, and easier troubleshooting due to standardized configurations. On the other hand, heterogeneous environments provide flexibility, enabling organizations to choose best-of-breed solutions, adapt to diverse needs, embrace technological innovation, and avoid vendor lock-in. Heterogeneous environments support scalability, making them well-suited for dynamic business scenarios. The choice between homogeneous and heterogeneous environments depends on organizational goals, requirements, and the desire for standardized operations versus flexibility and innovation.
  • 23. Assessment#1 Questions and Answer: 1. What is a distributed database, and how does it differ from a centralized database? 2. Explain the concept of "location independency" in the context of distributed databases. 3. What are some key features of distributed databases as mentioned in the text? 4. How does distributed query processing contribute to the efficiency of a distributed database system? 5. Discuss the role of distributed transaction management in maintaining consistency in a distributed database. 6. What is meant by "seamless integration" in the context of distributed databases, and why is it important? 7. Differentiate between parallel and distributed databases, highlighting their respective characteristics. 8. Why might data be replicated in a distributed database, and what benefits does replication offer? 9. Explain the significance of network linking in a collection of interconnected databases. 10. What challenges are associated with query optimization in distributed databases?
  • 24. Assessment#2 Enumeration: 1. List three key properties of a homogeneous distributed database. 2. Name two types of homogeneous distributed databases and briefly describe their characteristics. 3. Outline the steps involved in setting up a homogeneous distributed database. 4. Provide two types of homogeneous distributed databases based on their level of autonomy. 5. Name three characteristics of heterogeneous distributed databases. 6. List the steps to set up a heterogeneous distributed database.
  • 25. Assessment#3 True/False: 7. True or False: In a homogeneous distributed database, each site is unaware of other sites and operates independently. 8. True or False: Data consistency is automatically maintained in a homogeneous distributed database without the need for synchronization. 9. True or False: Heterogeneous databases are less flexible than homogeneous databases in accommodating various data formats. 10. True or False: Schema mapping is not required in a heterogeneous distributed database as nodes can operate independently with different schemas. 11. True or False: Query processing is simpler in heterogeneous distributed databases due to the use of the same DBMS across all nodes. 12. True or False: Federated heterogeneous databases function as independent systems and do not operate as a single database. 13. True or False: Homogeneous distributed databases can use different DBMS software across nodes, such as MySQL, MongoDB, or Cassandra. 14. True or False: In a heterogeneous distributed database, a central coordinating module is necessary for database access in unfederated systems. 15. True or False: Flexibility is a characteristic of homogeneous databases, allowing nodes to use different DBMS software based on specific needs.

Editor's Notes

  1. Introduction:
  2. Introduction:
  3. Introduction:
  4. Introduction:
  5. Introduction:
  6. Introduction:
  7. Introduction:
  8. Introduction:
  9. Introduction:
  10. Introduction:
  11. Introduction:
  12. Introduction:
  13. Introduction:
  14. Introduction:
  15. Introduction:
  16. Introduction:
  17. Introduction:
  18. Introduction:
  19. Introduction:
  20. Introduction:
  21. Introduction:
  22. Introduction:
  23. Introduction:
  24. Introduction:
  25. Introduction: