亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美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

    欧美大胆a级| a欧美人片人妖| h视频在线免费观看| 中文字幕在线三区| 国产三级电影在线播放| 视频一区国产| 国产精品传媒| 欧美理论在线播放| 国产区精品区| 电影在线观看一区| 欧美日韩免费看片| av男人一区| 色喇叭免费久久综合网| 欧美涩涩视频| 精品在线观看免费| 久久新电视剧免费观看| 亚洲啪啪综合av一区二区三区| 国产精品免费网站在线观看| 亚洲国产精品久久一线不卡| 一区在线播放| 国产欧美日韩综合一区在线播放 | a级高清视频欧美日韩| 天海翼精品一区二区三区| 日韩精品三区| 欧美日韩亚洲综合在线 | 欧美va视频| 在线欧美一级视频| 性欧美16一18| 欧美激情在线看| 亚洲成av人片| 99久久久精品| 91热爆在线观看| 中文字幕久久精品一区二区| 丁香花在线高清完整版视频| 国产视频911| av毛片在线免费| 337p粉嫩大胆色噜噜噜噜亚洲| www.aqdy爱情电影网| 91精品国产麻豆国产在线观看| 91免费版在线看| 日韩欧美亚洲一区| 18+激情视频在线| 久久综合欧美| 欧美激情一区二区三区| 精品成人a区在线观看| 91青青在线视频| 欧洲精品一区二区三区| 最近国产精品视频| 中文字幕一区二区三区四区| 91九色在线看| 日韩大片在线播放| 麻豆国产在线| 高清日韩欧美| 亚洲欧洲无码一区二区三区| www.99色.com| 久久国产欧美| 欧美亚洲国产怡红院影院| 国产精品国产三级国产普通话蜜臀 | 亚洲无人区一区| 成人淫片免费视频95视频| 精品国产18久久久久久二百| 亚洲高清毛片| 欧美性感一区二区三区| 欧美videos极品另类| 国产乱妇乱子在线播视频播放网站| 九九亚洲精品| 日韩欧美视频一区| 影音先锋久久久| 中文字幕五月欧美| 在线黄色国产视频| 中文日产幕无线码一区二区| 久久综合狠狠综合久久激情| 羞羞网站在线看| 一区二区导航| av在线一区二区| 黄污视频在线观看| aaa亚洲精品一二三区| 日韩a**中文字幕| 原千岁中文字幕| 91最新地址在线播放| 国产中文精品久高清在线不| 日日摸夜夜爽人人添av| 麻豆av免费在线观看| 久久综合九色综合欧美亚洲| 国产91亚洲精品久久久| 午夜日韩在线观看| 免费看美女视频在线网站| 国产一区二区网址| 污污的网站在线看| 日本一区二区成人在线| 四虎精品在线观看| 成人午夜私人影院| 99不卡视频| 99久久精品费精品国产风间由美| 欧美精品a∨在线观看不卡| 久久免费福利| 亚洲成av人片观看| 日本蜜桃在线观看视频| 欧美日韩成人一区二区| 韩国美女久久| 红桃视频国产精品| 91麻豆精品国产无毒不卡在线观看| 免费欧美在线视频| jizzjizz亚洲| 欧美精品一二三| 伊人一区二区三区| 久久99精品国产.久久久久久| 日韩欧国产精品一区综合无码| 精品欧美不卡一区二区在线观看 | 精品国产丝袜高跟鞋| 亚洲高清在线精品| 久久福利视频一区二区| 欧美成人三级| 亚洲国产精华液网站w| 最新超碰在线| 成人va在线观看| 国产v日韩v欧美v| 欧美久久久久免费| 国产乱子轮精品视频| 欧美毛片免费观看| 成人一区二区不卡免费| 亚洲mv在线| 欧美大片在线观看| 亚洲va欧美va人人爽| 亚洲精品久久嫩草网站秘色| 国产精品亚洲成人| 成人网免费视频| 久久精品一区八戒影视| 深夜福利久久| 污视频网站免费在线观看| 亚洲色图一区二区三区| 欧美视频亚洲视频| mm视频在线视频| 欧美成人video| www久久精品| 欧美人与性动交xxⅹxx| 欧美日韩国产综合视频在线观看中文 | 先锋影音在线播放av| 在线观看三级视频欧美| 99riav国产精品| 欧美三级午夜理伦三级在线观看 | 日韩视频免费观看高清完整版在线观看| 91精品推荐| 最近在线中文字幕| 国产www在线观看| 欧美午夜寂寞影院| 青春草视频在线| 91精品国产品国语在线不卡| 日韩电影一区二区三区| 亚洲成人精品综合在线| 91破解版在线看| 午夜亚洲国产au精品一区二区| 午夜亚洲视频| 九九久久成人| 国产成人免费av一区二区午夜| 亚洲伦理电影| 99国产精品国产精品毛片| 亚洲一区电影| 性色视频在线观看| 亚洲一区二区视频在线观看| 婷婷色在线资源| 欧美日韩一区久久| 99视频有精品| 蜜臀a∨国产成人精品| 色先锋久久影院av| 搜成人激情视频| 看黄色免费网站| 欧美精品粉嫩高潮一区二区| 欧美日韩免费视频| 亚洲成人在线网站| 欧美一区二区视频网站| 国产小视频免费在线网址| 一广人看www在线观看免费视频| 蜜桃视频成人m3u8| 国产精品欧美日韩一区| 好吊视频一区二区三区四区| 国产一区清纯| 免费欧美一区| 日韩免费视频| 亚洲国产视频二区| 亚洲欧美专区| 91精品国产66| 亚洲人成网站影音先锋播放| 美国十次了思思久久精品导航| 日本亚洲欧美天堂免费| 日韩视频三区| 欧美片网站免费| 色呦呦在线播放| 三级毛片在线免费看| 欧美mv日韩mv亚洲| 欧美视频三区在线播放| 玉足女爽爽91| 久久精品视频一区二区三区| 91性感美女视频| 欧美激情在线一区二区三区| 久久精品在这里| 国产精品资源在线观看| 国产精品a级| 日韩专区一卡二卡| 久久久国产精品午夜一区ai换脸|