数据库系统概念全套配套课件PPT appB.ppt

数据库系统概念全套配套课件PPT appB.ppt

ID:51969276

大小:330.00 KB

页数:21页

时间:2020-03-26

数据库系统概念全套配套课件PPT appB.ppt_第1页
数据库系统概念全套配套课件PPT appB.ppt_第2页
数据库系统概念全套配套课件PPT appB.ppt_第3页
数据库系统概念全套配套课件PPT appB.ppt_第4页
数据库系统概念全套配套课件PPT appB.ppt_第5页
资源描述:

《数据库系统概念全套配套课件PPT appB.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、AppendixB:AdvancedRelationalDatabaseDesignAppendixB:AdvancedRelationalDatabaseDesignReasoningwithMVDsHighernormalformsJoindependenciesandPJNFDKNFTheoryofMultivaluedDependenciesLetDdenoteasetoffunctionalandmultivalueddependencies.TheclosureD+ofDisthesetofallfunctionalandm

2、ultivalueddependencieslogicallyimpliedbyD.Soundandcompleteinferencerulesforfunctionalandmultivalueddependencies:1.Reflexivityrule.Ifisasetofattributesand,thenholds.2.Augmentationrule.Ifholdsandisasetofattributes, thenholds.3.Transitivityrule.Ifholdsand

3、holds,thenholds.TheoryofMultivaluedDependencies(Cont.)4.Complementationrule.Ifholds,thenR––holds.5.Multivaluedaugmentationrule.IfholdsandRand,thenholds.6.Multivaluedtransitivityrule.Ifholdsandholds,then–holds.7.Replicationrule.Ifholds,then

4、.8.Coalescencerule.IfholdsandandthereisasuchthatRand=and,thenholds.SimplificationoftheComputationofD+WecansimplifythecomputationoftheclosureofDbyusingthefollowingrules(provedusingrules1-8).Multivaluedunionrule.Ifholdsandholds,thenholds.Intersectio

5、nrule.Ifholdsandholds,thenholds.Differencerule.IfIfholdsandholds,then–holdsand–holds.ExampleR=(A,B,C,G,H,I) D={AB BHI CGH}SomemembersofD+:ACGHI.SinceAB,thecomplementationrule(4)impliesthatAR–B–A.SinceR–B–A=CGHI,soACGHI.AHI.SinceABandBHI,themultivaluedtr

6、ansitivityrule(6)impliesthatBHI–B.SinceHI–B=HI,AHI.Example(Cont.)SomemembersofD+(cont.):BH.Applythecoalescencerule(8);BHIholds. SinceHHIandCGHandCGHI=Ø,the coalescenceruleissatisfiedwithbeingB,beingHI,beingCG,andbeingH.WeconcludethatBH.ACG.ACGHIandAHI.Bythedifferen

7、cerule,ACGHI–HI.SinceCGHI–HI=CG,ACG.NormalizationUsingJoinDependenciesJoindependenciesconstrainthesetoflegalrelationsoveraschemaRtothoserelationsforwhichagivendecompositionisalossless-joindecomposition.LetRbearelationschemaandR1,R2,...,RnbeadecompositionofR.IfR=R1R2….

8、Rn,wesaythatarelationr(R)satisfiesthejoindependency*(R1,R2,...,Rn)if:r=R1(r)⋈R2(r)⋈……⋈Rn(r)Ajoindepe

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。