1. Trang chủ
  2. » Công Nghệ Thông Tin

Distributed Database Management Systems - vu_Lec_16

14 3 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Distributed Database Management Systems - vu_Lec_16
Trường học Virtual University of Pakistan
Chuyên ngành Distributed Database Management Systems
Thể loại lecture
Năm xuất bản 2023
Thành phố Karachi
Định dạng
Số trang 14
Dung lượng 165,58 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Distributed Database Management Systems: Lecture 16. The main topics covered in this chapter include: the inputs required for DHF; the set of partitions for owner; member relation; semi-join predicates between owner and member;...

Trang 1

Distributed Database Management Systems

Lecture 14

Trang 2

– The set of partitions for owner – Member relation

– Semi-join predicates between owner

and member

Trang 3

Virtual University of Pakistan 3

DHA

ASIGN

1- One with better Join Characteristics

2- One used in more applications

should try to facilitate heavy users; the first one needs more

considerations

Trang 4

DHF

• For the first point;

– Join is performed on smaller relations, that

increases efficiency

– The join can be performed in parallel in

case of simple graphs, that improves efficiency as well; simple graph means

PAY1

EMP1

PAY2

EMP2

Trang 5

Virtual University of Pakistan 5

DHF

1-Derived fragmentation may follow a chain, like

PAY-EMP-ASIGN

2-Typically, more than one fragmentation options are there, which one adopted is an allocation problem discussed later

Checking for Correctness

Completeness: for PHF depends on Pr’, and in DHF, completeness of owner Pr’, and the referential integrity constraint

Reconstruction: Involves Union in both

cases

Disjointness: Simple in PHF if the pi in Pr’ are mutually exclusive; in DHF,

guaranteed in case of simple join graph, however in case of partitioned join

graph it is hard to establish

Trang 6

Checking for Correctness

Completeness: for PHF depends on Pr’, and

in DHF, completeness of owner Pr’, and

the referential integrity constraint

Let R be member S be owner

Fs = { S1,S2,…Sn}

‘A’ the common attribute

t[A] = t’ [A]

Trang 7

Virtual University of Pakistan 7

Reconstruction:

Involves Union in both cases

FR = {R1,R2,….Rn}

R = U Ri Ri FR ∀ ∈

Trang 8

Disjoint ness:

Simple in PHF if the pi in Pr’ are mutually exclusive; in DHF,

guaranteed in case of simple join graph, however in case of

partitioned join graph it is hard to establish

Trang 9

Virtual University of Pakistan 9

Vertical Fragmentation (VF)

fragments R1, R2, … Rn, each of which contains subset of attributes

of R and PK of R.

relations, so that most of the

applications run on smaller

relations; so they become fast.

Trang 10

Vertical Fragment

• Vertical fragmentation is more

complicated, since more

alternatives exist.

Trang 11

Virtual University of Pakistan 11

Example of VF

A/C# Na

me Bal Branch AB10

1 Saeed 4535 MTN AB20

2 Laeeq 45632.34 LHR AB20

3 Salma 67839.87 LHR AB10

9 Shaan 45.32 MTN

A/C# Na

me Branch AB10

1 Saeed MTN AB20

2 Laeeq LHR AB20

3 Salma LHR AB10

9 Shaan MTN

CUST

A/C# Bal AB10

1 4535 AB20

2 45632.34 AB20

3 67839.87 AB10

9 45.32

Trang 12

Two Alternatives of VF

• Grouping: Starting with single

attribute VFs and then

combining different attributes

Trang 13

Virtual University of Pakistan 13

Two Alternatives of VF

• Splitting: Starting from the whole

relation and then breaking it down analyzing the nature of

applications

• Later suits better to DDB

environment; results

non-overlapping fragments; so

discussed here

Trang 14

Thanks

Ngày đăng: 05/07/2022, 13:36