国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

CS 2550代做、代寫SQL設(shè)計編程

時間:2024-04-15  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



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:
ddh**, 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, yuw**8, 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.

WX:codinghelp

掃一掃在手機打開當(dāng)前頁
  • 上一篇:代寫 2XC3、代做 Python 設(shè)計編程
  • 下一篇:代做CS 211: Computer Architecture
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強度疲勞振動
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務(wù)平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養(yǎng) 十大衛(wèi)浴品牌排行 suno 豆包網(wǎng)頁版入口 wps 目錄網(wǎng) 排行網(wǎng)

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    自拍另类欧美| 日本精品视频网站| 国产精自产拍久久久久久蜜| 日韩欧美在线观看强乱免费| 国产成人手机视频| 亚洲一二区在线| 欧美日韩电影一区二区| 免费中文日韩| 97人人模人人爽人人喊中文字| 精品国产欧美一区二区三区成人 | 国产精品国产精品国产专区不卡 | 国产乱子伦精品无码专区| 久久av二区| 亚洲 欧美 综合 另类 中字| 国精产品一区一区三区视频| 日韩在线观看高清| 亚欧洲精品在线视频免费观看| 国产日韩精品在线播放| 日韩一区二区福利| 性欧美在线看片a免费观看| 国产精品一区二区三| 国产精品看片资源| 欧美亚州在线观看| 久久久久国产精品视频| 在线观看成人av| 国产日韩在线免费| 国产精品电影一区| 欧美精品在欧美一区二区| 国产爆乳无码一区二区麻豆| 永久久久久久| 国产精品一区二区你懂得| 国产精品美腿一区在线看| 欧美在线免费视频| 久久久久久久久久久综合| 欧美一区二区三区电影在线观看| 91久久在线视频| 亚洲视频在线二区| 成人av在线不卡| 一本一生久久a久久精品综合蜜| 国产这里只有精品| 国产精品视频99| 欧美亚洲在线视频| zzjj国产精品一区二区| 欧美日韩亚洲综合一区二区三区激情在线| 国产第一区电影| 三年中国中文在线观看免费播放| 久久久精品国产一区二区三区| 婷婷五月综合缴情在线视频| 97免费视频在线| 亚洲欧美丝袜| 国产日韩欧美91| 九九热精品视频国产| 国产欧美日韩一区| 国产a∨精品一区二区三区不卡| 国产自产精品| 宅男噜噜99国产精品观看免费| 逼特逼视频在线| 日本亚洲欧美成人| 国产精品入口免费视| 精品少妇人妻av一区二区 | 国产精品久久久av久久久| 国内精品视频久久| 日韩在线播放av| 欧美视频第一区| 精品国产成人av在线免| 隔壁老王国产在线精品| 色播五月综合| 久久久国产成人精品| 欧美成人精品免费| 国产精品久久久久91| 国产免费一区二区三区在线观看| 一本久道久久综合狠狠爱亚洲精品| 久久久天堂国产精品女人| 欧美成人第一区| 亚洲一区免费看| 久久久国产视频91| 福利在线一区二区| 日本精品福利视频| 精品国产日本| 国产成人综合精品在线| 狠狠爱一区二区三区| 亚洲一区二区三区毛片| 国产福利视频一区二区| 青草网在线观看| 国产精品美女www| 91av一区二区三区| 欧美久久综合性欧美| 欧美激情极品视频| 国产成人亚洲综合青青| 精品少妇在线视频| 色播亚洲视频在线观看| 国产精品成熟老女人| 久久久国内精品| 国产一区二区中文字幕免费看| 亚洲va码欧洲m码| 国产精品国产三级国产aⅴ浪潮| 91免费人成网站在线观看18| 黄色a级在线观看| 国产精品久久久久aaaa九色| av动漫在线播放| 欧美亚州在线观看| 亚洲熟妇av日韩熟妇在线| 国产成人无码av在线播放dvd| 91免费看蜜桃| 国产一二三四区在线观看| 日韩一二区视频| 一区精品在线| 久久艳片www.17c.com| 国产福利成人在线| 国产精品午夜国产小视频| 欧日韩在线观看| 欧美一级片久久久久久久| 中国人体摄影一区二区三区| 久久精品99国产精品酒店日本| 91久久久久久久久久| 国产私拍一区| 欧美激情国产日韩| 日本免费成人网| 亚洲精品一区二区三| 中文字幕精品一区日韩| 国产精品高清网站| 色偷偷噜噜噜亚洲男人| 久久精品.com| 久久精品在线免费视频 | 国产精品老女人精品视频| 久久久精品有限公司| 99久久综合狠狠综合久久止| 欧美日韩国产精品一区二区| 日韩av第一页| 亚洲精品国产系列| 中文字幕中文字幕在线中一区高清| 久久在精品线影院精品国产| 国产成人小视频在线观看| 久久精品二区| 久精品国产欧美| 久久综合九九| 国产国语刺激对白av不卡| av观看免费在线| 操人视频欧美| 俄罗斯精品一区二区三区| 国产在线观看精品一区二区三区| 激情内射人妻1区2区3区| 热久久精品国产| 日韩精品欧美在线| 日韩欧美视频免费在线观看| 欧美一区二区视频17c| 日日橹狠狠爱欧美超碰| 日本一区二区三区四区在线观看| 日本新janpanese乱熟| 日日鲁鲁鲁夜夜爽爽狠狠视频97| 亚洲天堂电影网| 亚洲乱码国产一区三区| 性高湖久久久久久久久aaaaa| 午夜精品一区二区三区视频免费看| 午夜精品短视频| 日本手机在线视频| 欧美一区二区中文字幕| 品久久久久久久久久96高清 | 久久手机在线视频| 久久精品aaaaaa毛片| 日韩中文字幕免费视频| 久久久精品国产亚洲| 国产精品久久久久久久7电影| 国产精品久久久久久久乖乖| 国产精品国产精品国产专区蜜臀ah | 99久久99久久精品| 91久久国产精品91久久性色| 91精品国产99久久久久久| 国产富婆一区二区三区| 久久精品国产成人精品| 国产精品国模在线| 亚洲一区不卡在线| 日韩中文字幕一区| 欧美深夜福利视频| 国产男女无遮挡| 久热这里只精品99re8久| 久久精品99国产精品酒店日本| 久久中文字幕视频| 亚洲a级在线播放观看| 热久久视久久精品18亚洲精品| 国内自拍中文字幕| 北条麻妃av高潮尖叫在线观看| 国产日韩精品推荐| 久久久中精品2020中文| 国产成人精品一区二区三区| 国产精品久久久久久五月尺| 亚洲欧洲日本国产| 日本a级片在线观看| 精品一区久久| 国产精品一区二区三区免费观看| 国产精品亚洲自拍| 91精品国产99久久久久久| 97色伦亚洲国产| 国产成人精品电影久久久 | 91精品国产99| 国产精品视频yy9099| 在线播放 亚洲| 欧美亚洲一区在线| wwwwww欧美| 国产精品免费在线免费|