精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

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无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      精品一区免费观看| 亚洲成人福利在线观看| 国产综合精品视频| 亚洲精品乱码久久| 日韩一级片免费在线观看| 国产又黄又粗又长| 国产精品九九视频| 亚洲精品视频久久久| 亚洲av电影一区| 色欲AV无码精品一区二区久久| 精产国品一区二区三区| 不卡av中文字幕| 亚洲一区二区自偷自拍| 亚洲av成人无码久久精品老人| 久久久久久久片| 黄色一级大片在线免费看国产一 | 日韩精品一区不卡| 久久久国产精品成人免费| 国产福利资源在线| 国产精品一区二区羞羞答答| 国产成人av免费观看| 亚洲一级理论片| 亚洲精品一区二三区| 亚洲精品乱码久久久久久蜜桃图片| 一区二区三区久久久久| 在线观看一区二区三区视频| 亚洲av人人澡人人爽人人夜夜| 五月天激情丁香| 午夜国产小视频| 亚洲精品一区二三区| 99热在线观看免费精品| 国产精品久久久久久在线观看| 国产美女高潮视频| 精品久久久久一区二区 | 国产理论在线播放| 国产精品久久久精品四季影院| www国产视频| 精品久久久中文字幕人妻| 欧美福利在线视频| 午夜精品久久久久久久第一页按摩| 性xxxx视频播放免费| 亚洲精品第三页| 国产精品久久久久久免费| 国模私拍一区二区| 蜜臀av中文字幕| 亚洲va欧美va| 成人av免费播放| 久久在线视频精品| 中文字幕乱码av| 国产成人在线综合| 欧美视频亚洲图片| 一级黄色大片免费观看| 国产探花在线免费观看| 色婷婷在线观看视频| 97人妻精品一区二区免费| 黄色小说在线观看视频| 五月婷婷六月香| 国产强伦人妻毛片| 天天干天天色综合| www.五月婷| 天天看片天天操| 国产美女无遮挡永久免费| 色综合久久久无码中文字幕波多| 一级黄色大片视频| 人妻互换一区二区激情偷拍| 99视频只有精品| 少妇高潮久久久| a天堂在线视频| 日韩在线不卡av| 国产免费一区二区三区最新不卡 | 国产又黄又粗视频| 亚洲产国偷v产偷v自拍涩爱| 成年人三级黄色片| 五月天国产视频| 精品一级少妇久久久久久久| 中文字幕一区二区三区四区免费看 | 在线观看国产亚洲| 国产又大又黄又粗的视频| 亚洲福利精品视频| 欧美一级免费在线| 国产无套在线观看| 99久久国产免费| 午夜精产品一区二区在线观看的| 精品国产国产综合精品| 4438国产精品一区二区| 日本一区二区网站| 国产亚洲精品成人| aaaaa一级片| 亚洲男人的天堂在线视频| 男人天堂av电影| 国产黄色网址在线观看| 亚洲国产精品一区二区久久hs| 免费人成又黄又爽又色| 国产农村妇女毛片精品| www.好吊色| 亚洲永久精品一区| 亚洲少妇久久久| 亚洲国产欧美视频| 中文字幕精品亚洲| 天天影视色综合| 人妻妺妺窝人体色www聚色窝| 国产丝袜在线视频| 国产亚洲精品熟女国产成人| 成人久久精品人妻一区二区三区| 亚洲欧美高清在线| 亚洲精品久久久蜜桃动漫| 亚洲成人福利在线观看| 亚洲第一网站在线观看| 亚洲第一香蕉网| 亚洲精品国产精品乱码不卡| 中文字幕一区二区人妻在线不卡| 性做久久久久久久久久| 在线视频观看一区二区| 亚洲 欧美 激情 另类| 香蕉av在线播放| 性无码专区无码| 亚洲国产精品久久久久爰性色| 伊人网在线综合| 亚洲欧美国产中文| va婷婷在线免费观看| 国产精品国产精品88| 国精产品一区一区二区三区mba | 日本在线观看中文字幕| 日韩精品一区不卡| 五月婷婷在线播放| 亚洲精品无码久久久久| 97精品人人妻人人| 丰满少妇高潮在线观看| 国产情侣在线播放| 久久久精品视频在线| 久久精品一区二区三区四区五区| 久久中文免费视频| 天天色综合天天色| aaa一区二区三区| 久久爱一区二区| 日韩av免费播放| 亚洲国产精品久久人人爱潘金莲 | 亚洲天堂999| 国产a免费视频| 久久久久99精品成人片三人毛片| 久久人妻少妇嫩草av蜜桃| 女教师高潮黄又色视频| 亚洲第一天堂影院| 国产毛片欧美毛片久久久| 男女男精品视频网站| 香蕉久久国产av一区二区| 北条麻妃亚洲一区| 久久精品三级视频| 中文字幕在线导航| 久久精品国产亚洲AV成人婷婷| 午夜成人鲁丝片午夜精品| av av在线| 日本不卡视频一区| av电影在线播放| 日韩久久久久久久久久| 91久久国语露脸精品国产高跟| 九九热免费在线观看| 亚洲av综合一区二区| 国产美女网站视频| 亚洲AV无码一区二区三区性 | 午夜精品小视频| 国产视频1区2区| 熟女少妇一区二区三区| 国产 日韩 欧美 精品| 日韩女优一区二区| 国产午夜福利片| 一级国产黄色片| 天堂中文字幕在线观看| 国产又黄又粗视频| 亚洲中文字幕一区二区| 欧美片一区二区| 国产精品入口麻豆| 一个人看的www日本高清视频| 人妻少妇精品视频一区二区三区 | 精品人妻伦一二三区久久| 亚洲 美腿 欧美 偷拍| 国产香蕉视频在线| 亚洲自拍一区在线观看| 青青青在线视频| 国产又粗又猛视频| 亚洲精品无码久久久久| 人妻丰满熟妇av无码区| 国产精品第七页| 91麻豆国产视频| 中文字幕精品三级久久久| 美女一区二区三区视频| 国产伦精品一区二区三区88av| 亚洲精品久久久中文字幕| 少妇一区二区三区四区| 蜜桃无码一区二区三区| 国产传媒国产传媒| 亚洲天堂网av在线| 天堂av在线8| 欧美成人精品欧美一级私黄 | 一区二区不卡免费视频| 欧美日韩免费做爰视频| 久久这里只有精品9| 国产精品自产拍| 国产美女永久免费无遮挡| www.99re6|