一個澳洲大學IT類碩士專業的,有關資料庫方面的考試題
今天朋友給了我一道澳洲IT碩士專業的考題,讓我做一下。
這個題目很有意思,也可以從一個側面比較一下國外和國內的教育方法。
這個題目很長,內容如下:
Document your solution and every step towards the final solution.
Clearly state your name and the student number on the cover page and on each of your additional pages. Staple your
documents and hand them in using the assignment box for 329A in G block. Hand in by 6th June 13:00am.
1. Task: Physical Design, Access Structures 42 points
Consider a database system that uses a variant of B+ Trees for indexing, where leaf nodes contain actual data records, as opposed to pointers to data records (Oracle: index organized table). The index in question is on a unique attribute, which contains no duplicate entries. The database system is to have the following properties:
·Blocks are 4096 bytes in size. Header size is 96 bytes. Usable memory of the nodes is filled up to 85%.
·Each record is 400 bytes in size. A pointer requires 12 bytes. A record pointer (rowid) requires 12 bytes. The search key is 8 bytes in size.
·The data file to be indexed has 10,000,000 entries (records).
(a) How large will the index be maximal? Give your answer in terms of number of blocks, as well as number of bytes. Show each step in your calculations. (13 marks)
(b) How large will the index be maximal, provided that leaf nodes store record pointers instead of actual data records? Give your answer in terms of number of blocks, as well as number of bytes. Show each step in your calculations.(9 marks)
(c) Consider a range query querying 15% of the data. The queried data forms a sequence based on the search key a, e.g. select * from where a between x and y. Which of the following forms of access will be the fastest? Determine, for each of the four choices, the maximal required number of block accesses. Explicitly state any assumptions that you may be making. (16 marks)
這個題目很有意思,也可以從一個側面比較一下國外和國內的教育方法。
這個題目很長,內容如下:
Document your solution and every step towards the final solution.
Clearly state your name and the student number on the cover page and on each of your additional pages. Staple your
documents and hand them in using the assignment box for 329A in G block. Hand in by 6th June 13:00am.
1. Task: Physical Design, Access Structures 42 points
Consider a database system that uses a variant of B+ Trees for indexing, where leaf nodes contain actual data records, as opposed to pointers to data records (Oracle: index organized table). The index in question is on a unique attribute, which contains no duplicate entries. The database system is to have the following properties:
·Blocks are 4096 bytes in size. Header size is 96 bytes. Usable memory of the nodes is filled up to 85%.
·Each record is 400 bytes in size. A pointer requires 12 bytes. A record pointer (rowid) requires 12 bytes. The search key is 8 bytes in size.
·The data file to be indexed has 10,000,000 entries (records).
(a) How large will the index be maximal? Give your answer in terms of number of blocks, as well as number of bytes. Show each step in your calculations. (13 marks)
(b) How large will the index be maximal, provided that leaf nodes store record pointers instead of actual data records? Give your answer in terms of number of blocks, as well as number of bytes. Show each step in your calculations.(9 marks)
(c) Consider a range query querying 15% of the data. The queried data forms a sequence based on the search key a, e.g. select * from
相關文章
- 驗證一個和 initialization parameters pfile有關的052考試題
- 新東方:2023碩士研究生招生資料解讀
- PAT甲級考試題庫題目分類
- 關於大資料測試,你一定要試試python的fake庫大資料Python
- 一大波碩士即將來襲
- python常用的資料庫有哪些?五大類!Python資料庫
- 一個ocp考試題的驗證
- DIY申請達姆施塔特工業大學計算機專業(Informatik)碩士(Master)【附個人簡歷和動機信】計算機ORMAST
- 【備考01組29號】2017年全國碩士研究生招生考試英語(二)
- 大資料期末考試一篇通 ---10萬條音樂專輯的資料分析大資料
- 澳洲大學文憑>麥考瑞大學畢業證,Q>微信707091118澳洲MQU畢業證成績單,諮詢教育部認證,使館認證,留信認證,全網可查存檔,澳洲學位證書,澳洲Quarie UniversityMQ
- 選擇 NoSQL 資料庫需要考慮的 10 個問題SQL資料庫
- 驗證一個052考試題
- OBCE 資料庫認證大師重磅釋出! 前 10 名報考學員免費考試!資料庫
- 有關Dialog類的相關資訊【對話方塊的介紹】
- 遷移資料庫資料考慮問題資料庫
- 2020年保育員(初級)作業考試題庫及保育員(初級)考試試題
- 資料庫試題資料庫
- 資料庫分類有哪些資料庫
- 一名大專同學的四個問題
- Redis面試題-Redis 16個資料庫Redis面試題資料庫
- 985 碩士程式設計師,空窗 4 個月沒有 Offer!程式設計師
- OCP 063中文考試題庫(cuug內部資料)第43題
- OCP 063中文考試題庫(cuug內部資料)第44題
- OCP 063中文考試題庫(cuug內部資料)第45題
- OCP 063中文考試題庫(cuug內部資料)第46題
- OCP 063中文考試題庫(cuug內部資料)第33題
- OCP 063中文考試題庫(cuug內部資料)第41題
- OCP 063中文考試題庫(cuug內部資料)第42題
- OCP 063中文考試題庫(cuug內部資料)第39題
- OCP 063中文考試題庫(cuug內部資料)第40題
- OCP 063中文考試題庫(cuug內部資料)第37題
- OCP 063中文考試題庫(cuug內部資料)第38題
- 學習大資料需要掌握MySQL資料庫的相關技能嗎?大資料MySql資料庫
- 2020年資料員-崗位技能(資料員)模擬考試題庫及資料員-崗位技能(資料員)實操考試視訊
- 考試試題A卷第一題
- 企業考慮雲原生分散式資料庫的三個原因分散式資料庫
- 建立一個SQL測試資料庫 - 消費者資料庫SQL資料庫