Docsity

Derived Horizontal Fragmentation(DHF)-Distributive Database System-Lecture Slides, Slides of Distributed Database Management Systems

Partial preview of the text

Download Derived Horizontal Fragmentation(DHF)-Distributive Database System-Lecture Slides and more Slides Distributed Database Management Systems in PDF only on Docsity!

In the name of Allah

Distributed Database Systems (CS-5323)

Lecture 24, 25^ 16-05-

Spring 2012docsity.com

Dept of CS, MAJU, Ibd

  Defined on a member relation of a linkaccording to a selection operation specified on its ownerSo we are interested in defining the

partitions of member based on fragmentation of its owner, but want tosee attributes only from member, so

Dept of CS, MAJU, Ibd

R Si =i (^) will be defined on R and where w is the maximum number of fragments that= R  ⋉Fi (S), where Fi is formula for PHF on S Si, 1 ≤ i ≤ w

Dept of CS, MAJU, Ibd

title, sal eNo, Name, title jNo, jName, budget, loc eNo, jNo, resp, dur

PAY EMP

ASIGN^ L1^ PROJ

Dept of CS, MAJU, Ibd

   Considering the link L1 above:We want to group employees on the basis of their salaries one with salary less than or equal to 30,000/- and other more than thatowner (L1) = PAY member (L1) = EMP

Dept of CS, MAJU, Ibd

Title Elect. Eng Sal 40000 Sys Analyst Mech. Eng 3400027000 Programmer (^24000) docsity.com

Dept of CS, MAJU, Ibd

    PAY1 =PAY2 =EMP1 = EMPEMP2 = EMP  SAL ≤ SAL > 30000 ⋉⋉ PAY1PAY2 30000 (PAY) (PAY)

Dept of CS, MAJU, Ibd

Input Required for DHF

Dept of CS, MAJU, Ibd

  • – – The set of partitions for ownerMember relationSemi-join predicates between owner andmember

Dept of CS, MAJU, Ibd

PAY

EMP

PAY

EMP2 docsity.com

Dept of CS, MAJU, Ibd alId, alDescp, alAmt, eNo^ PAY^ EMP^ title, sal^ eNo, Name, title^ jNo, jName, budget, loc^ PROJ

ASIGN

L ALLOWANCE^ eNo, jNo, resp, dur

Simple join graphs may always not be possible

Dept of CS, MAJU, Ibd

trId, date, bogies^ trId, trName, stId prId, prName, prAdress, stId trId, date, tot_psngr, AC, LAC, ECN

DAILY_TRAIN^ TRAIN
PS_TRAIN

PASSENGER

stId, stName, Zone trId, tot_load

STATION

LG_TRAIN trId, prId, rent, class TICKET docsity.com

Checking for Correctness