美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇

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

時間:2024-04-19  來源:  作者: 我要糾錯



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.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

標簽:

掃一掃在手機打開當前頁
  • 上一篇:COMP2003J代寫、代做Python/Java編程語言
  • 下一篇:KXO151代做、代寫Problem Solving設計編程
  • 無相關信息
    昆明生活資訊

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

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇
    91麻豆精品国产91久久综合| 免费看黄色的视频| 亚洲一二三四视频| 国产精品亚洲一区二区无码| 影音先锋制服丝袜| 少妇精品无码一区二区三区| 91高清免费观看| 成人免费无遮挡无码黄漫视频| 亚洲色婷婷一区二区三区| www.中文字幕av| 国产+高潮+白浆+无码| 久久久久久久久久网站| 手机在线免费看片| 顶臀精品视频www| 黄色精品视频在线观看| 99久久99久久精品免费看小说.| 制服丝袜在线第一页| 色哟哟免费视频| 国产第一页精品| 男人的午夜天堂| 午夜剧场免费在线观看| 最新日韩免费视频| 大地资源高清在线视频观看| 亚洲天堂最新地址| 亚洲天堂最新地址| 少妇高潮一区二区三区喷水| 欧美第一页在线观看| 成人在线观看小视频| a级大片免费看| 亚洲一区和二区| 欧亚乱熟女一区二区在线| 182在线视频| 久久久精品人妻无码专区| 老司机精品免费视频| caoporn91| 欧美激情 亚洲| 天天躁夜夜躁狠狠是什么心态| 国产免费一区二区三区最新6| 稀缺小u女呦精品呦| www.色多多| 少妇视频在线播放| 佐佐木明希电影| x88av在线| 91精品人妻一区二区三区四区| 国内精品免费视频| 中文字幕第69页| 免费不卡的av| 看黄色录像一级片| 亚洲一区二区三区无码久久| 91免费在线看片| 在线免费看黄色片| 韩国三级在线播放| 亚洲天堂久久新| 日批视频在线看| 国产人妻大战黑人20p| 四虎免费在线视频| av电影网站在线观看| 久久国产劲爆∧v内射| 国产在线综合视频| 亚洲少妇一区二区三区| 69xxx免费| 日本丰满少妇裸体自慰| 神马午夜精品91| 丰满少妇一区二区三区| 蜜桃视频无码区在线观看| 卡一卡二卡三在线观看| 欧美夫妇交换xxx| 亚洲综合网在线| 国产高清自拍视频| 四虎永久免费观看| 你懂得视频在线观看| 国内精品久久99人妻无码| 免费人成视频在线播放| 妖精视频在线观看免费| 蜜臀久久99精品久久久久久| 成人免费毛片日本片视频| av在线天堂网| 四川一级毛毛片| 国产传媒在线看| 五月天精品视频| 超碰caoprom| 潘金莲一级淫片aaaaaaa| 永久免费看片直接| 天堂а√在线中文在线鲁大师| 国产小视频自拍| 一区二区三区在线观看免费视频| 国产精品九九九九九| 香蕉网在线播放| 亚洲第一成人网站| 亚洲av成人无码久久精品 | 亚洲精品一区二区18漫画| 日本黄色免费片| 亚洲精品成人无码| www.狠狠爱| 欧美午夜激情影院| www.99re6| 国产suv一区二区三区| 国产精品成人免费观看| 1024手机在线视频| 国产精久久久久| 蜜臀视频在线观看| 国产精品无码久久久久久| 3d动漫精品啪啪一区二区下载| 国产三级av在线播放| 成人自拍小视频| 欧美激情 亚洲| 妺妺窝人体色WWW精品| 99自拍视频在线| 亚洲熟女一区二区| 成人18视频免费69| 精品国产免费久久久久久婷婷| 朝桐光av一区二区三区| jizzjizzjizz国产| 欧亚乱熟女一区二区在线| 国产美女永久免费无遮挡| 亚洲色婷婷一区二区三区| 一本加勒比北条麻妃| 欧洲第一无人区观看| 天天插天天射天天干| 日日碰狠狠添天天爽| 老司机午夜免费福利| 日本裸体美女视频| 欧美亚一区二区三区| 外国一级黄色片| 懂色av蜜桃av| 北岛玲一区二区| 色哟哟免费视频| 97在线观看免费高| 美女久久久久久久久久| 欧美日韩一区二区区别是什么 | 精品国产乱码久久久久久鸭王1 | 瑟瑟视频在线观看| www.啪啪.com| 日本黄色免费片| 在线看片中文字幕| 精品人妻一区二区三区日产乱码卜| 欧美a级片免费看| 国产在线观看h| 97人妻精品一区二区三区免| 久久久久99精品成人片试看| 神马久久久久久久久久久| 久久亚洲AV成人无码国产野外| 欧美熟妇另类久久久久久多毛| 无码人妻丰满熟妇啪啪欧美| 一级黄色电影片| 波多野结衣中文字幕在线播放| 无码人妻精品中文字幕| 懂色av蜜臀av粉嫩av永久| 亚洲第一综合网| 娇妻被老王脔到高潮失禁视频| 亚洲区免费视频| 亚洲性猛交xxxx乱大交| 国精品无码人妻一区二区三区| 韩国无码一区二区三区精品| 精品国产人妻一区二区三区| 女同毛片一区二区三区| 亚洲国产精品自拍视频| 制服丝袜第二页| 国产精品无码午夜福利| 成人无码www在线看免费| 色噜噜日韩精品欧美一区二区| 亚洲中文字幕无码av| 亚洲一区二区三区日韩 | 国产精品久久不卡| 强伦人妻一区二区三区| 干b视频在线观看| 国产探花视频在线| 日本在线视频播放| 少妇久久久久久久久久| 韩国一级黄色录像| 日本一区二区免费视频| 中文字幕 自拍| 久久久久亚洲AV成人| 人妻在线日韩免费视频| 亚洲一级片在线播放| 成年人av电影| 熟女少妇一区二区三区| 亚洲精品自拍视频在线观看| 又色又爽又黄18网站| 在线免费观看麻豆| 东方av正在进入| 中日韩精品一区二区三区| 99鲁鲁精品一区二区三区| 亚洲中文字幕一区| 久久嫩草捆绑紧缚| 精品无码国产一区二区三区51安| 九九热免费在线| 亚洲图片综合网| 91香蕉视频在线播放| 亚洲av成人片色在线观看高潮| 亚洲一级二级片| 国产精品无码一区二区三区免费| 国产成人综合在线视频| 91国模少妇一区二区三区| 免费黄视频在线观看| 黑鬼狂亚洲人videos| 大吊一区二区三区| 大又大又粗又硬又爽少妇毛片| 欧美日韩一区二区区别是什么| 国产麻豆a毛片|