Write a fragmentation schema using relational algebra

Assignment Help Computer Engineering
Reference no: EM133422795

Question: Assume that a chain of computer stores that sells computers, components, and parts uses the following global schema for a relational database that keeps information about items at each store.

Item (itemNo, itemName, supplier, unitCost)
Store(storeName, state, manager, telephone)
Stock(itemNo, storeName, qtyOnHand, reorderPoint)

The company has stores in five different states (namely, Minnesota, Illinois, California, Indiana, and Maryland).

Assume that the company stock about 15000 different items. Each item comes from only one supplier, but the same supplier can supply several items. The database keeps track of what items are in which store and the reorder point which is the number of items that is the minimum each store wishes to keep in stock. When the quantity on hand falls to the reorder point, state's manager contacts supplier to place a new order. Note that, each store serves customers in its own geographical area. Assume all this information is currently stored in a central database.

The company hired you to design a distributed database for their system hoping to make operations more efficient.

a) Assume there are 6 sites for the distributed database such that there is one site in each state and one central site. Choose a data distribution schema on the 6 sites and justify your choice (you may consider replication). Note that your schema should support efficient operation of the daily store transactions (e.g. Check the available quantity on hand for item named 'Hammer' in a store names 'XYZ').

b) Write a fragmentation schema using relational algebra. For each fragment, identify the location where it will be stored.

c) Give an instance of the data using data of your choice and show the fragmented and/or replicated database. Make sure that there are no empty fragments.

d) Do the following for each of the following queries:

(1) write the query in SQL,

(2) draw the query operator plan,

(3) perform data localization,

(4) show the query plan over fragments,

(5) find how many sites are involved to answer this query.

a. Find the total quantity of item number 1001 on hand in all stores.

b. List all suppliers who supply items that are stored in a Minnesota's store.

c. Check the available quantity on hand for item named 'Hammer' in a store names 'XYZ'

Reference no: EM133422795

Questions Cloud

How does multiculturalism still affect american society : What has been the impact of the changes that have taken place? How does multiculturalism still affect American society and how we do things?
Describe some of the character roles you assume : Describe some of the character roles you assume in your current writing. Include traits of each role that distinguish it from others
What is the opportunity cost of going skiing : Consider your decision about whether to go skiing for the weekend. Suppose that transportation, lift tickets, and accommodation for the weekend costs $350.
Can the free enterprise market driven system of capitalism : Can the free enterprise market driven system of capitalism use managerial economics to eliminate poverty in the United States?
Write a fragmentation schema using relational algebra : Write a fragmentation schema using relational algebra. For each fragment, identify the location where it will be stored
Discuss about neurological disorders : What causes migraine headache? Discuss its signs, precipitating factors, and treatment. Discuss the role of analgesic drugs.
Why might you shut down in the short- or long-run : Why might you shut down in the short- or long-run? What kinds of costs are involved in making a decision to shut down?
Describe a recent purchase that you made : Describe a recent purchase that you made. What was the opportunity cost? Applying the decision rule for consumption choices, discuss whether your purchase was
How is the process of immunosuppression : How is the Process of Immunosuppression and the Effect it has on Body Systems?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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