亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

CS 2550代做、SQL程序語言代寫

時(shí)間:2024-04-19  來源:  作者: 我要糾錯(cuò)



CS 2550 – Principles of Database Systems (Spring 2024)
Dept. of Computer Science, University of Pittsburgh
Assignment #4: Query Processing & Optimization
Release: April 10, 2024 Due: 8:00PM, April 22, 2024
Goal
The goal of this assignment is to better understand the query evaluation process.
Description
The following is a fragment of the university database schema.
Employee (EmployeeID, First, Last, Gender, DOB, Address, Phone, SNO, Salary)
PK(EmployeeID)
FK(SNO) --> Studio(StudioNum)
Studio (StudioNum, StudioName, Manager, Budget)
PK(StudioNum)
FK(Manager) --> Employee(EmployeeID)
Movie (movieID, producedBy, title, Budget, filmedAt)
PK(movieID)
FK(producedBy) --> Studio(StudioNum)
Consider four possible organizations of the tables Employee(E)-Studio(S)-Movie(M):
1. Tables E, S and M are heap files & no access methods exist on any of them
2. Tables E and S are sorted files and M is a heap file & no access methods exist on any of them
3. Tables E, S and M are heap files & access methods (hashing) exist only on M
4. Table E is a sorted file and tables S and M are heap files & access methods exist on E and
M, one of which is hash and the other is index
Further assume the following statistics:
ˆ Available Cache Memory (CM) to be 22 pages.
ˆ Attributes belonging to the same table all have the same average size.
ˆ When using hash join, the smaller record will be the partitioning part.
ˆ The distribution of values for the attribute filmedAt in the table Movie is: 50% ’PGH’, 30%
’PHI’, and 20% ’NYC’.
ˆ Movie: r = 500, bfr = 5, BP rj = 100.
ˆ Studio: r = 250, bfr = 5, BDep = 50.
ˆ Employee: r = 1250, bfr = 5, BEmp = 250.
ˆ Note that r is the total number of tuples in a table, bfr is the blocking-factor, and B is the
total number of blocks of a table.
Questions [100 points]
Q1 [20 points] Produce the heuristic query evaluation tree of the following SQL statement assuming no access structures available, and describe in details how the evaluation of the query would
be:
SELECT S.StudioName, COUNT(M.movieID), SUM(M.Budget)
FROM EMPLOYEE AS E, Studio AS S, Movie AS M
WHERE M.producedBy = S.StudioNum AND E.SNO = S.StudioNum
GROUP BY S.StudioName
HAVING COUNT(E.EmployeeID) < 15;
State any additional assumptions. (Hint: some operators can be combined into a single algorithm).
Q2 [80 points] Consider the query evaluation tree as discussed in class of the following SQL
statement.
SELECT M.movieID, M.producedBy, E.First, E.Last, E.Gender
FROM Employee AS E, Studio AS S, Movie AS M
WHERE M.producedBy = S.StudioNum AND S.Manager = E.EmployeeID
AND M.filmedAt=‘PGH’;
Based on your pittID, you have two database organizations assigned to you from the above organizations in order to answer this question. For those two organizations, identify sub trees that
represent groups of operations which can be executed by a single algorithm. For each such sub tree,
there are potentially multiple methods that can be combined to implement it as a single algorithm.
Please provide the following:
ˆ The description of one such implementation (steps & data structures) out of all possible ones
for each of the above cases.
ˆ The I/O cost of your implementation at each level.
ˆ Compute the total I/O cost.
You are asked to answer the question for two database organizations, those are based on your
pittID, as follows:
ddh32, tiw81, yiy161, dhb51, yul251, sml153, nia135, dtk28:
You are required to do the first and second organizations only.
mas937, yux85, anp407, shk148, nat134, aba166, mod53, jeb386:
You are required to do the first and third organizations only.
aym50, bsp22, yuw328, shy158, btl26, shp184, jah292, tbt8:
You are required to do the first and fourth organizations only.
What & How to submit
ˆ You are required to submit exactly one PDF file under your pitt user name (e.g.,
pitt01.pdf). In addition to providing the answer, you are expected to: include your
name and pitt ID at the top of the PDF file.
ˆ After preparing your solution, submit your file (i.e., the prepared PDF) that contains
your solution by going to the class’ Gradescope by either navigating to the Gradescope
Homepage and selecting the course CS 2550 from the Course Dashboard or by clicking
the Gradescope Navigation option under our course Canvas page.
ˆ You must submit your assignment before the due date (8:00 PM, Apr. 22, 2024).
There are no late submissions.
ˆ Note that you are required to use a graph tool (such as MS-Word, MS Powerpoint, MS
Visio, idraw, draw.io, etc.) to generate your diagrams and the text that explain them.
Handwritten/Hand-drawn diagrams and/or text will not be accepted/graded
and will receive a zero. Hand-written and digitized/scanned images will
receive a zero (including scanned, photos, or electronically drawn using a
smart pen submissions).
Academic Honesty
The work in this assignment is to be done independently. Discussions with other students on
the assignment should be limited to understanding the statement of the problem. Cheating
in any way, including giving your work to someone else will result in an F for the course and
a report to the appropriate University authority.

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

標(biāo)簽:

掃一掃在手機(jī)打開當(dāng)前頁
  • 上一篇:COMP2003J代寫、代做Python/Java編程語言
  • 下一篇:KXO151代做、代寫Problem Solving設(shè)計(jì)編程
  • 無相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級(jí)風(fēng)景名勝區(qū)
    昆明西山國家級(jí)風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗(yàn)證碼平臺(tái) 理財(cái) WPS下載

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    91麻豆精品国产无毒不卡在线观看| 久久午夜老司机| 丝袜国产日韩另类美女| 久久久久免费| 国产激情视频一区二区三区欧美 | 欧美一个色资源| 精品区一区二区| 永久www成人看片| 欧美激情图区| 日本在线观看网站| 日韩欧美一中文字暮专区| 国产精品久久久久久吹潮| 一区二区三区在线免费看| 九九在线高清精品视频| 亚洲激情精品| 成人精品免费网站| 亚洲精品v日韩精品| 欧美三级资源在线| 欧美aaa一级片| 视频免费一区| 成人午夜一级| 操欧美老女人| 男男视频亚洲欧美| 中文字幕国产一区二区| 韩曰欧美视频免费观看| www成人免费观看网站| 福利在线观看| 国产精品美女午夜爽爽| 午夜精品福利影院| 日韩视频一区| 久久久久9999亚洲精品| 在线视频欧美精品| 男女激情视频网站| 午夜av在线播放| 一区中文字幕电影| 亚洲女同在线| 国产精品人成在线观看免费| 欧美日韩一区中文字幕| 污网站免费在线观看| 欧美大片免费观看网址| 热久久天天拍国产| 国产一区二区三区免费看 | 亚洲综合免费观看高清完整版在线 | 欧美18 19xxx| 日本电影在线观看| 久久av中文| 国产精品1区2区3区在线观看| 一区二区在线观看视频在线观看| 天天看天天干| av最新在线| 日韩一区电影| av电影在线观看完整版一区二区| 欧美日韩人人澡狠狠躁视频| 尤物网站在线| 国产 日韩 欧美| 亚洲综合社区| 一区二区在线电影| 久热久精久品这里在线观看 | 99在线精品免费视频九九视| 国产午夜久久久久| 精品国产乱码久久久久久久| 97人澡人人添人人爽欧美| 久久综合88| 久久九九影视网| 午夜av噜噜噜噜噜噜| 校园春色亚洲| 99香蕉国产精品偷在线观看| 亚洲精品视频免费观看| 最美情侣韩剧在线播放| 亚洲精品一区国产| 国产精品综合在线视频| 制服.丝袜.亚洲.另类.中文| av资源新版天堂在线| 亚洲茄子视频| 午夜电影一区二区三区| av在线电影院| 久久久久亚洲| 一区二区三区高清在线| 高清国产福利在线观看| 成人情趣视频网站| 中文字幕一区二区不卡| 亚洲精品视频99| 亚洲涩涩av| 国产精品色呦呦| 免费黄色在线视频网站| 成人系列视频| 亚洲精品中文字幕乱码三区| av影片免费在线观看| 亚洲蜜桃视频| 香港成人在线视频| 国产高清在线a视频大全| 在线成人亚洲| 欧美日韩在线一区二区| 亚洲精品在线影院| 国产乱色国产精品免费视频| 天天操夜夜欢| 任你弄精品视频免费观看| 国产精品丝袜91| 最新国产在线观看| 宅男噜噜噜66国产日韩在线观看| 欧美日韩一区在线| 成人在线日韩| 国产精品美日韩| 日本激情在线观看| 久久久久网站| 精品久久久久久亚洲综合网| 美女网站色精品尤物极品姐弟| 国产日产欧美一区二区三区 | 亚欧色一区w666天堂| sm在线观看| 国产一区二区三区免费播放| 日本视频一二区| 日韩三级在线| 欧美日韩视频在线观看一区二区三区| 88xx成人永久免费观看| caoporm超碰国产精品| 在线看a视频| 1024成人| 伊人伊人av电影| 国产精品欧美日韩一区| 精品国产乱码久久久久久天美| 最新欧美色图| 99久久国产综合精品色伊 | 亚洲国产1区| www.亚洲| 91不卡在线观看| 日韩一级片网址| 精品久久国产| 欧美精品成人一区二区三区四区| 女仆av观看一区| 色噜噜狠狠一区二区三区果冻| 日韩精品一区二区三区中文| 亚洲精品国产无天堂网2021| 日本综合视频| 亚洲另类在线视频| 日本午夜精品久久久久| 亚洲精品成a人| 外国成人毛片| 欧美日韩亚洲一区二| 一区中文字幕电影| 91福利视频网站| 久久99国内| 日韩视频永久免费| 午夜久久久久| 老司机色在线视频| 捆绑调教一区二区三区| 色开心亚洲综合| 成人黄色一级视频| 国产夫妻在线播放| 亚洲视频资源在线| 99国产精品免费网站| 欧美中文字幕一区二区三区亚洲 | 色哟哟免费在线观看| www.亚洲免费av| 国产伦精品一区二区三区视频金莲| 国产精品久久久久三级| 91麻豆精品国产综合久久久 | 欧美xxx网站| 午夜精品一区二区三区免费视频 | 国产亚洲污的网站| 亚洲精品555| 色中色一区二区| 欧美超碰在线| 一二三四社区在线视频| 精品人在线二区三区| 久久视频免费| 爽爽免费视频| 神马亚洲视频| 欧美日韩国产免费| 91麻豆精品国产91久久久更新时间| 亚洲午夜激情网站| 国产亚洲精品aa午夜观看| 成人不卡免费av| 亚洲韩日在线| 欧美黑人巨大videos精品| 午夜在线视频| 精品免费日韩av| 亚洲一区二区三区四区的| 风间由美一区二区av101| 台湾佬中文娱乐久久久| 欧美一区二区精品久久911| 久久久久久久久久久99999| 国产乱码精品一区二区三区忘忧草| 日韩护士脚交太爽了| 黄色精品一区二区| 久久综合中文字幕| 日韩欧美电影| 99re8这里有精品热视频免费| 第一福利在线视频| www.亚洲.com| 免费看电影在线| 久久精品国产亚洲a∨麻豆| 欧美熟乱第一页| 亚洲欧美国产77777| 中文av字幕一区| 欧美日韩蜜桃| 四虎影视精品成人| 91精品国产91久久久久久最新毛片| 亚洲愉拍自拍另类高清精品| 国产精品久久久久久一区二区三区|