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

CS 2550代做、SQL程序語(yǔ)言代寫

時(shí)間:2024-04-19  來(lái)源:  作者: 我要糾錯(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% ’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.

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

標(biāo)簽:

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:COMP2003J代寫、代做Python/Java編程語(yǔ)言
  • 下一篇:KXO151代做、代寫Problem Solving設(shè)計(jì)編程
  • 無(wú)相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲(chóng)
    油炸竹蟲(chóng)
    酸筍煮魚(yú)(雞)
    酸筍煮魚(yú)(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚(yú)
    香茅草烤魚(yú)
    檸檬烤魚(yú)
    檸檬烤魚(yú)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗(yàn)證碼平臺(tái) 理財(cái) WPS下載

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

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-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>
      亚洲午夜久久久久久久久电影网| 26uuu另类欧美亚洲曰本| 激情六月婷婷久久| 免费观看在线色综合| 日韩中文字幕不卡| 美女免费视频一区| 韩国精品免费视频| 成人国产亚洲欧美成人综合网| 国产在线不卡一区| thepron国产精品| 欧美性猛交xxxxxx富婆| 欧美肥大bbwbbw高潮| 日韩精品一区二区三区老鸭窝 | 国产精品看片你懂得| 国产精品久久久久久久久免费丝袜 | 日韩国产在线观看一区| 蜜臀av一区二区在线观看| 午夜不卡在线视频| 国产一本一道久久香蕉| 91在线观看成人| 91精品国产丝袜白色高跟鞋| 久久这里只有精品视频网| 国产精品国产自产拍高清av| 亚洲一区二区综合| 狠狠色狠狠色综合系列| 波多野结衣的一区二区三区| 欧美性三三影院| 久久久午夜电影| 亚洲最大成人网4388xx| 精品在线播放免费| 欧美亚洲日本国产| 久久久久亚洲蜜桃| 亚洲综合视频在线| 国产麻豆精品久久一二三| 色婷婷综合久久久久中文一区二区| 欧美区一区二区三区| 国产精品天干天干在观线| 五月婷婷色综合| 成人高清免费观看| 日韩欧美久久久| 亚洲一区二区三区影院| 国产不卡在线一区| 91精品久久久久久久久99蜜臂| 中文字幕欧美国产| 麻豆成人在线观看| 欧美日韩三级一区| 亚洲色欲色欲www| 国产精品影视天天线| 欧美一区二区精品在线| 亚洲精品ww久久久久久p站| 国产精品夜夜嗨| 日韩欧美国产综合| 天天综合天天做天天综合| a级精品国产片在线观看| 精品sm在线观看| 欧美aaaaa成人免费观看视频| 一本一道综合狠狠老| 中文字幕精品在线不卡| 国产一区视频在线看| 日韩视频一区二区在线观看| 亚洲第一综合色| 欧美色大人视频| 一区二区在线免费观看| 色综合久久中文综合久久97| 国产精品久久久久久久午夜片 | 欧美一区二区三区白人| 亚洲影视资源网| 欧美综合欧美视频| 亚洲综合视频在线观看| 91福利小视频| 亚洲与欧洲av电影| 欧美日韩黄色影视| 日韩影院在线观看| 日韩欧美亚洲国产精品字幕久久久| 亚洲va欧美va人人爽| 8v天堂国产在线一区二区| 青青草国产成人av片免费| 日韩视频在线观看一区二区| 强制捆绑调教一区二区| 精品福利在线导航| 国产成人综合亚洲网站| 国产精品国产三级国产三级人妇 | heyzo一本久久综合| 成人欧美一区二区三区白人 | 中文字幕亚洲电影| 欧美伊人久久久久久久久影院 | 91九色最新地址| 亚洲已满18点击进入久久| 欧美日韩黄色一区二区| 毛片一区二区三区| 国产日韩欧美综合在线| 99re成人精品视频| 亚洲va韩国va欧美va精品| 日韩免费观看高清完整版| 国产高清不卡一区| 一区二区三区国产豹纹内裤在线| 欧美午夜不卡视频| 精品一区二区三区在线播放视频| 欧美激情一区在线| 欧美日韩中文一区| 国产一区二区在线影院| 亚洲欧美国产毛片在线| 日韩一区二区电影网| 91在线视频18| 蜜臀精品久久久久久蜜臀| 国产精品色婷婷| 91精品国产色综合久久ai换脸| 国产传媒欧美日韩成人| 亚洲图片一区二区| 国产精品午夜电影| 欧美久久婷婷综合色| 99精品欧美一区| 久久机这里只有精品| 亚洲欧美一区二区三区极速播放| 欧美一级精品大片| 日本乱人伦aⅴ精品| 国产精品原创巨作av| 日韩主播视频在线| 亚洲男人天堂av网| 欧美激情一区二区三区| 欧美大片在线观看一区| 欧美视频你懂的| 99re热视频这里只精品| 国产一区二区不卡老阿姨| 亚洲v中文字幕| 亚洲欧洲中文日韩久久av乱码| 精品蜜桃在线看| 欧美肥妇毛茸茸| 欧美性猛交xxxx乱大交退制版| 成人午夜在线视频| 韩国精品主播一区二区在线观看 | 欧美日韩一二三| 91免费看视频| 成人av小说网| 国产99久久久国产精品免费看| 美腿丝袜在线亚洲一区| 天涯成人国产亚洲精品一区av| 一区二区三区四区精品在线视频| 国产精品乱码一区二区三区软件| 精品99一区二区三区| 精品久久一区二区三区| 精品女同一区二区| 精品欧美一区二区久久| 欧美一区二区视频在线观看2020| 欧美色视频在线观看| 欧美日韩精品福利| 欧美精品日韩一本| 欧美一级久久久| 欧美成人三级在线| 久久伊人蜜桃av一区二区| 精品国产伦一区二区三区观看方式| 日韩一卡二卡三卡国产欧美| 日韩欧美另类在线| 久久先锋资源网| 亚洲国产高清在线观看视频| 国产精品国产a| 日韩理论片网站| 亚洲制服丝袜av| 日韩不卡一区二区三区| 麻豆91在线看| 丰满白嫩尤物一区二区| 99久久久国产精品免费蜜臀| 色综合色狠狠天天综合色| 在线免费观看不卡av| 欧美日韩国产一二三| 日韩欧美国产综合在线一区二区三区| 日韩欧美一区在线| 国产日韩精品一区二区三区在线| 中文字幕一区二区三区av| 一区二区三区日韩精品视频| 日韩电影一二三区| 国产成人精品免费在线| 在线免费视频一区二区| 日韩一区二区三区免费观看| 日本一二三不卡| 午夜精品久久久久久久| 韩国午夜理伦三级不卡影院| 99久久精品国产导航| 欧美日本高清视频在线观看| 26uuu色噜噜精品一区| 亚洲精品国产一区二区精华液| 婷婷亚洲久悠悠色悠在线播放| 九九九精品视频| 色嗨嗨av一区二区三区| 精品sm在线观看| 亚洲一区二区三区四区在线| 国产一区二区视频在线播放| 色欧美片视频在线观看在线视频| 欧美一级高清片| 成人免费一区二区三区视频 | 91小视频免费看| 日韩欧美在线123| 一区二区三区在线不卡| 国产一区二区三区| 欧美日韩亚洲综合在线| 国产精品你懂的| 久久国产福利国产秒拍| 欧美午夜精品久久久久久孕妇| 久久视频一区二区| 奇米一区二区三区|