Principles Of Distributed Database Systems Exercise | Solutions High Quality
Assign unique timestamps to transactions based on their start times ( T1cap T sub 1
: While full manuals are restricted, the authors often provide solutions to selected exercises directly on the site or through the Springer Nature publisher page to aid self-study. Core Concepts Covered in Exercises
You have a replicated data item across 5 sites (S1..S5). A quorum consensus protocol requires R readers and W writers, with R+W > N. Given failures or network partitions, determine if reads/writes succeed.
Horizontal: A relation instance is completely decomposed if each tuple belongs to at least one fragment. Assuming 'New York', 'London', and 'Tokyo' are the only valid locations, every tuple maps to a fragment. Assign unique timestamps to transactions based on their
This article provides a deep dive into key concepts and offers worked exercise solutions designed to help you master the "Principles of Distributed Database Systems." 1. Core Principles of Distributed Databases
A company, "GlobalTech," has a Projects table with attributes (ProjID, ProjName, Location, Budget) . The company has two branches: London and New York. Data should be partitioned based on location to reduce cross-site traffic.
Formulate a Vertical Fragmentation (VF) scheme assuming one application processes payroll ( EmpID , Salary ) and another manages corporate operations ( EmpID , Name , Department , Location ). This article provides a deep dive into key
Suppose we have a relation Orders with attributes Order_ID , Customer_ID , Order_Date , and Total . We want to fragment this relation into two fragments: Orders_1 and Orders_2 . We also want to allocate these fragments to two nodes: Node A and Node B.
Choosing between synchronous (strong consistency) and asynchronous (eventual consistency) replication.
The total cost of a distributed query plan is calculated as: and Total .
The Coordinator sends a PREPARE message to all participants. P1cap P sub 1 P2cap P sub 2 reply with a VOTE_COMMIT message. P3cap P sub 3
The coordinator cannot wait indefinitely for a participant response. If the timer for the VOTE_COMMIT phase expires, the coordinator defaults to a conservative strategy: It assumes a failure has occurred. It logs a [abort, T] entry locally.
We can process this query in a distributed manner as follows:
Official exercise solutions for the textbook by M. Tamer Özsu and Patrick Valduriez are primarily reserved for instructors who teach courses using the book. However, select resources and examples of specific solutions are available through academic platforms and institutional sites. Official Instructor Resources