intro to ware housing

Upload: hamza-imtiaz-malik

Post on 07-Jul-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/18/2019 intro to ware housing

    1/4

    SE-6C

    Data WarehousingAssignment #1

    Hamza ImtiazMalikFA13- SE-!3"

  • 8/18/2019 intro to ware housing

    2/4

    Q1: NormalizationAns er$1 st Normal Form:

    %a&le alrea'( e)ist in 1 st *ormal i+e+ noneo, its olumn is ontaining multi .alue' attri&utes+Stu'ent /Si'0 First*ame0 ast*ame0 De2t+0 Domi ile0 ro.in es0Courses4+

    2 nd Normal Form:Stu'ent*ame /Si'/ 540 First*ame0 ast*ame4

    De2artments /Di'/ 540 Dname4

    Domi ileCities /DCi'/ 540 Cit(*ame4

    ro.in es / i'/ 540 *ame4

    Courses /Ci'/ 540 *ame4

    Stu'ent e or's /S i'/ 540 Di'/F540 DCi'/F540 i'/F540Ci'/F544

    3rd

    Normal Form:Stu'ent*ame /Si'/ 540 First*ame0 ast*ame4

    De2artments /Di'/ 540 Dname4

    Domi ileCities /DCi'/ 540 Cit(*ame4

    Courses /Si'/F54Ci'/ 540 *ame4

    Stu'ent ro.in e /Si'/F540 i'/F544Stu'entDe2artment /Si'/F540 Di'/ 544

    Stu'entDomi ile /Si'/F540 DCi'/ 540 Cit(*ame4

    Stu'ent ro.in e /Si'/F540 i'/ 540 *ame4

    Stu'entCourses /Si'/F540 Ci'/ 540 *ame4

  • 8/18/2019 intro to ware housing

    3/4

    Q2: Answer the following:

    A. Derived Attribute: It is the attri&ute hose .alue is'eri.e' / al ulate'4 ,rom one or more e)isting olumns0e+g+ our age is al ulate' on the &asis o, 'ate7o,7&irth an'

    urrent7'ate+

    B. Data are !ouse in two wa"s:1 st : A 'ata arehouse is a main lo ation here (ou oul'&ring an' store together all the 'ata ,rom (ourorganization82ro9e t+ It kee2s the re or's o, the histori al

    'ata ,or the sake o, anal(sis an' re2orting0 an' then usingthat anal(sis ,or remo.ing the 'e,e ts in our 2ro'u ts an'making them0 more relia&le ,or users

    2 nd :A 'ata arehouse is a su&9e t-oriente'0 integrate'0

    time-.ariant an' non-.olatile olle tion o, 'ata in su22orto, management:s 'e ision making 2ro ess+

    #. hen are redundant $olumns are added and wh"%Answer: We a'' re'un'ant olumns0 hen e nee' to'e-normalize our 'ata as it is one o, our 'e-normalizationte hni;ues0 e a'' these to a.oi' the hustle o, 9oins0 ina22ro2riate s enarios+

    D.&ive ' reasons of De(Normalization.1+ + e'u ing num&er o, ,oreign ke(s?+ We re;uire 'e-normalize' i+e+ anal(sis an' re2orting

    2ro ess

    ). hat is business intelligen$e%Answer:

    It is a te hnolog( 'ri.en 2ro ess ,or anal(sing 'ataan' 2resenting a tiona&le in,ormation to hel2 or2orate

  • 8/18/2019 intro to ware housing

    4/4

    e)e uti.es0 &usiness managers an' other en' users makemore in,orme' &usiness 'e isions+

    F. h" we use data warehousing%Answer: A 'ata arehouse /DWH4 is use' ,or anorganization hen the( ha.e multi2le 'is2arate sour es(stems an' there is a &usiness nee' to ha.e a holisti.ie o, 'is2arate 'ata so the organization an makeintelligent &usiness 'e isions+ %he &usiness intelligen e/ I4 'e isions are usuall( strategi in nature thoughta ti al ;uestions an also &e ans ere'+ Sometimesta ti al re2orting is 'one ,or a more entralize' re2orting

    on.enien e+ Sometimes it is a re;uirement to o@oa'ta ti al re2orting 2er,orman e hits ,rom the a22li ations+

    &. hat is Fa$t%Answer:A ,a t is something that has reall( o urre' or is a tuall(the ase+ In onte)t o, DWH there e)ist Fa t ta&le hi h

    onsists o, the measurements0 metri s or ,a ts o, a&usiness 2ro ess+