爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频

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

    爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频
    <strike id="bfrlb"></strike><form id="bfrlb"><form id="bfrlb"><nobr id="bfrlb"></nobr></form></form>

        <sub id="bfrlb"><listing id="bfrlb"><menuitem id="bfrlb"></menuitem></listing></sub>

          <form id="bfrlb"></form>

            <form id="bfrlb"></form>

              <address id="bfrlb"></address>

              <address id="bfrlb"></address>
              欧美一区二区三区免费看| 久久综合网络一区二区| 欧美自拍偷拍| 亚洲成人在线视频网站| 欧美mv日韩mv国产网站| 日韩亚洲欧美一区| 国产精品成人午夜| 国产精品观看| 欧美亚洲一区二区三区| 国产精品久久久久久久午夜| 国产亚洲精品7777| 国产亚洲欧洲| 日韩一级黄色大片| 一本色道久久加勒比精品| 亚洲视频精品在线| 欧美一区二区三区免费看| 99国产精品国产精品毛片| 91久久精品国产91久久性色tv| 国产在线观看91精品一区| 日韩天天综合| 亚洲毛片播放| 国产精品入口日韩视频大尺度| 极品尤物一区二区三区| 欧美日韩在线播放| 国产一区二区0| 久久蜜桃香蕉精品一区二区三区| 久久丁香综合五月国产三级网站| 欧美视频在线视频| 亚洲一区影音先锋| 另类尿喷潮videofree| 久久久久久久久一区二区| 伊人夜夜躁av伊人久久| 久久久久免费观看| 理论片一区二区在线| 久久精品综合网| 亚洲国产精品一区二区第一页| 欧美精品亚洲精品| 亚洲三级影片| 在线精品国精品国产尤物884a| 欧美日韩午夜剧场| 香蕉久久夜色精品国产| 日韩视频在线一区二区三区| 欧美激情在线狂野欧美精品| 老牛嫩草一区二区三区日本| 国产欧美日韩一级| 亚洲精品久久嫩草网站秘色| 国产在线视频欧美一区二区三区| 久久久久久亚洲综合影院红桃| 国产精品国产馆在线真实露脸| 欧美日韩亚洲一区二区| 在线观看不卡| 国产精品久久久久久亚洲毛片| 亚洲欧洲一区二区在线观看| 久久精品一本久久99精品| 亚洲伊人久久综合| 欧美成人免费全部观看天天性色| 亚洲性线免费观看视频成熟| 欧美日韩成人| 久久国产加勒比精品无码| 欧美特黄视频| 欧美人体xx| 麻豆精品一区二区综合av| 99re热这里只有精品免费视频| 国产精品国产馆在线真实露脸| 国产精品―色哟哟| 一本大道久久精品懂色aⅴ| 亚洲国产精品va在线看黑人动漫| 亚洲国产一区在线观看| 亚洲激情一区二区三区| 一色屋精品视频在线看| 国产精品久久久久久久久久久久| 欧美日韩精品免费| 亚洲精品少妇30p| 欧美在线啊v| 欧美日韩一区在线观看视频| 久久av免费一区| 国产香蕉久久精品综合网| 亚洲欧美激情精品一区二区| 麻豆av福利av久久av| 国产精品国产成人国产三级| 亚洲最黄网站| 麻豆91精品| 亚洲主播在线| 亚洲免费人成在线视频观看| 国产伦精品一区二区三区免费| 91久久精品久久国产性色也91| 欧美日韩日日骚| 中文国产亚洲喷潮| 亚洲精选大片| 久久午夜精品| 国产欧美一区二区精品秋霞影院| 欧美日本不卡视频| 欧美日韩亚洲高清| 国产视频一区二区在线观看| 在线观看国产精品网站| 91久久极品少妇xxxxⅹ软件| 久久精品国产一区二区电影| 久久午夜精品一区二区| 校园激情久久| 国产精品美女久久久| 国产日韩欧美一区二区三区在线观看| 日韩天堂在线视频| 亚洲综合大片69999| 日韩亚洲欧美在线观看| 午夜一区在线| 欧美亚洲三级| 欧美一级专区免费大片| 欧美激情国产高清| 欧美国产精品v| 久久夜色精品一区| 欧美一区观看| 欧美一区三区三区高中清蜜桃| 一区二区三区视频在线观看| 久久久亚洲人| 亚洲欧美日韩精品久久久久| 欧美日韩一区二区在线视频| 极品少妇一区二区三区精品视频| 欧美成人午夜77777| 一区二区三区在线视频播放| 噜噜爱69成人精品| 黄色成人免费观看| 欧美欧美全黄| 亚洲一级电影| 亚洲欧美日韩另类精品一区二区三区| 欧美日产一区二区三区在线观看| 亚洲国产婷婷香蕉久久久久久99| 亚洲精品一区二| 欧美中文字幕在线| 亚洲精品乱码久久久久| 欧美日韩另类视频| 国产毛片一区二区| 欧美国产激情二区三区| 国产精品久久久久久久久久免费看| 激情综合久久| 欧美精品色网| 久久精品99国产精品日本| 国产一区二区剧情av在线| 久久激五月天综合精品| 亚洲大片在线| 亚洲一区欧美| 久久噜噜亚洲综合| 国产九九视频一区二区三区| 国产精品亚洲不卡a| 欧美一区二区三区日韩视频| 一本大道久久精品懂色aⅴ| 欧美人妖在线观看| 欧美黄色影院| 国产精品夜夜夜| 亚洲曰本av电影| 久久成人精品电影| 欧美一区观看| 亚洲综合欧美日韩| 久久精品国产一区二区电影| 亚洲欧美日韩人成在线播放| 一区二区三区免费观看| 国产精品卡一卡二| 欧美精品日韩综合在线| 亚洲欧美变态国产另类| 亚洲国产高清一区| 亚洲第一福利视频| 久久综合电影一区| 在线看片成人| 日韩小视频在线观看| 亚洲毛片在线| 亚洲毛片在线免费观看| 亚洲国产精品成人va在线观看| 国产精品videossex久久发布| 欧美一区二区网站| 亚洲视频在线一区| 欧美高清视频在线观看| 欧美一区二区在线看| 韩国女主播一区| 国产精品高清网站| 欧美日韩一区二区三区在线观看免| 欧美视频一区在线| 欧美日本免费| 亚洲欧美综合国产精品一区| 亚洲国产精品久久久久婷婷老年| 欧美天天在线| 国产精品三区www17con| 亚洲一级影院| 亚洲综合色激情五月| 欧美大学生性色视频| 欧美极品色图| 国产精品永久免费| 欧美色视频一区| 欧美精品黄色| 欧美日韩不卡| 亚洲美女区一区| 蜜臀va亚洲va欧美va天堂| 久久精品午夜| 亚洲国产欧美不卡在线观看| 国产精品一区二区欧美| 国产精品久久久久免费a∨| 六月婷婷一区| 欧美精品福利视频| 久久精品99国产精品| 亚洲精品在线一区二区| 久久精品国产一区二区三区免费看| 亚洲精品乱码久久久久久按摩观|