SlideShare a Scribd company logo
3
Most read
11
Most read
12
Most read
Distributed Database Systems-Data Localization.pptx
Lecture Topics
Data Localization
Distributed Database Systems
Lecture #20
By Muhammad Iqbal
Superior College Mian Channu
Computer Graphics
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
2. Reduction for Vertical Fragmentation
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
1 Reduction for Vertical Fragmentation
The vertical fragmentation function distributes a relation
based on projection attributes.
Since the reconstruction operator for vertical fragmentation
is the join, the localization program for a vertically
fragmented relation consists of the join of the fragments on
the common attribute.
For vertical fragmentation, we use the following example.
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
1 Reduction for Vertical Fragmentation
Example 7.11. Relation EMP can be divided into two
vertical fragments where the key attribute ENO is
duplicated:
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
1 Reduction for Vertical Fragmentation
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
3 Reduction for Derived Fragmentation
• Derived horizontal fragmentation is another way of
distributing two relations so that the joint processing of
select and join is improved.
• Typically, if relation R is subject to derived horizontal
fragmentation due to relation S, the fragments of R and S
that have the same join attribute values are located at the
same site.
• In addition, S can be fragmented according to a selection
predicate.
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
3 Reduction for Derived Fragmentation
The localization program for a horizontally fragmented relation is the union of
the fragments. In our example, we have
ASG = ASG1∪ ASG2
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
4 Reduction for Hybrid Fragmentation
• Hybrid fragmentation is obtained by combining the fragmentation
functions discussed above.
• The goal of hybrid fragmentation is to support, efficiently, queries
involving projection, selection, and join.
• Note that the optimization of an operation or of a combination of
operations is always done at the expense of other operations.
• For example, hybrid fragmentation based on selection-projection
will make selection only, or projection only, less efficient than with
horizontal fragmentation (or vertical fragmentation).
• The localization program for a hybrid fragmented relation uses
unions and joins of fragments.
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
4 Reduction for Hybrid Fragmentation
In our example, the localization program is
EMP = (EMP1 ∪ EMP2) ENO EMP3
✶
Data Localization
by Muhammad Iqbal
Superior College Mian Channu
Distributed Database Systems
4 Reduction for Hybrid Fragmentation
SELECT ENAME FROM EMP
WHERE ENO="E5"
Allah Hafiz

More Related Content

PPTX
Distributed Database Systems-Types of Fragmentation I.pptx
PDF
Pptofdistributeddb
PPTX
8 drived horizontal fragmentation
PPTX
Adbms 24 data fragmentation
PPTX
RDBMS UNIT 5 DDBMS- Distributed Database Management Systems.pptx
PPT
SR_R_Datamining.ppt detaled explanation re
PPT
DDBMS (1).pptanmhfvnmbjk bjhjjjhkjkhjkjk
Distributed Database Systems-Types of Fragmentation I.pptx
Pptofdistributeddb
8 drived horizontal fragmentation
Adbms 24 data fragmentation
RDBMS UNIT 5 DDBMS- Distributed Database Management Systems.pptx
SR_R_Datamining.ppt detaled explanation re
DDBMS (1).pptanmhfvnmbjk bjhjjjhkjkhjkjk

Similar to Distributed Database Systems-Data Localization.pptx (20)

PDF
A Review On Fragmentation Techniques In Distributed Database
PPTX
Database ,7 query localization
PPTX
Distributed Database Management System
PPTX
Distributed design alternatives
PPTX
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
PPTX
DDBS PPT (1).pptx
PPTX
PPTX
Lec 8 (distributed database)
PPT
CHAPTER2.ppt DATABASES FOR MULTIMEDIA COMPUTING
PPT
Ddbms1
PDF
Welcome to International Journal of Engineering Research and Development (IJERD)
PPTX
Database, 3 Distribution Design
PDF
Lecture 2
PPT
Distributed Database Management System
PPTX
Distributed Database Systems-DDS Promises.pptx
PDF
Advance DBMS
PPTX
Distributed Database system in Computer Science.pptx
PPT
1 ddbms jan 2011_u
PDF
Fragmentation as a Part of Security in Distributed Database: A Survey
PPTX
DATA BASE MANAGEMENT IN CLOUD - UNIT -1 PPT
A Review On Fragmentation Techniques In Distributed Database
Database ,7 query localization
Distributed Database Management System
Distributed design alternatives
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DDBS PPT (1).pptx
Lec 8 (distributed database)
CHAPTER2.ppt DATABASES FOR MULTIMEDIA COMPUTING
Ddbms1
Welcome to International Journal of Engineering Research and Development (IJERD)
Database, 3 Distribution Design
Lecture 2
Distributed Database Management System
Distributed Database Systems-DDS Promises.pptx
Advance DBMS
Distributed Database system in Computer Science.pptx
1 ddbms jan 2011_u
Fragmentation as a Part of Security in Distributed Database: A Survey
DATA BASE MANAGEMENT IN CLOUD - UNIT -1 PPT
Ad

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Computing-Curriculum for Schools in Ghana
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Lesson notes of climatology university.
PDF
Pre independence Education in Inndia.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial disease of the cardiovascular and lymphatic systems
human mycosis Human fungal infections are called human mycosis..pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPH.pptx obstetrics and gynecology in nursing
Insiders guide to clinical Medicine.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
VCE English Exam - Section C Student Revision Booklet
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Computing-Curriculum for Schools in Ghana
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Final Presentation General Medicine 03-08-2024.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Lesson notes of climatology university.
Pre independence Education in Inndia.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Ad

Distributed Database Systems-Data Localization.pptx

  • 2. Lecture Topics Data Localization Distributed Database Systems Lecture #20 By Muhammad Iqbal Superior College Mian Channu Computer Graphics
  • 3. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems
  • 4. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 2. Reduction for Vertical Fragmentation
  • 5. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 1 Reduction for Vertical Fragmentation The vertical fragmentation function distributes a relation based on projection attributes. Since the reconstruction operator for vertical fragmentation is the join, the localization program for a vertically fragmented relation consists of the join of the fragments on the common attribute. For vertical fragmentation, we use the following example.
  • 6. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 1 Reduction for Vertical Fragmentation Example 7.11. Relation EMP can be divided into two vertical fragments where the key attribute ENO is duplicated:
  • 7. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 1 Reduction for Vertical Fragmentation
  • 8. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 3 Reduction for Derived Fragmentation • Derived horizontal fragmentation is another way of distributing two relations so that the joint processing of select and join is improved. • Typically, if relation R is subject to derived horizontal fragmentation due to relation S, the fragments of R and S that have the same join attribute values are located at the same site. • In addition, S can be fragmented according to a selection predicate.
  • 9. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 3 Reduction for Derived Fragmentation The localization program for a horizontally fragmented relation is the union of the fragments. In our example, we have ASG = ASG1∪ ASG2
  • 10. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 4 Reduction for Hybrid Fragmentation • Hybrid fragmentation is obtained by combining the fragmentation functions discussed above. • The goal of hybrid fragmentation is to support, efficiently, queries involving projection, selection, and join. • Note that the optimization of an operation or of a combination of operations is always done at the expense of other operations. • For example, hybrid fragmentation based on selection-projection will make selection only, or projection only, less efficient than with horizontal fragmentation (or vertical fragmentation). • The localization program for a hybrid fragmented relation uses unions and joins of fragments.
  • 11. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 4 Reduction for Hybrid Fragmentation In our example, the localization program is EMP = (EMP1 ∪ EMP2) ENO EMP3 ✶
  • 12. Data Localization by Muhammad Iqbal Superior College Mian Channu Distributed Database Systems 4 Reduction for Hybrid Fragmentation SELECT ENAME FROM EMP WHERE ENO="E5"