
Distributed Database Design
■
85
The design should include the defi nition of global schema, fragmentation schema, and allocation
schema.
29. Consider the following schemas:
Global schema: Guest (guest-id, name, block-id, room-no)
Fragment schema: GUEST1 σ
block-id “NORTH”
(Guest)
GUEST2 σ
block-id “SOUTH”
(Guest)
Allocation schema: GUEST1 at sites 1, 2 and GUEST2 at sites 3, 4.
(a) Write an application that accepts the guest-id from the terminal and outputs the name, block-id,
and the room number at levels fragment, location, and local mapping transparency.
(b) Write an application that moves a guest having guest-id 5 41 from the ...