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
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

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

          9000px;">

                天天天天天天天干| 国产一二三区精品| 亚洲一二三av| xxww在线观看| 国产欧美久久久| 久久精品第一页| 日本免费精品视频| 性刺激的欧美三级视频| 亚洲精品毛片一区二区三区 | 国产成人一区二区在线观看| 成人欧美精品一区二区| 国产免费高清av| 欧美风情第一页| 亚洲AV成人精品| 99久热在线精品996热是什么| 岛国av中文字幕| 久久婷婷一区二区| 亚洲av熟女高潮一区二区 | 国产又大又黄又粗的视频| 六月婷婷七月丁香| 亚洲av无码一区二区乱子伦| 亚洲一级免费在线观看| 国产又爽又黄网站亚洲视频123| 日本一道本视频| 亚洲男人在线天堂| 国产综合在线播放| 无码任你躁久久久久久久| 一本一道精品欧美中文字幕| 国产又大又黄又粗的视频| 日韩 欧美 综合| 91在线公开视频| 久久免费少妇高潮99精品| 中文写幕一区二区三区免费观成熟| 国产aⅴ爽av久久久久| 蜜桃av.com| 亚洲精品视频导航| 九九视频在线观看| 亚洲国产精品免费在线观看| 国产一区二区三区视频免费观看| 人妻精品久久久久中文 | 日韩一区二区三区不卡| 国产又粗又猛又黄又爽无遮挡| 欧美日韩亚洲国产另类| 亚洲欧美另类日本| 久久久精品少妇| 亚洲精品毛片一区二区三区| 激情五月婷婷基地| 最新中文字幕视频| 久久青青草原亚洲av无码麻豆| 中文字幕欧美视频| 免费在线观看a视频| 亚洲人成色777777精品音频| 免费国产羞羞网站视频| 97人妻精品一区二区三区软件| 人人爽人人爽人人片| 懂色av蜜臀av粉嫩av分享吧| 特黄特黄一级片| 精品久久免费视频| 91成人破解版| 手机在线免费毛片| 后入内射无码人妻一区| 亚洲天堂国产精品| 手机av在线免费| 精品国产va久久久久久久| 亚洲国产精品自拍视频| 日韩精品视频一区二区| 国精产品一区二区三区| 99久久精品日本一区二区免费| 五月激情五月婷婷| 男女视频免费看| 国产又粗又黄又爽的视频| 2014亚洲天堂| 在线免费观看av片| 思思久久精品视频| 久久久久久久久久久网| 国产大尺度视频| 2021亚洲天堂| 亚洲精品www.| 一区二区三区www污污污网站| 免费在线观看污| 国产一区二区三区视频免费观看 | 天天干在线播放| 久久久久久久久久免费视频| 国产精品美女久久久久av爽| 亚洲欧美国产高清va在线播放| 日韩女同一区二区三区| 免费在线观看av网址| 精品免费久久久| 国产伦子伦对白视频| www.97av| www.日本一区| jizz欧美激情18| 99久久精品国产成人一区二区| 中文字幕在线免费看线人| 午夜免费看毛片| 天天干天天干天天| 日韩女优一区二区| 色婷婷一区二区三区av免费看| 欧美xxxx精品| 人妻91麻豆一区二区三区| 乱精品一区字幕二区| 久久国产视频播放| 久久人妻一区二区| 久久综合亚洲色hezyo国产| 精品人妻一区二区三区日产乱码卜| 成人综合久久网| 国产高清中文字幕| 国产免费一区二区三区最新6 | 日本一级二级视频| 欧美人一级淫片a免费播放| 久久久久久久蜜桃| 久久一区二区电影| 欧美熟妇交换久久久久久分类 | 成人午夜精品福利免费| www.毛片com| 国产黄a三级三级| 国产精品呻吟久久| 国产综合内射日韩久| 久草免费新视频| 欧美 日韩 成人| 色偷偷中文字幕| 亚洲xxx在线| 亚洲一区二区人妻| www.色日本| 国产又黄又猛又爽| 久久久久亚洲av无码a片 | 久久久久久久久久影院| 欧美一级性视频| 无码一区二区精品| 亚洲色成人www永久网站| www.自拍偷拍| 久久99爱视频| 日韩xxx视频| 中文在线最新版天堂| 一二三级黄色片| 国产视频精品免费| 欧日韩在线视频| 在线看片中文字幕| 成人免费毛片视频| 精品一区二区三区人妻| 日韩一区二区三区四区视频| 伊人久久中文字幕| www.天堂av.com| 精品无码免费视频| 午夜激情福利网| 逼特逼视频在线观看| 久草视频在线免费| 五月婷婷之综合激情| 99久久婷婷国产综合| 精品久久久久久无码人妻| 天天干天天爱天天操| 91社区视频在线观看| 久久影院一区二区| 在线播放av中文字幕| 国产精品999.| 日本三级一区二区| 999精品视频在线观看播放| 久久黄色一级视频| 在线观看日韩精品视频| 国产香蕉在线视频| 亚洲二区在线播放| 国产女人高潮毛片| 无码人妻精品一区二区50| 成年人晚上看的视频| 清纯粉嫩极品夜夜嗨av| 亚洲熟女乱综合一区二区三区| 黄色a在线观看| 在线观看成人动漫| 韩国三级丰满少妇高潮| 在线观看黄色网| 久久精品成人av| 一级片免费网站| 欧美片一区二区| h色网站在线观看| 色欲久久久天天天综合网| 超碰中文字幕在线观看| 天天操天天干天天摸| 国产精品视频123| 中文字幕在线观看高清| 精品视频站长推荐| 亚洲精品国产精品乱码| 免费黄视频在线观看| www.国产三级| 我不卡一区二区| 精品一区二区6| 99视频在线看| 香蕉视频成人在线| 久久亚洲精品国产| av观看在线免费| 伊人久久久久久久久久久久久久 | 中文字幕av久久爽av| 久久久久久久高清| 99re国产在线| 在线天堂中文字幕| 欧美特级黄色片| 国产又粗又长免费视频| av中文在线播放| 亚洲精品喷潮一区二区三区| 日本一道本视频| 久久久久人妻一区精品色欧美|