99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CS 2550代做、代寫SQL設計編程

時間:2024-04-15  來源:合肥網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

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

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                色综合一个色综合| 日本大胆欧美人术艺术动态| 亚洲精品一线二线三线无人区| 最新日韩av在线| 国产盗摄一区二区| 久久久久九九视频| 国产成都精品91一区二区三| 久久久www成人免费无遮挡大片| 轻轻草成人在线| 欧美一区二区三区四区五区| 肉丝袜脚交视频一区二区| 欧美色综合网站| 天天操天天色综合| 日韩一区二区在线观看| 精品一区二区三区免费视频| 久久久精品欧美丰满| 国产精品影视在线观看| 欧美韩国日本一区| 99久久99久久久精品齐齐| 亚洲激情在线激情| 欧美欧美欧美欧美首页| 久久激五月天综合精品| 国产精品天干天干在观线| 成人高清免费观看| 洋洋av久久久久久久一区| 欧美一级欧美一级在线播放| 国产老女人精品毛片久久| 国产精品三级av| 91小视频免费看| 日韩成人午夜精品| 欧美高清一级片在线观看| 日本最新不卡在线| 久久久久久日产精品| 欧美这里有精品| 国产精品一线二线三线| 亚洲免费大片在线观看| 欧美一区二区国产| av成人免费在线观看| 偷偷要91色婷婷| 国产日韩三级在线| 在线看国产一区| 激情文学综合插| 亚洲精品免费看| 亚洲欧洲国产专区| 国产清纯白嫩初高生在线观看91| 欧美成人激情免费网| 69p69国产精品| 欧美美女直播网站| 欧美美女激情18p| 欧美人动与zoxxxx乱| 欧美亚洲国产bt| 欧美视频一区二区三区| 欧美在线观看18| 欧美视频一二三区| 日韩一区二区免费在线观看| 欧美va在线播放| 久久精品亚洲国产奇米99| 国产女人水真多18毛片18精品视频| 精品国产电影一区二区| 国产午夜精品久久| 国产精品国产a| 亚洲免费观看在线观看| 亚洲高清不卡在线观看| 亚洲国产一二三| 青青草国产成人99久久| 国产露脸91国语对白| 高清国产一区二区| 91欧美激情一区二区三区成人| 粉嫩久久99精品久久久久久夜| jizz一区二区| 欧美日韩精品一区二区三区四区| 欧美色网站导航| 日韩欧美一级精品久久| 国产嫩草影院久久久久| 中文字幕中文字幕一区二区| 国产精品精品国产色婷婷| 亚洲国产日韩一区二区| 激情欧美一区二区| 成人动漫视频在线| 精品视频全国免费看| 久久蜜桃香蕉精品一区二区三区| 国产校园另类小说区| 亚洲猫色日本管| 秋霞影院一区二区| 懂色av一区二区三区蜜臀| 在线日韩av片| 久久在线免费观看| 亚洲精品国产a久久久久久| 久久99国产精品免费网站| 色就色 综合激情| 亚洲精品一区二区三区福利| 亚洲视频综合在线| 国内精品国产三级国产a久久| 成人国产精品免费观看| 欧美一区二区三区的| 国产精品丝袜91| 亚洲一区在线观看免费 | 色综合一区二区| 精品捆绑美女sm三区| 一卡二卡三卡日韩欧美| 成人免费看视频| 精品88久久久久88久久久| 一区二区三区丝袜| 99久久综合国产精品| 日韩免费在线观看| 亚洲二区在线视频| 99在线精品免费| 欧美韩国日本一区| 日产国产高清一区二区三区| 激情五月婷婷综合| 日韩一区国产二区欧美三区| 亚洲在线视频网站| 色噜噜狠狠成人网p站| 中文字幕一区二区三区精华液 | 日本高清免费不卡视频| 精品国产乱码久久久久久牛牛| 亚洲成av人影院在线观看网| 99精品欧美一区| 久久久久国产精品免费免费搜索| 一区二区免费视频| 色94色欧美sute亚洲线路一ni | 欧美日韩大陆在线| 亚洲人成精品久久久久久| 久久福利视频一区二区| 欧美日韩一区二区三区高清| 亚洲日本中文字幕区| 色综合天天综合网天天看片| 中文字幕视频一区二区三区久| 国产一区999| 日韩欧美一区二区在线视频| 亚洲第四色夜色| 91超碰这里只有精品国产| 亚洲bt欧美bt精品| 日韩一区二区三区免费看| 免费观看91视频大全| 欧美丝袜丝交足nylons| 亚洲国产精品欧美一二99| 在线成人免费视频| 极品尤物av久久免费看| 亚洲国产精品v| 91污片在线观看| 日本亚洲一区二区| 国产成人8x视频一区二区| 国产精品美女久久久久久久 | 欧美国产视频在线| 97国产一区二区| 夜夜精品视频一区二区| 91精品国产福利| 风间由美一区二区三区在线观看| 亚洲乱码中文字幕综合| 欧美精品自拍偷拍| 精品一区二区三区日韩| 中文字幕一区二区三区av| 欧美羞羞免费网站| 国产在线精品免费av| 中文字幕亚洲一区二区va在线| 在线成人av影院| 成人av在线播放网站| 亚洲与欧洲av电影| 久久九九全国免费| 欧美日韩高清一区| 福利电影一区二区| 偷拍与自拍一区| 中文字幕一区二区在线播放| 欧美私人免费视频| 97精品久久久久中文字幕| 久久成人免费日本黄色| 一区二区三区在线播| 久久久蜜臀国产一区二区| 欧美日韩亚洲丝袜制服| 国产成人免费视| 亚洲成av人片一区二区梦乃| 国产人伦精品一区二区| 欧美伊人久久久久久久久影院| 国产精品一区二区无线| 日韩1区2区日韩1区2区| 亚洲精品国产一区二区精华液 | 欧美激情在线看| 91麻豆精品国产| 色丁香久综合在线久综合在线观看| 激情国产一区二区| 免费高清在线视频一区·| 亚洲欧美另类小说视频| 国产欧美精品一区二区三区四区| 日韩午夜在线影院| 欧美人牲a欧美精品| 色婷婷综合在线| 91亚洲大成网污www| 国产精品一区二区三区网站| 日本亚洲三级在线| 免费在线观看精品| 亚洲一区二区三区在线播放| 亚洲欧美日韩成人高清在线一区| 中文字幕成人av| 国产欧美精品一区aⅴ影院| 精品美女在线播放| 精品国产电影一区二区| 欧美一区二区精品久久911| 日韩一区二区三区观看| 日韩西西人体444www|