What is the time required to read a ?le containing 100000

Assignment Help Database Management System
Reference no: EM13509507

1.Explain the terms seek time, rotational delay, and transfer time.

2.If you have a large ?le that is frequently scanned sequentially, explain how you would store the pages in the ?le on a disk

3.Consider again the disk speci?cations from Exercise 9.5, and suppose that a block size of 1024 bytes is chosen. Suppose that a ?le containing 100,000 records of 100 bytes each is to be stored on such a disk and that no record is allowed to span two blocks.

1. How many records ?t onto a block?

2. How many blocks are required to store the entire ?le? If the ?le is arranged sequentially on the disk, how many surfaces are needed?

3. How many records of 100 bytes each can be stored using this disk?

4. If pages are stored sequentially on disk, with page 1 on block 1 of track 1, what page is stored on block 1 of track 1 on the next disk surface? How would your answer change if the disk were capable of reading and writing from all heads in parallel?

5. What time is required to read a ?le containing 100,000 records of 100 bytes each sequentially? Again, how would your answer change if the disk were capable of reading/writing from all heads in parallel (and the data was arranged optimally)?

6. What is the time required to read a ?le containing 100,000 records of 100 bytes each in a random order? To read a record, the block containing the record has to be fetched from disk. Assume that each block request incurs the average seek time and rotational delay.

4.When does a bu?er manager write a page to disk?

5.When a page in the bu?er pool is modi?ed, how does the DBMS ensure that this change is propagated to the disk? (Explain the role of the bu?er manager as well as the modi?er of the page.)

Reference no: EM13509507

Questions Cloud

View of social stratification : Explain fully both the FUNCTIONALIST (Davis & Moore) view and the CONFLICT (Tumin and Simpson) view of social stratification. Which view do you think more accurately describes stratification in American society today, and why?
Common misconceptions about this developmental crisis : Discuss whether or not this a run away teens crisis follows a typical pattern or duration before reaching its resolution. Provide details. Then identify at least three recommended intervention strategies and/or appropriate clinical responses when ..
Major sociological theoretical paradigms : Identify the three major sociological theoretical paradigms. For each, what are its core questions? Which one do you relate to best? How can you use this particular paradigm to explain your decision to attend college?
How to change a tire-the federal budge : Write the name of the organizational pattern best suited to a speech on each of the following topics. In addition to listing the organizational pattern, give three main points that might be used to develop the topic.
What is the time required to read a ?le containing 100000 : What is the time required to read a ?le containing 100,000 records of 100 bytes each in a random order? To read a record, the block containing the record has to be fetched from disk. Assume that each block request incurs the average seek time and rot..
How many cylinders does the disk have : Consider a disk with a sector size of 512 bytes, 2000 tracks per surface, 50 sectors per track, ?ve double-sided platters, and average seek time of 10 msec.
Give an example of an update that is definitely slowed : The title of the ?rst record in the previous set, and the primary key of the ?rst record in the previous set.
Search for a record based on a particular field value : For each of the following queries, which of the listed index choices would you choose to speed up the query? If your database system does not consider index-only plans (i.e., data records are always retrieved even if enough information is available i..
Prepare a new contribution format segmented income statement : Prepare a new contribution format segmented income statement for the month. Adjust the allocation of equipment depreciation and warehouse rent as indicated by the additional information provided.

Reviews

Write a Review

Database Management System Questions & Answers

  Defines the semantic checks necessary to produce

The third project involves writing the semantic analyzer for the compiler that was begun in the previous projects. To simplify the semantic error checking, you are to remove the ability to have multiple functions from the grammar and the ability t..

  Number of employees at the new book sales corporation

To identify the number of employees at the New Book Sales Corporation, you view the records in the Sales Department table.

  A simple database with a single table contains data

a simple database with a single table contains data concerning rental properties in australia. the table contains five

  What is the key value of the 4th index

What is the key value of the 4th index record on the top level, assuming each index record points to the record with the highest key value in a block of the next level down?

  Design the screen with the actual values

Design the screen with the actual values. Students have to also create a data dictionary to explain what type of data is expected to display with the given input.

  Write a program to keep track of a cd or dvd collection.

write a program to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs since some of the data is different. The data will be stored ina file. The data from the file will be stored ina text file as records. Eac..

  I describe the application that you would like to design

i. describe the application that you would like to design. this should include the purpose of the application and an

  Optimistic concurrency control sets few locks on the data

Optimistic concurrency control sets few locks on the data in the database, lowering the isolation level that you use in an application. This allows more applications to run concurrently and potentially increases the throughput of the applications. Th..

  What problems could be caused by not having indexes

What problems could be caused by not having appropriate indexes and what problems could be cause by having too many indexes?

  Schema design part i the following describes what is

schema design part i the following describes what is expected in the design part of the assignment.1 dfd and er diagram

  In the response to this forum note that you have

in the response to this forum note that you have successfully installed the product and what you experienced in the

  Select suitable statistical measure to compare consistency

Select an appropriate statistical measure to compare consistency of sales. Make the calculations and write a report. In your calculations, include the mean sales for each salesperson.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd