List the pids of parts with the highest cost

Assignment Help Basic Computer Science
Reference no: EM131210534

Consider the following BCNF relation, which lists the ids, types (e.g., nuts or bolts), and costs of various parts, along with the number that are available or in stock:

1918_e7a927b0-c5c3-4864-b516-dcd8f1482e89.png

You are told that the following two queries are extremely important:

? Find the total number available by part type, for all types. (That is, the sum of the num avail value of all nuts, the sum of the num avail value of all bolts, etc.)

? List the pids of parts with the highest cost.

1. Describe the physical design that you would choose for this relation. That is, what kind of a file structure would you choose for the set of Parts records, and what indexes would you create?

2. Suppose that your customers subsequently complain that performance is still not satisfactory (given the indexes and file organization that you chose for the Parts relation in response to the previous question). Since you cannot afford to buy new hardware or software, you have to consider a schema redesign. Explain how you would try to obtain better performance by describing the schema for the relation(s) that you would use and your choice of file organizations and indexes on these relations.

3. How would your answers to the above two questions change, if at all, if your system did not support indexes with multiple-attribute search keys?

Reference no: EM131210534

Questions Cloud

Managers manipulate reported earnings : Discuss some of the reasons managers manipulate reported earnings. Explain why earnings smoothing, one form of earnings manipulation, could be justified and why ethical analysts might avoid stocks from corporations that are known to smooth earning..
What is the real after tax return : The nominal interest rate is 3 percent, but people expect prices to fall by 4 percent. What is the real interest rate?
Scenarios for stock prices : What will be the profit to an investor who buys the call for $4 in the following scenarios for stock prices in 6 months? What will be the profit in each scenario to an investor who buys the put for $6?
What is difference between microeconomics vs macroeconomics : What is the difference between Microeconomics vs. Macroeconomics? Contrast "monetary policy" from "fiscal policy". Recreate and explain the circular flow model (you may use the whiteboard)
List the pids of parts with the highest cost : How would your answers to the above two questions change, if at all, if your system did not support indexes with multiple-attribute search keys?
Good short-term financial strength : A company has $100,00 in cash, $300,000 in accounts receivable, $50,000 in inventory and a $300,000 office building. Its current liabilities are $250,000. What is the company's current ratio, and does that ratio good short-term financial strength?
What is the sustainable growth rate of output over time : Draw the long- run aggregate supply curves for successive long- run equilibriums with a potential growth rate of real GDP at 2.5 to 3.0 percent per year.
Write a client-server program : Write a client-server program. The server has the following properties: It wait for requests at port 12345. It will create a thread to serve one incoming request
Shares of common stock outstanding : Last year Biff industries had an operating profit of $4,800,000, paid $290,000 in interest expense. The applicable income tax rate for the year was 33%. The company had 415,000 shares of common stock outstanding at the end of last year. What wa..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is the expected height of the tree as a function of n

What is the expected height of the tree as a function of n?

  Does the diagram above represent a function f: x ? y

Does the diagram above represent a function f: X → Y? Explain why or why not

  Differences and similarities

Discuss those CLI editors invoked from the shell and more modern GUI text editors (not word-processing applications, but text editors). What are their differences and similarities?

  Write a subroutine that can multiply two 32-bit unsigned

The pointer to the buffer to hold the product is passed in index register X.

  Re-transmission or error correction

As you all know voice is fundamentally different from data. When a data packet is delayed, or corrupted, often the error is completely recoverable through re-transmission or error correction. What happens when a voice data packet is corrupted?

  Determine the total expenses

Kara's custom tees experienced fixed costs of $200 and variable costs of $5 a shirt. Write an equation that can be used to determine the total expenses encountered by Kara's Custom Tees.

  Resilience systems without disturbing normal businesd

With an increasingly global economy when business is open 24 / 7, how do we test the resilience of our computer systems without disturbing normal business operations?

  Set of business requirements for the problem

Define the current problem and the set of business requirements for the problem you need to solve from a local and global perspective.

  Purpose a workshop is to become familiar with the creation

The purpose of this workshop is to become familiar with the creation, search, and modification of B+-trees

  Four ring architecture of operating systems

Opinion regarding what security benefit(s) would be seen if modern operating systems followed four ring architecture.

  Differentiate best uses of active directory

Differentiate between best uses of Active Directory versus New Technology File System permissions.

  Difference between a virtual and a pure virtual function

difference between a virtual  and a pure virtual function

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