亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

代寫COMPSCI 351、代做Java/c++程序語言

時間:2024-05-24  來源:  作者: 我要糾錯



Total Points (Weight): 100 (10%)
Assignment 3
COMPSCI 351-751/SOFTENG 351:
Database Systems
Due: 31 May at 11:59 pm 2024
1 Query Processing [10 marks]
Consider the join r ▷◁ s of two relations r and s whose common attribute set is {A}. Physically, r is stored
on 25 blocks and s on 21 blocks on the disk, tuples in both relations are unordered. Assume that the buffer
pool allocated for carrying out the join has 3 frames. Compare block nested-loop join against merge join in
facilitating r ▷◁ s by analyzing their I/O costs. The I/Os for exporting the ffnal joined results to the disk is called
the reporting cost, which shall be excluded from the calculation of the I/Os of r ▷◁ s, because the reporting
costs of both nested-loop join and merge join cancel each other out in the comparison. Speciffcally,
(A) Compute the # of I/Os, excluding the reporting cost, engaged by block nested-loop join. [5 marks]
(B) Compute the # of I/Os, excluding the reporting cost, engaged by merge join in the worst-case and
best-case scenarios, respectively. Here a scenario indicates an instantiation of the tuples in r and s. [5
marks]
2 Query Processing [10 marks]
Consider three relations r1(A, B, C), r2(C, D, E), and r3(E, F), with primary keys A,C, and E, respectively.
Assume that relation r1 has 1000 tuples, r2 has 1500 tuples, and r3 has 750 tuples.
(A) Compute the size of r1 ▷◁ r2 ▷◁ r3. [4 marks]
(B) Assume that each relation has a primary index (B+tree) based on its key. Give two strategies (explicitly
show what to report as the result) for computing the join. Note that you can use ffle scan, sorting, and
index to ffnd the resulting tuples. For example, a strategy could be an execution plan below. Speciffcally,
sort r1 based on attribute C. Perform a merge join on r1 and r2 to produce intermediate relation
r12 = r1 ▷◁ r2. Materialize r12 to the disk. For each tuple t12 ∈ r12, use the index of r3 to ffnd the tuple
t3 ∈ r3 that can join t12, report t12 ▷◁ t3. [6 marks]
▷◁: index-based block nested loop join
▷◁: merge join
r1 r2
r3
3 Locking Protocol [40 marks]
Recall the Consistency of Transactions: Actions and locks must relate in the expected ways:
• A transaction can only read or write an element if it previously was granted a lock on the element and
hasn’t yet released the lock.
• If a transaction locks an element, it must later unlock that element.
For each of the transactions described below, suppose that we insert one lock and one unlock action for each
database element that is accessed. Calculate how many sequence orders of the lock, unlock, read, and write
actions are in the following cases. Please show your working. (Note: the order of the data access operations
shall not be affected.)
T1: r1(A), w1(B)
T2: r2(A), w2(A), w2(B).
(A) Consistent and two-phase locked. [10 marks]
(B) Consistent, but not two-phase locked. [4 marks]
(C) Inconsistent, but two-phase locked. [20 marks]
(D) Neither consistent nor two-phase locked. [6 marks]
14 Transaction State [10 marks]
During execution, a transaction passes through several states until it ffnally terminates.
• List all possible sequences of states (i.e., path) through which a transaction may pass. [6 marks]
• Explain the state that each possible path may occur. [4 marks]
5 Deadlock [5 marks]
(A) Explain the concept of deadlocks. [1 marks]
(B) Provide two possible solutions to deadlocks. Explain your answer. [4 marks]
6 Recovery [10 marks]
The following ffgure shows the log corresponding to a particular schedule at the point of a system crash for four
transactions T1, T2, T3, and T4. Suppose that we use immediate update protocol with check-pointing. Describe
the recovery process from the system crash. Specify which transactions are rolled back, which operations in
the log are redone and which are undone and whether any cascading rollback takes places.
7 NoSQL [15 marks]
Describe a scenario in which one would prefer, respectively, as the data storage solution of a data-intensive
application, explain your reason.
(A) Document Database [3 marks]
(B) Graph Database [3 marks]
(C) Log-structured Storage (LSM) [3 marks]
(D) Column Store [3 marks]
(E) Traditional Relational Database [3 marks]
28 Bloom Filter [5 marks]
Explain the data structure of a bloom fflter and why it is used in the LSM tree.
9 Storage and Retrieval Efffciency [5 marks]
List give techniques, introduced in the course, that can improve the efffciency of data storage and retrieval of a
database system.
10 Application [5 marks]
A popular social mobile app has three functions for each user: sending messages to contacts, receiving
messages from contacts, and displaying the number of unread messages in the upper right corner of the app
logo. Once the user is online, the app is supposed to show all the unread messages to the user. However, user
feedback indicates an inconsistency between the displayed number of unread messages and the actual number.
Speciffcally, when the displayed number increases, users often have to wait for a long time (sometimes several
minutes) to see the new messages, during which the displayed number remains inconsistent with the actual
number of unread messages. Similarly, when users have read all the unread messages, it takes a long time
(sometimes several minutes) for the number to be updated accordingly. Among the following statements,
which could be possible reasons for the above inconsistency?
(A) For each user, the storage solution of the app only keeps a list of out-bounding messages.
(B) For each user, the storage solution of the app only keeps a list of in-bounding messages.
(C) The app treats users with a high number of contacts differently with the other users.
(D) The app has a cache for some of the users in storing their received message.
(E) The app cannot handle the load produced by the current users while a more scalable architecture should
be deployed.
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp












 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:COMP30023代做、代寫C/C++編程語言
  • 下一篇:代寫股票公式 代寫選股標 代做見妖發財副圖指標
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    性欧美freesex顶级少妇| 成人免费一区二区三区视频网站| 日本伊人久久| 欧美日韩免费观看一区二区三区 | 中国色在线日|韩| 二区中文字幕| 欧美日韩另类字幕中文| 色婷婷一区二区| av在线中文| 国产免费av国片精品草莓男男| 日本女人一区二区三区| 久久综合精品国产一区二区三区| 国产高清在线a视频大全 | 在线视频二区| 久草电影在线| 在线看国产日韩| 欧美日韩一级二级三级| 亚洲成精国产精品女| 国内一区二区三区| 国产区在线观看| 678五月天丁香亚洲综合网| 久久99在线观看| 色爱av综合网| 久久一区二区三区电影| 视频在线不卡免费观看| 99香蕉久久| 91麻豆精品国产91久久久平台| 日韩大片在线免费观看| 免费毛片在线看片免费丝瓜视频 | 不卡的看片网站| 亚洲欧美日韩国产另类专区| 欧美日韩你懂得| 四虎影视精品成人| 极品美女一区| 欧美日韩性在线观看| 日韩专区在线视频| 国产精品传媒在线| 精品污污网站免费看| 欧洲毛片在线| 四虎影视精品永久在线观看| 日韩视频在线观看| 国产mv日韩mv欧美| 一本色道久久综合亚洲精品按摩 | 国产欧美一区二区精品忘忧草 | 一区二区三区视频在线观看视频| 全球最大av网站久久| 中国精品18videos性欧美| 国产精品一级在线| 在线一区二区视频| chinese偷拍一区二区三区| 久久天堂久久| 免费久久99精品国产自在现线| 国产性色一区二区| 精品sm在线观看| 九色porny自拍视频在线播放| 九九热爱视频精品视频| 国内久久婷婷综合| 欧洲亚洲精品在线| 久操免费在线| 日韩精品一卡| 久久久高清一区二区三区| 欧美大胆一级视频| 中文字幕在线官网| 亚洲区国产区| 亚洲网友自拍偷拍| 精品福利视频导航大全| 嗯用力啊快一点好舒服小柔久久| 美女久久久精品| 色悠悠久久综合| 久久国产精品一区| 99久久精品网| 亚洲欧洲av在线| 一区二区三区高清在线视频 | 欧美福利在线播放网址导航| 国产精品一区二区在线播放 | 欧美色网一区二区| 日本不卡影院| 影音先锋中文字幕一区| 亚洲综合清纯丝袜自拍| 都市激情在线视频| 成人同人动漫免费观看| 国产精品欧美综合在线| 亚洲女人天堂在线| 欧美日中文字幕| 亚洲人成精品久久久久久| 你懂的好爽在线观看| 国产一区不卡| 亚洲日本一区二区| 免费a在线观看| 国产精品毛片久久| 婷婷成人综合网| 色婷婷在线播放| 久久久亚洲人| 欧美一区二区三区影视| 色综合.com| 91在线观看视频| 在线免费91| 成人3d动漫在线观看| 亚洲美女视频一区| 羞羞污视频在线观看| 亚洲免费影视| 欧美日韩电影在线播放| 国产美女撒尿一区二区| 日韩av在线发布| 一区二区三区四区在线播放| 久久毛片高清国产| 欧美日韩国产区| √8天堂资源地址中文在线| 日本亚洲视频在线| 婷婷色播视频| 国产一区二区三区电影在线观看| 亚洲欧洲日韩女同| wwww在线观看免费视频| 国产一区欧美二区| 一级片在线播放| 在线电影一区| 天天摸天天做天天爽水多| 自拍偷拍精品| 色999日韩国产欧美一区二区| 桃子视频成人app| 国产片一区二区| 毛片在线导航| 99国产欧美另类久久久精品| 成人在线免费公开观看视频| 日韩激情视频网站| 国产在线制服美女| 欧美在线综合| 激情视频免费观看在线| 亚洲黄页一区| 97视频免费| 亚洲一级二级| 国产黄色网页| 亚洲精品欧美| 免费看成年人视频在线观看| 日韩香蕉视频| 中文在线a√在线8| 久久亚洲国产精品一区二区| 粉嫩粉嫩芽的虎白女18在线视频| 激情成人亚洲| 李宗瑞系列合集久久| 久久av最新网址| 全色精品综合影院| 韩国av一区二区三区| 免费观看在线黄色网| 不卡一区二区中文字幕| 成人女同在线观看| 国产精品久久久久久久久免费相片 | 日本一区二区免费在线观看视频| 亚洲婷婷噜噜| 国产精品三级电影| 日韩午夜电影免费看| 欧美日韩国产精品一区| 蜜桃视频欧美| 精品少妇一区二区| 亚洲免费影视| 欧美高清视频| 久久亚洲精品国产精品紫薇| 桃子视频成人app| 精品国产鲁一鲁一区二区张丽| 日韩精品免费一区二区三区竹菊| 欧美年轻男男videosbes| 国产综合婷婷| 精品av中文字幕在线毛片| 丁香另类激情小说| 欧美xxxx做受欧美护士| 五月婷婷激情综合网| 国产欧美日韩精品一区二区免费| 国产专区视频| 国产一级精品在线| 中文不卡1区2区3区| 精品久久久久久久久久国产| 成人羞羞网站入口| 在线观看黄色| www久久久久| 97久久综合区小说区图片区| 日韩欧美国产不卡| 欧美aaaaaa午夜精品| 免费毛片b在线观看| 精品毛片网大全| 欧美日本三区| 国内精品久久久久久野外| 18涩涩午夜精品.www| 免费看av成人| 中文在线二区| 国产三级精品三级在线专区| 999在线精品| 写真片福利在线播放| 成人免费va视频| 波多野结衣欧美| 超碰在线免费| 国产欧美日韩亚州综合| 精品国产一级毛片| 国产黄色片在线播放| 亚洲乱码国产乱码精品精可以看| 999久久久免费精品国产| 91这里只有精品| 亚洲一级不卡视频| 亚洲精品乱码久久久久久蜜桃麻豆| 色噜噜狠狠狠综合欧洲色8| 日本韩国欧美三级|