SlideShare a Scribd company logo
1 of 36
Introduction
to
Distributed
Database
‫العارف‬
‫عبد‬
‫الباسط‬
‫أبو‬
‫شعالة‬
‫مروان‬
‫احمد‬
‫القاضي‬
‫مقدمة‬
‫لقواعد‬
‫البيانات‬
‫الموزعة‬
02
What is a Distributed
Database ?
01
Distributed
Database Types
05
Concepts related to
database
07
Distributed Database
Advantages
03
Example of
distributed database
Table Of Content
Distributed
Database
Applications
06
Distributed
Database
components
04
Centralized Database Problems
“Normal Database”
● Data traffic is more.
● If any kind of system failure occurs in the
centralized system then the entire data will
be destroyed.
Sql Server DB
Can we just enhance the server ?
‫هل‬
‫يمكن‬
‫أن‬
‫نكتفي‬
‫بتحسين‬
‫أداء‬
‫الخادم‬
‫فقط‬
‫؟‬
01
What is a
distributed
Database ?
What is a Distributed database ?
Is a collection of multiple logically
interrelated databases distributed over a
computer network.
Distributed database
Site 2
Site 1
Site 3
Site 4
ID NAME AGE
1 Mousa 55
2 Fathi 20
3 Taha 35
Centralized Database vs Distributed Database
02
Distributed
Database
Example
Network
Tripoli
( ‫المقر‬
‫الرئيسي‬ )
Benghazi
Sabha
Employees : All
Customers : All
Projects : All
Employees : Benghazi
Customers : Benghazi
Projects : Benghazi
Employees : Sabha
Customers : Sabha
Projects : All
Distributed database Example
“Bank
system”
03
Distributed
Database
Advantages
Distributed Database Advantages
● Increase availability
● Data performance
● Enable massive scalability
04
Distributed
Database
Components
Possible absence of
homogeneity among
connected nodes
03
Logical interrelation of the
connected databases
02
Connection of database nodes
over computer network
01
Distributed Database Components
05
Distributed Databases
Classifications
Distributed Database Classifications
Distributed databases can be broadly classified into homogeneous and
heterogeneous distributed database environments.
Each has its own pros and cons and sub-divisions
1. Homogenous distributed database (‫)متجانسة‬
In a homogeneous database, all different sites store database identically. The operating system,
database management system (DBMS), and the data structures used (Schema) – all are the same
at all sites. Hence, they’re easy to manage, (DDBMS).
Distributed Database Classifications
2. Heterogeneous distributed database ( ‫غير‬
‫متجانسة‬ )
In a heterogeneous distributed database, different sites can use different schema and software
that can lead to problems in query processing (Complex) and transactions. Also, a particular site
might be completely unaware of the other sites. Different computers may use a different
operating system, different database application. They may even use different data models for
the database.
Distributed Database Classifications
Therefore, translations are
required for different sites to
communicate.
Also it requires more knowledge
to manage the database
(harder).
Distributed Database Classifications
Distributed Database Classifications
Types of Homogeneous Distributed Databases:
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.
1. Non-autonomous
Data is distributed across the homogeneous nodes and a central or master DBMS co-ordinates data updates across
the sites.
Types of Heterogeneous Distributed Databases
1. Federated (Single Schema)
The heterogeneous database systems are independent in nature and integrated together so that they function as a
single database system.
2. Multidatabase (No Schema): There is no one conceptual global schema. For data access a schema is
constructed dynamically as needed by the application software.
Distributed Data Storage
There are 2 ways in which data can be stored on different sites.
1. Replication
In this approach, the entire relationship is stored redundantly at 2 or more sites. If the entire database is
available at all sites, it is a fully redundant database. Hence, in replication, systems maintain copies of data.
This is advantageous as it increases the availability of data at different sites. Also, now query requests can be
processed in parallel.
Also there’s disadvantages such Data needs to be constantly updated. Any change made at one site needs to
be recorded at every site that relation is stored or else it may lead to inconsistency which causes overhead,
concurrency control becomes way more complex.
1. Fragmentation
In this approach, the relations are fragmented (i.e., they’re divided into smaller parts) and each of the
fragments is stored in different sites where they’re required.
Fragmentation is advantageous as it doesn’t create copies of data.
Distributed Database Classifications
06
Distributed Databases
Applications
Distributed Databases Applications
Distributed Systems and Distributed Databases.
Distributed Systems: A distributed system is a computing environment in which various
components are spread across multiple computers (or multiple locations) on a network that
shares information with each other.
Applications of Distributed Database:
1. It is used in Corporate Management Information System.
2. It is used in multimedia applications.
3. Used in Military’s control system, Hotel chains etc.
4. It is also used in manufacturing control system.
5. Big Data and data mining
Distributed Databases Applications
When/where to use Distributed Databases !?
Amazon Regions
Google Regions
Apple (uses cassandra database to distribute 100 petabytes of data)
Netflix
Uber
eBay
Zalando ( ‫شركة‬
‫ألمانية‬
‫لبيع‬
‫االحذية‬
‫واألزياء‬ )
SoundCloud
Banks in general
Distributed Databases Applications
Companies That use Distributed Databases:
07
Concepts related to
Distributed
Databases
Concepts related to Distributed Databases
Transparency Availability
Reliability
Failures Handling
Transparency (‫)الشفافية‬
Concepts related to Distributed Databases
It’s all about hiding implementation details from end users.
Transparency Includes to not share the following:
● Data organization transparency
● Data Fragmentation Transparency
○ Horizontal Fragmentation (tuples/rows)
○ Vertical Fragmentation (attributes/columns)
● Database Design
● Execution Transparency
Network
Tripoli
( ‫المقر‬
‫الرئيسي‬ )
Benghazi
Sabha
Employees : All
Customers : All
Projects : All
Employees : Benghazi
Customers : Benghazi, Sabha
Projects : Benghazi
Employees : Sabha
Customers : Sabha, Benghazi
Projects : sabha
Distributed database Example
“Bank system”
Availability
Reliability
Availability is the probability that the system is continuously available during
a time interval
Reliability is broadly defined as the probability that a system is running (not
down) at a certain time point
Concepts related to Distributed Databases
Failures Handling
Both Availability and Reliability are affected if any failure or error occurs.
It must have a mechanism to deal with errors and failures when they occur
Concepts related to Distributed Databases
References
References
● Fundamentals of Database Systems Pearson 2015
By Ramez Elmasri Shamkant B. Navathe
● https://www.quora.com/What-are-applications-of-distributed-database-systems
● https://www.youtube.com/watch?v=A7lKQhmo0ZE&t=1s
● https://www.geeksforgeeks.org/distributed-database-system/
● https://www.tutorialspoint.com/distributed_dbms/distributed_dbms_database_envir
onments.htm
● https://cloud.google.com/about/locations
● https://www.ventureradar.com/keyword/Distributed%20computing
● https://www.confluent.io/learn/distributed-systems/
● https://www.confluent.io/learn/distributed-systems/

More Related Content

Similar to Distributed Database

Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptxSantosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptxSANTOSH KUMAR MEHER
 
Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...
Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...
Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...ScaleBase
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
A database management system
A database management systemA database management system
A database management systemghulam120
 
Distributed database
Distributed databaseDistributed database
Distributed databasesanjay joshi
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -ssuser7c150a
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database SystemSulemang
 
Distributed database management system
Distributed database management systemDistributed database management system
Distributed database management systemVinay D. Patel
 
Data management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesData management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesEditor Jacotech
 
Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptMrVMNair
 
DISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxDISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxvinaypandey170
 
Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...
Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...
Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...ScaleBase
 
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
 
Heterogenous data base
Heterogenous data baseHeterogenous data base
Heterogenous data baseHaqnawaz Ch
 

Similar to Distributed Database (20)

Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptxSantosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
Santosh Kumar Meher(2105040008) DISTRIBUTED DATABASE.pptx
 
Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...
Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...
Distributed RDBMS: Data Distribution Policy: Part 2 - Creating a Data Distrib...
 
Database management system
Database management systemDatabase management system
Database management system
 
Distributed Database
Distributed DatabaseDistributed Database
Distributed Database
 
A database management system
A database management systemA database management system
A database management system
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -
 
1 ddbms jan 2011_u
1 ddbms jan 2011_u1 ddbms jan 2011_u
1 ddbms jan 2011_u
 
DDBMS
DDBMSDDBMS
DDBMS
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 
Distributed database management system
Distributed database management systemDistributed database management system
Distributed database management system
 
Data management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesData management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunities
 
Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.ppt
 
DISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxDISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docx
 
Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...
Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...
Distributed RDBMS: Data Distribution Policy: Part 1 - What is a Data Distribu...
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
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
 
Heterogenous data base
Heterogenous data baseHeterogenous data base
Heterogenous data base
 
INJRV01I10005.pdf
INJRV01I10005.pdfINJRV01I10005.pdf
INJRV01I10005.pdf
 

More from Alaref Abushaala

الطريق لكي تصبح مطور برمجيات.pptx
الطريق لكي تصبح مطور برمجيات.pptxالطريق لكي تصبح مطور برمجيات.pptx
الطريق لكي تصبح مطور برمجيات.pptxAlaref Abushaala
 
Javascript Object Patterns.pptx
Javascript Object Patterns.pptxJavascript Object Patterns.pptx
Javascript Object Patterns.pptxAlaref Abushaala
 
التخطيط لإختبار البرمجيات.pptx
التخطيط لإختبار البرمجيات.pptxالتخطيط لإختبار البرمجيات.pptx
التخطيط لإختبار البرمجيات.pptxAlaref Abushaala
 
Specialized parallel computing
Specialized parallel computingSpecialized parallel computing
Specialized parallel computingAlaref Abushaala
 
Travel guide app_prototyping_presentation
Travel guide app_prototyping_presentationTravel guide app_prototyping_presentation
Travel guide app_prototyping_presentationAlaref Abushaala
 
وحدة المعالجة المركزية
وحدة المعالجة المركزيةوحدة المعالجة المركزية
وحدة المعالجة المركزيةAlaref Abushaala
 
إدمان العصر الحديث
إدمان العصر الحديثإدمان العصر الحديث
إدمان العصر الحديثAlaref Abushaala
 
دور الاتصالات والتحكم الالي في تطور العالم
دور الاتصالات والتحكم الالي في تطور العالمدور الاتصالات والتحكم الالي في تطور العالم
دور الاتصالات والتحكم الالي في تطور العالمAlaref Abushaala
 
منظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظممنظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظمAlaref Abushaala
 
منظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظممنظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظمAlaref Abushaala
 

More from Alaref Abushaala (11)

الطريق لكي تصبح مطور برمجيات.pptx
الطريق لكي تصبح مطور برمجيات.pptxالطريق لكي تصبح مطور برمجيات.pptx
الطريق لكي تصبح مطور برمجيات.pptx
 
Javascript Object Patterns.pptx
Javascript Object Patterns.pptxJavascript Object Patterns.pptx
Javascript Object Patterns.pptx
 
التخطيط لإختبار البرمجيات.pptx
التخطيط لإختبار البرمجيات.pptxالتخطيط لإختبار البرمجيات.pptx
التخطيط لإختبار البرمجيات.pptx
 
Javascript functions
Javascript functionsJavascript functions
Javascript functions
 
Specialized parallel computing
Specialized parallel computingSpecialized parallel computing
Specialized parallel computing
 
Travel guide app_prototyping_presentation
Travel guide app_prototyping_presentationTravel guide app_prototyping_presentation
Travel guide app_prototyping_presentation
 
وحدة المعالجة المركزية
وحدة المعالجة المركزيةوحدة المعالجة المركزية
وحدة المعالجة المركزية
 
إدمان العصر الحديث
إدمان العصر الحديثإدمان العصر الحديث
إدمان العصر الحديث
 
دور الاتصالات والتحكم الالي في تطور العالم
دور الاتصالات والتحكم الالي في تطور العالمدور الاتصالات والتحكم الالي في تطور العالم
دور الاتصالات والتحكم الالي في تطور العالم
 
منظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظممنظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظم
 
منظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظممنظومة إدارة السجناء | تحليل وتصميم نظم
منظومة إدارة السجناء | تحليل وتصميم نظم
 

Recently uploaded

Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Distributed Database

  • 2. 02 What is a Distributed Database ? 01 Distributed Database Types 05 Concepts related to database 07 Distributed Database Advantages 03 Example of distributed database Table Of Content Distributed Database Applications 06 Distributed Database components 04
  • 3. Centralized Database Problems “Normal Database” ● Data traffic is more. ● If any kind of system failure occurs in the centralized system then the entire data will be destroyed. Sql Server DB
  • 4. Can we just enhance the server ? ‫هل‬ ‫يمكن‬ ‫أن‬ ‫نكتفي‬ ‫بتحسين‬ ‫أداء‬ ‫الخادم‬ ‫فقط‬ ‫؟‬
  • 6. What is a Distributed database ? Is a collection of multiple logically interrelated databases distributed over a computer network.
  • 8. ID NAME AGE 1 Mousa 55 2 Fathi 20 3 Taha 35
  • 9. Centralized Database vs Distributed Database
  • 11. Network Tripoli ( ‫المقر‬ ‫الرئيسي‬ ) Benghazi Sabha Employees : All Customers : All Projects : All Employees : Benghazi Customers : Benghazi Projects : Benghazi Employees : Sabha Customers : Sabha Projects : All Distributed database Example “Bank system”
  • 13. Distributed Database Advantages ● Increase availability ● Data performance ● Enable massive scalability
  • 15. Possible absence of homogeneity among connected nodes 03 Logical interrelation of the connected databases 02 Connection of database nodes over computer network 01 Distributed Database Components
  • 17. Distributed Database Classifications Distributed databases can be broadly classified into homogeneous and heterogeneous distributed database environments. Each has its own pros and cons and sub-divisions
  • 18. 1. Homogenous distributed database (‫)متجانسة‬ In a homogeneous database, all different sites store database identically. The operating system, database management system (DBMS), and the data structures used (Schema) – all are the same at all sites. Hence, they’re easy to manage, (DDBMS). Distributed Database Classifications
  • 19. 2. Heterogeneous distributed database ( ‫غير‬ ‫متجانسة‬ ) In a heterogeneous distributed database, different sites can use different schema and software that can lead to problems in query processing (Complex) and transactions. Also, a particular site might be completely unaware of the other sites. Different computers may use a different operating system, different database application. They may even use different data models for the database. Distributed Database Classifications Therefore, translations are required for different sites to communicate. Also it requires more knowledge to manage the database (harder).
  • 21. Distributed Database Classifications Types of Homogeneous Distributed Databases: 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. 1. Non-autonomous Data is distributed across the homogeneous nodes and a central or master DBMS co-ordinates data updates across the sites. Types of Heterogeneous Distributed Databases 1. Federated (Single Schema) The heterogeneous database systems are independent in nature and integrated together so that they function as a single database system. 2. Multidatabase (No Schema): There is no one conceptual global schema. For data access a schema is constructed dynamically as needed by the application software.
  • 22. Distributed Data Storage There are 2 ways in which data can be stored on different sites. 1. Replication In this approach, the entire relationship is stored redundantly at 2 or more sites. If the entire database is available at all sites, it is a fully redundant database. Hence, in replication, systems maintain copies of data. This is advantageous as it increases the availability of data at different sites. Also, now query requests can be processed in parallel. Also there’s disadvantages such Data needs to be constantly updated. Any change made at one site needs to be recorded at every site that relation is stored or else it may lead to inconsistency which causes overhead, concurrency control becomes way more complex. 1. Fragmentation In this approach, the relations are fragmented (i.e., they’re divided into smaller parts) and each of the fragments is stored in different sites where they’re required. Fragmentation is advantageous as it doesn’t create copies of data. Distributed Database Classifications
  • 24. Distributed Databases Applications Distributed Systems and Distributed Databases. Distributed Systems: A distributed system is a computing environment in which various components are spread across multiple computers (or multiple locations) on a network that shares information with each other.
  • 25. Applications of Distributed Database: 1. It is used in Corporate Management Information System. 2. It is used in multimedia applications. 3. Used in Military’s control system, Hotel chains etc. 4. It is also used in manufacturing control system. 5. Big Data and data mining Distributed Databases Applications When/where to use Distributed Databases !?
  • 28. Apple (uses cassandra database to distribute 100 petabytes of data) Netflix Uber eBay Zalando ( ‫شركة‬ ‫ألمانية‬ ‫لبيع‬ ‫االحذية‬ ‫واألزياء‬ ) SoundCloud Banks in general Distributed Databases Applications Companies That use Distributed Databases:
  • 30. Concepts related to Distributed Databases Transparency Availability Reliability Failures Handling
  • 31. Transparency (‫)الشفافية‬ Concepts related to Distributed Databases It’s all about hiding implementation details from end users. Transparency Includes to not share the following: ● Data organization transparency ● Data Fragmentation Transparency ○ Horizontal Fragmentation (tuples/rows) ○ Vertical Fragmentation (attributes/columns) ● Database Design ● Execution Transparency
  • 32. Network Tripoli ( ‫المقر‬ ‫الرئيسي‬ ) Benghazi Sabha Employees : All Customers : All Projects : All Employees : Benghazi Customers : Benghazi, Sabha Projects : Benghazi Employees : Sabha Customers : Sabha, Benghazi Projects : sabha Distributed database Example “Bank system”
  • 33. Availability Reliability Availability is the probability that the system is continuously available during a time interval Reliability is broadly defined as the probability that a system is running (not down) at a certain time point Concepts related to Distributed Databases
  • 34. Failures Handling Both Availability and Reliability are affected if any failure or error occurs. It must have a mechanism to deal with errors and failures when they occur Concepts related to Distributed Databases
  • 36. References ● Fundamentals of Database Systems Pearson 2015 By Ramez Elmasri Shamkant B. Navathe ● https://www.quora.com/What-are-applications-of-distributed-database-systems ● https://www.youtube.com/watch?v=A7lKQhmo0ZE&t=1s ● https://www.geeksforgeeks.org/distributed-database-system/ ● https://www.tutorialspoint.com/distributed_dbms/distributed_dbms_database_envir onments.htm ● https://cloud.google.com/about/locations ● https://www.ventureradar.com/keyword/Distributed%20computing ● https://www.confluent.io/learn/distributed-systems/ ● https://www.confluent.io/learn/distributed-systems/