国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

CS 2550代做、代寫(xiě)SQL設(shè)計(jì)編程

時(shí)間:2024-04-15  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(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% ’flH’, 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=‘flH’;
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

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:代寫(xiě) 2XC3、代做 Python 設(shè)計(jì)編程
  • 下一篇:代做CS 211: Computer Architecture
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢(qián)_專(zhuān)業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢(qián)_專(zhuān)業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢(xún)服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢(xún)服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢(xún)外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢(xún)外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類(lèi)仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類(lèi)仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢(xún)服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢(xún)服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁(yè)版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    成人动漫在线视频| 欧美精品在线第一页| 国产中文字幕免费观看| 男人的天堂99| 欧美图片激情小说| 人妻无码视频一区二区三区| 日本一区免费| 日韩精品久久一区二区| 欧美一区二区视频在线| 亚洲v国产v| 日本一区二区三区www| 日韩午夜视频在线观看| 青青青国产在线观看| 极品尤物一区二区三区| 国产午夜精品在线| 国产精品羞羞答答| 91久久久久久| 久久久久久午夜| 色婷婷久久av| 国产精品入口尤物| 精品伦精品一区二区三区视频| 欧美情侣性视频| 日本一区二区视频| 欧美日韩天天操| 国产欧美丝袜| 久久久天堂国产精品女人| 色婷婷久久av| 久久99精品久久久久久青青91| 亚洲精品tv久久久久久久久| 日本精品久久久| 免费观看美女裸体网站| av一区观看| 久久久久久久久久久久久久久久久久av | 中文精品一区二区三区| 欧美一区二区激情| 蜜臀av.com| 91精品久久久久久久久久久久久久 | 国产午夜福利在线播放| 99在线免费视频观看| 色婷婷久久一区二区| 欧美成人精品一区二区三区| 天天综合五月天| 国产视频一区二区不卡| 国产传媒久久久| 欧美激情网友自拍| 日韩视频在线播放| 99久久伊人精品影院| 久久韩国免费视频| 亚洲精品在线免费| 男人天堂成人网| 国产福利不卡| 一区二区三区的久久的视频| 人人澡人人澡人人看欧美| 国产免费一区二区三区视频| 久久久久久国产三级电影| 欧美wwwxxxx| 黄色一级视频在线播放| 久久久女人电视剧免费播放下载| 欧美精品情趣视频| 欧美日韩在线成人| 国产成人亚洲精品无码h在线| 欧美激情一级精品国产| 欧美精品久久| 色偷偷噜噜噜亚洲男人| 少妇av一区二区三区无码 | 日韩**中文字幕毛片| 国产欧美一区二区白浆黑人| 久热国产精品视频| 日本欧美一级片| 国产精品444| 一区二区高清视频| 欧美 日韩 国产 高清| 久久久这里只有精品视频| 中文字幕日本最新乱码视频| 欧美交换配乱吟粗大25p| 国产黑人绿帽在线第一区| 亚洲尤物视频网| 成人免费aaa| 久久不射热爱视频精品| 精品人妻大屁股白浆无码| 久久久久久久久91| 日韩欧美精品免费| 国产成a人亚洲精v品在线观看| 亚洲中文字幕无码一区二区三区 | 国产天堂在线播放| 国产精品三区四区| 欧美午夜性视频| 久久久久久久久久久成人| 日韩av免费网站| 国产黑人绿帽在线第一区| 婷婷久久伊人| av一区二区三区免费观看| 伊人网在线免费| 成人av免费在线看| 亚洲国产精品一区二区第一页| 国产精品自产拍高潮在线观看| 精品久久久久久综合日本| 国产又黄又大又粗视频| 国产精品成人aaaaa网站| 精品视频免费观看| 国产精品久久二区| 欧美 日韩精品| 国产精品欧美日韩一区二区| 欧美日韩精品综合| 国产精品人成电影| 国产在线资源一区| 不卡av在线网站| 国产免费黄色一级片| 中文字幕人成一区| 91九色在线视频| 日本精品免费一区二区三区| 久久精品视频91| 欧美伊久线香蕉线新在线| 国产精品免费观看在线| 精品无人乱码一区二区三区的优势 | 午夜精品久久久久久久白皮肤| 成人久久精品视频| 污污污污污污www网站免费| 国产成人精品日本亚洲| 日韩美女在线观看| 国产精品久久久999| 国产日产久久高清欧美一区| 亚洲自拍小视频| 久久久久久国产精品一区| 免费日韩中文字幕| 亚洲综合中文字幕在线| 国产黄色激情视频| 经典三级在线视频| 一级黄色免费在线观看| 国产激情在线看| 黄色录像特级片| 国产精品高清一区二区三区| 国产欧洲精品视频| 婷婷五月综合缴情在线视频| 久久精品2019中文字幕| 国产麻花豆剧传媒精品mv在线| 亚洲色成人一区二区三区小说 | 久无码久无码av无码| 欧美日韩免费观看一区| 久久久久久999| 久久久久久久久久久综合| 国内精久久久久久久久久人| 亚洲a级在线观看| 精品国产依人香蕉在线精品| 国产日本欧美在线| 亚洲精品中字| 国产精品久久一区主播| 777精品久无码人妻蜜桃| 黄色www网站| 欧美一区二区三区艳史| 国产精品国产三级国产专区51| 81精品国产乱码久久久久久| 狠狠久久综合婷婷不卡| 亚洲人一区二区| 国产精品久久久久免费a∨大胸| 不卡视频一区二区| 青青草原一区二区| 亚洲精品成人久久久998| 欧美成人免费一级人片100| 久久99精品国产99久久| 国产淫片免费看| 人人妻人人做人人爽| 亚洲一区二区三区免费看| 国产精品日韩一区二区免费视频| 91精品视频在线免费观看| 国产一区二区免费在线观看| 热re99久久精品国产99热| 亚洲国产精品一区二区第一页| 久久成人一区二区| 日韩视频永久免费观看| 久久久久se| 99亚洲精品视频| 国产精品自产拍在线观看中文| 欧美精品一区在线| 人人妻人人添人人爽欧美一区 | 国产在线精品成人一区二区三区| 日韩人妻一区二区三区蜜桃视频| 亚洲国产精品视频一区| 欧美巨大黑人极品精男| 国产精品日韩欧美综合| 精品国内产的精品视频在线观看| 久久乐国产精品| 91免费视频网站在线观看| 黄色片免费在线观看视频| 欧美日韩一区二区三区电影| 色欲av无码一区二区人妻| 亚洲色图都市激情| 中文字幕一区二区三区精彩视频| 精品麻豆av| 欧美激情a在线| 欧美精品成人91久久久久久久| 久久综合色影院| 久久综合国产精品台湾中文娱乐网| 国产精品久久久久91| 国产精品久久久久999| 久久资源免费视频| 九九热这里只有精品6| 在线播放 亚洲| 欧美精品xxx| 亚洲综合激情五月|