Explain how non-volatile ram can help speed up disk writes

Assignment Help Basic Computer Science
Reference no: EM131016483

1. Give brief and clear answers to the following:

(a) Explain how non-volatile RAM can help speed up disk writes

(b) Explain the main advantage(s) and disadvantage(s) of keeping the data file sorted.

(c) 17.28 parts (a) and (b)

(d) 18.3

(e) 18.7

(f) 18.8

(g) Since indexes speed up searches, why wouldn't the DBMS automatically create an index for every column of a table?

(h) Explain the main disadvantage(s) of static hashing.

(i) Briefly describe one situation in which ordered files may be better than static hashing.

(j) Explain the main advantage B-trees have over a multilevel index of the type shown in Figure 18.6.

2. In this problem, you have to calculate the number of disk accesses required in the worst case for different index organizations. The data base keeps track of different pieces of information for a student: name (25 bytes), idnumber (15 byes), gpa (10 bytes) and address (90 bytes). There are five hundred thousand students (it is a large university!). Each block can store 2000 bytes of information. A block pointer requires 10 bytes. The data file is sorted by the primary key, the student name. The idnumber is a secondary key. How many disk accesses are required if:

(a) access is through student name and there is a primary index on student name (similar to the index in Figure 18.1). You can assume that the index is small enough to be kept in RAM, and is already in RAM.

(b) access is through student name and there is a primary index on student name (similar to the index in Figure 18.1) which also has to be kept on disk.

(c) access is through student name and there is no index

(d) access is through student id and there is a secondary index on the student id (similar to the index in Figure 18.4) which also has to be kept on disk.

(e) access is through student name and there is a 2-level primary index on student name (similar to the index in Figure 18.6) in which the second level of the index is in memory, while the first level of the index is on disk. This is somewhat different from the way the Figure 18.6 index is organized in the sense that we have only 2 levels; the second level already in RAM, and the first level on the disk.

Reference no: EM131016483

Questions Cloud

What is the difference between general and cultural : What is the difference between general, cultural, and cross-cultural psychology
Write a memo outlining a policy : You will write a memo outlining a policy regarding which rental car vendors to use for the hypothetical company you work for. Support with a graph (use graphing program) and explain your reasoning.
Determine a formula that counts the numbers of nodes : Determine a formula that counts the numbers of nodes in the recursion tree. What is Big- O for execution time? Determine a formula that expresses the height of the tree. What is the Big-O for memory?
How many times will the bell be struck in two days : If clock strikes once at one o clock, twice at two o clock, and twelve times at twelve o clock, and again one at one o clock and so on. How Many times will the bell be struck in 2 days.
Explain how non-volatile ram can help speed up disk writes : Since indexes speed up searches, why wouldn't the DBMS automatically create an index for every column of a table?
Social media and marketing technology in an essay : In this assignment, you will explore social media and marketing technology in an essay. In your essay, choose a brand (or product) that relies heavily on social media or technology to market their product. Examples would be Netflix, Uber, or Coca-..
Calculate the volume of a slant cylinder : Write a set of functions that calculate the volume of a slant cylinder (actually a prism) with an irregular pentagonal cross section - Write a function named polyvol to solve this.
How enculturation may play a role in the case study : Discuss the methodology associated with cross-cultural psychology research. Discuss how the case study helps you better understand how ethnicity, race, and worldviews are separate yet related concepts. Discuss how enculturation may play a role in the..
Improving nonverbal communication in the text : Describe a time when nonverbal communication caused you to misinterpret the message in a work situation (explain the type of nonverbal cue using the information in the text). Then, using the guidelines for improving nonverbal communication in the ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe the scope and analyze how to control the scope

Describe the project including the describe the scope and analyze how to control the scope and identify possible risks, constraints, and assumptions.

  Explain the different usability data-gathering techniques

Explain the different usability data-gathering techniques

  What different computing platforms do use

What different computing platforms do you use in school , at work, and at home. In general, what platforms are best suited to which specific tasks. How is the way in which you use computers likely to change over the next few years because of chang..

  Derive the players best-response functions

Derive the players' best-response functions

  Infrastructure deployed by a company

1. Which of the following statement about the infrastructure deployed by a company is correct?

  Is this problem solvable or unsolvable prove

Assume that the network is a complete graph of n>2 participants. The termination and validity requirements are the same as explained in the class. However, the agreement requirement is weakened to say: "If any process decides 1 then there are at leas..

  Include a description of the media used for storage

imagine one real life example of each: a multi-file volume and a multi-volume file. include a description of the media used for storage and a general description of the data in the file.

  Explaining mandatory access control implementation

How are Novell AppArmor and the Red Hat "targeted" SELinux policy similar? Is either a true Mandatory Access Control implementation. If not, explain why.

  Follow-up actions for making decisions

What are the things you should consider in making this decision, and based on your choice, what would be your follow-up actions?

  Explaining problem-solving and brainstorming skills

Use problem-solving and brainstorming skills to find out a procedure to follow. Write down a one-page report outlining what to do.

  Building sdn as the prototype

SDN (software defined networks) my task is about building SDN as the prototype, thats all i know, also i know that i have to use linux, and i dont have any experience in using linux

  Describe a system project that might have three subsystems

Describe a system project that might have three subsystems.

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