To optimize disk /O cost, if you frequently have to access the pages of a file in sequential order. How would you lay those pages on disk? Consider the architecture of a typical modern disk consisting of platters, tracks, cylinders e

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter12: Secondary Storage Management
Section: Chapter Questions
Problem 6RQ
icon
Related questions
Question
Problem 27: a- To optimize disk /O cost, if you frequently have to access the pages of a file in sequential order. How would you lay those pages on disk? Consider the architecture of a typical modern disk consisting of platters, tracks, cylinders etc. b- In terms of what the disk has to do for each, what is the difference ‘between random and sequential /O? - To improve the performance of the query, choose an index configuration? Briefly justify your answer. SELECT * FROM employee WHERE Name = ‘Julien’ AND workingHours > 10 > Choose one and explain briefly why . - A hash index on < workingHours > . - An unclustered tree index on < workingHours > . -An unclustered tre index on . A clustered tree index on < workingHours, Name>
Problem 27:
a- To optimize disk I/O cost, if you frequently have to access the
pages of a file in sequential order. How would you lay those pages
on disk? Consider the architecture of a typical modern disk
consisting of platters, tracks, cylinders etc.
b- In terms of what the disk has to do for each, what is the difference
between random and sequential I/O?
c- To improve the performance of the query, choose an index
configuration? Briefly justify your answer.
SELECT *
FROM employee
WHERE Name = 'Julien' AND workingHours > 10
Choose one and explain briefly why
.- A hash index on < workingHours >
- An unclustered tree index on < workingHours >
-An unclustered tree index on <Name>
A clustered tree index on < workingHours, Name>
Transcribed Image Text:Problem 27: a- To optimize disk I/O cost, if you frequently have to access the pages of a file in sequential order. How would you lay those pages on disk? Consider the architecture of a typical modern disk consisting of platters, tracks, cylinders etc. b- In terms of what the disk has to do for each, what is the difference between random and sequential I/O? c- To improve the performance of the query, choose an index configuration? Briefly justify your answer. SELECT * FROM employee WHERE Name = 'Julien' AND workingHours > 10 Choose one and explain briefly why .- A hash index on < workingHours > - An unclustered tree index on < workingHours > -An unclustered tree index on <Name> A clustered tree index on < workingHours, Name>
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Parallel and Distributed Storage
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning