Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume a computer merchant with two store locations uses the following global schema for a relational database that keeps information about items at each store
Assume a computer merchant with two store locations uses the following global schema for a relational database that keeps information about items at each store Item(item#, itemName, supplier, unitCost) Store(storeName, address, manager, telephone) Stock(itemNo, store, qoh) Each of the two stores serves customers in its own geographical area, but if an item is out of stock quantity on hand qoh 0), the manager can obtain the item from another store. Each of the items comes from only one supplier, but there are different suppliers for different items The database is distributed among the two locations A and B. The Stock information is partitioned, with each store having only the records of its own items, the Store data is replicated at each location without partitioning, but the Item table is located only at the main location, which is location A. Thus we have the following allocation: Location A: Item, Store, Stock_A Location B: Store, Stock_B a. Provide the allocation schema by giving the attribute list and guard conditions for all tables/fragments (use table names given in the allocation above) Assume a computer merchant with two store locations uses the following global schema for a relational database that keeps information about items at each store Item(item#, itemName, supplier, unitCost) Store(storeName, address, manager, telephone) Stock(itemNo, store, qoh) Each of the two stores serves customers in its own geographical area, but if an item is out of stock quantity on hand qoh 0), the manager can obtain the item from another store. Each of the items comes from only one supplier, but there are different suppliers for different items The database is distributed among the two locations A and B. The Stock information is partitioned, with each store having only the records of its own items, the Store data is replicated at each location without partitioning, but the Item table is located only at the main location, which is location A. Thus we have the following allocation: Location A: Item, Store, Stock_A Location B: Store, Stock_B a. Provide the allocation schema by giving the attribute list and guard conditions for all tables/fragments (use table names given in the allocation above)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started