a) Given the following scenario for a company database system: ORDER (OrderNo, OrderQty, OrderDate, OrderStatus. Prodid{FK},...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
a) Given the following scenario for a company database system: ORDER (OrderNo, OrderQty, OrderDate, OrderStatus. Prodid{FK}, Suppld{FK}) PRODUCT (Prodld, ProdName. ProdQty) SUPPLIER (Suppld, SuppName. SuppAddress. SuppRegion. SuppAccountNo. SuppAccBal. SuppPhone) The new management of the company has decided to develop a distributed DBMS for the company database. The management has decided to fragment the Supplier table according to supplier region. The supplier region is divided into North, East and West regions. Then the management also wants to further fragment based on the supplier info and supplier account for the supplier fragment in the West region. Name a suitable fragmentation schema for the relations based on the above scenario. Show the fragmentation using SQL. (12 marks) b) Consider the following state of the log record found on disk immediately after a system crash. TIME LOG 00 T1 begin 01 T2 begin 02 Update: T1 writes P1 03 Update: T2 writes P2 04 CНECКРОINT 05 T3 begin 06 Update: T3 writes P8 07 T1 commit 08 Update: T2 writes P4 09 ТЗ commit 10 Update: T2 writes P5 11 XXX SYSTEM EAILURE XXX i. Translate the above table into a diagram that shows the concurrent executing transactions. (5 marks) i. Explain the restart work assuming the recovery manager uses the deferred update approach. (3 marks) a) Given the following scenario for a company database system: ORDER (OrderNo, OrderQty, OrderDate, OrderStatus. Prodid{FK}, Suppld{FK}) PRODUCT (Prodld, ProdName. ProdQty) SUPPLIER (Suppld, SuppName. SuppAddress. SuppRegion. SuppAccountNo. SuppAccBal. SuppPhone) The new management of the company has decided to develop a distributed DBMS for the company database. The management has decided to fragment the Supplier table according to supplier region. The supplier region is divided into North, East and West regions. Then the management also wants to further fragment based on the supplier info and supplier account for the supplier fragment in the West region. Name a suitable fragmentation schema for the relations based on the above scenario. Show the fragmentation using SQL. (12 marks) b) Consider the following state of the log record found on disk immediately after a system crash. TIME LOG 00 T1 begin 01 T2 begin 02 Update: T1 writes P1 03 Update: T2 writes P2 04 CНECКРОINT 05 T3 begin 06 Update: T3 writes P8 07 T1 commit 08 Update: T2 writes P4 09 ТЗ commit 10 Update: T2 writes P5 11 XXX SYSTEM EAILURE XXX i. Translate the above table into a diagram that shows the concurrent executing transactions. (5 marks) i. Explain the restart work assuming the recovery manager uses the deferred update approach. (3 marks)
Expert Answer:
Answer rating: 100% (QA)
a There are three different types of fragmentation 1 Vertical Fragmentation is the first typ... View the full answer
Related Book For
Principles of Auditing and Other Assurance Services
ISBN: 978-0078025617
19th edition
Authors: Ray Whittington, Kurt Pany
Posted Date:
Students also viewed these operating system questions
-
The management of Wheeler Company has decided to develop cost formulas for its major overhead activities. Wheeler uses a highly automated manufacturing process, and power costs are a significant...
-
The management of Wheeler Company has decided to develop cost formulas for its major overhead activities. Wheeler uses a highly automated manufacturing process, and power costs are a significant...
-
The management of Wheeler Company has decided to develop cost formulas for its major overhead activities. Wheeler uses a highly automated manufacturing process, and power costs are a significant...
-
Garcia Corporation has paid 60 consecutive quarterly cash dividends (15 years). The last 6 months, however, have been a cash drain on the company, as profit margins have been greatly narrowed by...
-
As stated in its annual report, Unik Computer Corporation is an information technology company, developing and marketing hardware, software, solutions, and services. The following trial balance lists...
-
Blades, Inc., has been exporting to Thailand since its decision to supplement its declining U.S. sales by exporting there. Furthermore, Blades has recently begun exporting to a retailer in the United...
-
For each of the following situations, calculate the degrees of freedom \((d f)\), identify the critical values (assume \(\mathbf{a}=.05\) [two-tailed]), calculate the standard error of the mean \(s\)...
-
Wisconsin is an important milk-producing state. Some people might argue that because of transportation costs, the cost of milk increases with the distance of markets from Wisconsin. Suppose the milk...
-
Define moral hazard. Does it apply only to consumers? If your demand for health care services is more or less elastic, will there be more or less (potential) moral hazard effect for a given...
-
Given the following production plan, use a (a) Chase production strategy (b) Level production strategy to compute the monthly production, ending inventory / (backlog) and workforce levels. A worker...
-
Crawford Coffee is considering a project with an initial cost of $53,200, and cash flows of $19,600, $22,000, $38,000, and -$13,200 for Years 1 to 4, respectively. How many internal rates of return...
-
Your dad's friend Frank has a business, Frank's Franks, which is responsible for street-corner vending of sausages, pies and soft drinks. It's a small business with an office and four vending carts...
-
Company X purchases inventory under terms FOB destination from Company Y, and the goods are still in transit. Which company includes the goods in its inventory? Why? How would your answers change if...
-
Short-term profits may be at the expense of long-term profits if consideration is not given to the environmental and social implications of that decision. a How could a decision that is profitable...
-
The following transactions are taken from the records of Phantom Security Company: a Rex Simpson, the owner, invested \(\$ 12000\) cash in the business. b Phantom paid \(\$ 6000\) cash to acquire...
-
Joe Collagen is the CEO of a small retail business that sells a skin-smoothing lotion and has been operating for several years. He keeps meticulous records of his actual operating activities,...
-
In New York State, Bob is involved in a minor car accident with Sally that is entirely Bob's fault. Bob has no injuries, but there is some damage to his vehicle. Sally has $100,000 in insurance...
-
What services are provided by the provincial and territorial governments?
-
Davis & Co., Certified Public Accountants, after completing an audit of Samson Company, decided that it would be unable to issue an unmodified opinion. What circumstances might explain this decision?
-
Differentiate between financial statement audits and operational audits.
-
State whether each of the following statements is correct or incorrect concerning audit risk and its componentsinherent risk, control risk, and detection risk. a. The risk of material misstatement is...
-
What are impediments to planning, both at the beginning of a project and throughout the project?
-
What critical elements are important to support the planning process?
-
Use the example building site plan provided as a basis to plan the layout of the site for the building example project.
Study smarter with the SolutionInn App