- 1、本文档共4页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
2014-2015学年下学期 《数据库系统设计》课程实验
云南大学软件学院
实 验 报 告
姓名: 周坤 学 :20121120256 班级:2012级软件工程 日期: 成绩:
实验六 数据库优化
一 实验任务
1.B+treeindex
(1)ConstructaB+-treeforthefollowingsetofkeyvalues:
(2,3,5,7, 11,17,19,23,29,31)
Assumethatthetreeisinitiallyemptyandvaluesareaddedinascendingorder.ConstructB+-trees
forthecaseswherethenumberofpointersthatwillfitinonenodeis4.
(2)ForthisB+-treeofPractice(1),showtheformofthetreeaftereachofthefollowingseriesof
operations:
a.Insert9.
b.Insert 10.
c.Insert8.
d.Delete23.
e.Delete 19.
(3)ForthisB+-treeofPractice(1),showthestepsinvolvedinthefollowingqueries:
a.Findrecordswithasearch-keyvalueof11.
b.Findrecordswithasearch-keyvaluebetween and 17,inclusive.
2.QueryProcessing
Letrelationsr1(A,B,C)andr2(C,D,E)havethefollowingproperties:r1has20,000tuples,r2has
45,000tuples,25tuplesofr1fitononeblock,and30tuplesofr2fitononeblock.Estimatethe
numberofblocktransfersandseeksrequired,usingeachofthefollowingjoin strategiesfor
r1 r2:
(1)Nested-loopjoin
(2)Mergejoin
3.QueryOptimization
SupposethataB+-treeindexon(deptname,building)isavailableonrelationdepartment.
Whatwouldbethebestwaytohandlethefollowingselection?
(building “Watson”) ∧ (budget 55000) ∧ (dept_name =“Music”)(department)
1
- -
2014-2015学年下学期 《数据库系统设计》课程实验
二 实验环境
Windows7、wps、
三 实验结果记录
1.B+treeindex
(1) ConstructaB+-treeforthefollowingsetofkeyvalues:(2,3,5,7,11,17,19,23,29,31)
31
3 1 23 31
2 3 5
11 1 19 23 29 31
(2)
a) Insert9
您可能关注的文档
- 广州中医药大学《放射诊断学》X-D-2.ppt
- 广州中医药大学《放射诊断学》X-D-3.ppt
- 广州中医药大学《放射诊断学》X-R-1.ppt
- 高等数学B(林业大学)第三节 曲面及其方程.PPT
- 高等数学B(林业大学)第三节 全微分.PPT
- 高等数学B(林业大学)第三节 三重积分.PPT
- 高等数学B(林业大学)第十章 习题课.PPT
- 高等数学B(林业大学)第四节 多元复合函数的求导法则.PPT
- 高等数学B(林业大学)第四节 空间曲线及其方程.PPT
- 高等数学B(林业大学)第四节 重积分的应用.PPT
- 2.2.1风蚀地貌公开课教案教学设计课件资料.pptx
- 15教学阅读公开课教案教学设计课件资料.doc
- 17十七、DNA的半保留复制公开课教案教学设计课件资料.pptx
- 考点38 自然保护区建设与生态安全公开课教案教学设计课件资料.doc
- 3科学试卷公开课教案教学设计课件资料.doc
- 光现象公开课教案教学设计课件资料.docx
- 第一部分 第七章 课时43 地质灾害公开课教案教学设计课件资料.docx
- 核心素养综合练3 区域认知公开课教案教学设计课件资料.doc
- 4.4国际合作教学设计2023-2024学年人教版(2019)高中地理选择性必修2公开课教案教学设计.docx
- 2.1.3滑坡、泥石流课件公开课教案教学设计课件资料.pptx
文档评论(0)